vortexbox.org

06 Nov 08 Forum

You must be logged in to post Login Register

Search Forums:


 






squeezeboxserver "dead" – Do not know how to start – HELP please

UserPost

4:50 pm
October 8, 2009


HalfBit

Member

posts 315

Hi, 

My VortexBox Appliance is running the current version and had been working for a few days without any problem or change.  Now, when I  access the home VortexBox screen, all the icons on the left side function, except the main one, which I believe is the squeezeboxserver (URL http://192.168.0.170 on my system).  I receive

Internet Explorer cannot display the webpage

I used the SSH interface to poke around for status and found the information below.  It indicates that squeezeboxserver is dead.  I tried to start it, and received more diagnostics, also below.

The session log below shows things I think are problems, but I have no idea what to do next.  I emboldened the areas I think are important.

I have tried power cycle at the VBA, Restart SC, Power Down, & Reboot on the System Configuration screen.  There has been no change and I cannot play music.

Please advise me what to do next.

#####

login as: root

root@vortexbox's password:

Last login: Thu Oct  8 13:34:48 2009 from 192.168.0.7

[vortexbox.localdomain ~]# service –status-all

acpid (pid  1063) is running…

atalkd (pid 1609) is running…

atd (pid  1652) is running…

auditd is stopped

Avahi daemon is running

cpuspeed is stopped

crond (pid  1594) is running…

cupsd is stopped

dnsmasq is stopped

hald (pid 1071) is running…

httpd (pid  1575) is running…

ip6tables: Firewall is not running.

Table: filter

Chain INPUT (policy ACCEPT)

num  target     prot opt source               destination

 

Chain FORWARD (policy ACCEPT)

num  target     prot opt source               destination

 

Chain OUTPUT (policy ACCEPT)

num  target     prot opt source               destination

 

irattach is stopped

irqbalance is stopped

mdadm is stopped

dbus-daemon (pid 1032) is running…

mt-daapd (pid  1661) is running…

multipathd is stopped

mysqld (pid 1465) is running…

netconsole module not loaded

netplugd is stopped

Configured devices:

lo eth0

Currently active devices:

lo eth0

NetworkManager (pid  1207) is running…

rpc.mountd (pid 1335) is running…

nfsd (pid 1332 1331 1330 1329 1328 1327 1326 1325) is running…

rpc.rquotad (pid 1320) is running…

rpc.statd (pid  1224) is running…

nmbd (pid  1630) is running…

nscd is stopped

ntpd (pid  1289) is running…

pcscd is stopped

portreserve (pid  959) is running…

master is stopped

Process accounting is disabled.

rdisc is stopped

rpcbind (pid 987) is running…

rpc.idmapd (pid 1259) is running…

rsyslogd (pid 966) is running…

saslauthd is stopped

smartd is stopped

smbd (pid  1640) is running…

squeezeboxserver dead but subsys locked

squeezeslave ( pid  1758   ) is running…

openssh-daemon (pid  1273) is running…

ushare (pid 1700) is running…

vortexbox (pid 1780) is running…

Usage: vortexbox-firstboot {start}

winbindd is stopped

wpa_supplicant (pid 1211) is running…

xinetd (pid  1281) is running…

ypbind is stopped

[vortexbox.localdomain ~]#

 # # # # # # # 

[vortexbox.localdomain ~]# service squeezeboxserver start

Starting Squeezebox Server: [09-10-08 14:27:25.1443] main::init (320) Starting Squeezebox Server (v7.4.0, r28672, Mon Sep 28 17:49:55 PDT 2009) perl 5.010000

[09-10-08 14:27:25.3455] Slim::Schema::Storage::throw_exception (82) Error: DBI Connection failed: DBI connect('hostname=127.0.0.1;port=9092;database=slimserver','slimserver',…) failed: Can't connect to MySQL server on '127.0.0.1' (111) at /usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 950

[09-10-08 14:27:25.3479] Slim::Schema::Storage::throw_exception (82) Backtrace:

 

   frame 0: Slim::Utils::Log::logBacktrace (/usr/lib/perl5/vendor_perl/Slim/Schema/Storage.pm line 82)

   frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 972)

   frame 2: DBIx::Class::Storage::DBI::_connect (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 814)

   frame 3: DBIx::Class::Storage::DBI::_populate_dbh (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 753)

   frame 4: DBIx::Class::Storage::DBI::ensure_connected (/usr/lib/perl5/vendor_perl/Slim/Schema/Storage.pm line 41)

   frame 5: (eval) (/usr/lib/perl5/vendor_perl/Slim/Schema/Storage.pm line 41)

   frame 6: Slim::Schema::Storage::dbh (/usr/lib/perl5/vendor_perl/Slim/Schema.pm line 291)

   frame 7: Slim::Schema::_connect (/usr/lib/perl5/vendor_perl/Slim/Schema.pm line 127)

   frame 8: Slim::Schema::init (/usr/lib/perl5/vendor_perl/Slim/Music/Import.pm line 740)

   frame 9: Slim::Music::Import::_checkLibraryStatus (/usr/lib/perl5/vendor_perl/Slim/Music/Import.pm line 673)

   frame 10: Slim::Music::Import::useImporter (/usr/lib/perl5/vendor_perl/Slim/Music/MusicFolderScan.pm line 48)

   frame 11: Slim::Music::MusicFolderScan::init (/usr/lib/perl5/vendor_perl/Slim/Utils/Prefs.pm line 696)

   frame 12: Slim::Utils::Prefs::__ANON__ (/usr/lib/perl5/vendor_perl/Slim/Utils/Prefs/Base.pm line 303)

   frame 13: Slim::Utils::Prefs::Base::set (/usr/libexec/squeezeboxserver line 838)

   frame 14: main::initSettings (/usr/libexec/squeezeboxserver line 332)

   frame 15: main::init (/usr/libexec/squeezeboxserver line 572)

   frame 16: main::main (/usr/libexec/squeezeboxserver line 1103)

 

[09-10-08 14:27:25.3544] Slim::Schema::init (130) Error: Couldn't connect to database! Fatal error: [] Exiting!

[09-10-08 14:27:25.3564] Slim::Schema::init (130) Backtrace:

 

   frame 0: Slim::Utils::Log::logBacktrace (/usr/lib/perl5/vendor_perl/Slim/Schema.pm line 130)

   frame 1: Slim::Schema::init (/usr/lib/perl5/vendor_perl/Slim/Music/Import.pm line 740)

   frame 2: Slim::Music::Import::_checkLibraryStatus (/usr/lib/perl5/vendor_perl/Slim/Music/Import.pm line 673)

   frame 3: Slim::Music::Import::useImporter (/usr/lib/perl5/vendor_perl/Slim/Music/MusicFolderScan.pm line 48)

   frame 4: Slim::Music::MusicFolderScan::init (/usr/lib/perl5/vendor_perl/Slim/Utils/Prefs.pm line 696)

   frame 5: Slim::Utils::Prefs::__ANON__ (/usr/lib/perl5/vendor_perl/Slim/Utils/Prefs/Base.pm line 303)

   frame 6: Slim::Utils::Prefs::Base::set (/usr/libexec/squeezeboxserver line 838)

   frame 7: main::initSettings (/usr/libexec/squeezeboxserver line 332)

   frame 8: main::init (/usr/libexec/squeezeboxserver line 572)

   frame 9: main::main (/usr/libexec/squeezeboxserver line 1103)

 

                                                           [  OK  ]

[vortexbox.localdomain ~]#

6:42 pm
October 8, 2009


Andrew

Admin

posts 1624

Post edited 11:43 pm – October 8, 2009 by Andrew


Looks like Squeezebox Server can't connect to ist's database. Have you made any changes to your appliance?

You could try reinstalling Squeezebox Server


rpm -del –nodeps squeezeboxserver

yum install squeezeboxserver


NOTE: it may be a little hard to read. That's <double dash>nodeps

8:04 pm
October 8, 2009


HalfBit

Member

posts 315

Andrew,

Thanks for the quick response.  No, I made no change to the Appliance after upgrading to 0.9 exactly per your instructions.  The VBA worked perfectly for a few days after that upgrade.  The only thing I can think of is that we had a power fail day before yesterday, but it worked fine after that.

I will cut and paste your recommended commands and report the results.  (noticed that the paste was not double dash, but dot, and fixed that.

I got:
warning: /var/lib/squeezeboxserver/prefs/server.prefs saved as /var/lib/squeezeboxserver/prefs/server.prefs.rpmsave

Is that OK?

It's downloading 26 MB (very slowly – 38 kB/s)

I tried Squeezebox server, and it responded:

Please sign in with your mysqueezebox.com email and password to continue.

I had not been required to do that on the upgrade, but complied, and there was no response.


8:30 pm
October 8, 2009


HalfBit

Member

posts 315

Update:

I suspect that the rpm -del –nodeps squeezeboxserver command was to save parameters and that I need a command to restore those.  If that's not the problem, I am stalled. 

The service –status-all command now shows that squeezebox server is running, so the install of squeezeboxserver made a difference.

I still cannot play music.

12:19 am
October 9, 2009


Andrew

Admin

posts 1624

It sounds like Squeezebox server is running. What happens when you select music and play?

9:57 am
October 9, 2009


HalfBit

Member

posts 315

Hi Andrew,

When I click the speaker icon with the URL http://192.168.0.170:9000/ , after a minute or so, the system responds, "Internet Explorer cannot display the webpage."

All the other icons appear to operate normally.

service –status-all yields "squeezeboxserver (pid 3569) is running…"

I cannot select music or play it.

Was the warning I got when I issued rpm -del –nodeps squeezeboxserver,

"warning: /var/lib/squeezeboxserver/prefs/server.prefs saved as /var/lib/squeezeboxserver/prefs/server.prefs.rpmsave"

significant?  Since the warning implies that preferences were saved, were those automatically restored or should I issue some command to restore them?  If I need to issue a command, what would that be?

Thanks,
HalfBit   Confused

11:30 am
October 9, 2009


HalfBit

Member

posts 315

Post edited 4:31 pm – October 9, 2009 by HalfBit
Post edited 4:35 pm – October 9, 2009 by HalfBit
Post edited 4:36 pm – October 9, 2009 by HalfBit
Post edited 4:37 pm – October 9, 2009 by HalfBit


Hello Andrew,

The VBA remains unable to select or play music.  I have a couple of other things I noticed that may be useful to you or others in diagnosing the problem.

I looked at RPM – -HELP  in an attempt to understand your intent with the rpm -del - -nodeps squeezeboxserver command.  There is no "-del" option listed in that help file, although there is a – -delsign option (delete package signatures).
Is the - -del option as intended, and if so, what is its function or where is documentation available?
Does the -del option also require two leading dashes? 

BTW, the double dashes are not just hard to read, they are not present in the command you posted.  I have used dash-space-dash here in an attempt to defeat whatever is merging the two dashes into one.  There is a long dash character used in printing, the m-dash, I believe.  Many word processing programs convert multiple sequential dashes into one m-dash, and that may be what's happening here.  There may be a control to suppress that conversion for a forum like VortexBox, where accuracy is mandatory.  I don't know how dash-space-dash will display when this is saved.  Nevertheless, I suggest that some mechanism is required to allow us linux-noobs to copy and paste commands you want us to issue with perfect accuracy. 

Unrelated, but while the bullet and numbering format options display during message creation, they are not displayed in the posted message.  I have tried using both formats here, and have used the edit post to verify them, but neither option displays with this posted message.

Thanks,
HalfBit

12:07 pm
October 9, 2009


Andrew

Admin

posts 1624

Post edited 5:16 pm – October 9, 2009 by Andrew
Post edited 5:17 pm – October 9, 2009 by Andrew
Post edited 5:18 pm – October 9, 2009 by Andrew


OK, I think if fixed the double dash thing once and for all. I had to edit some of the workpress code. What a pain. As with many linux commands rpm has been developed by many people over a long period. There any many un-documented command line switches. At some point they decided to replace -del for delete with -e for erase. It does exactally the same thing and both command are accepted. So I guess the proper command if you follow the help file would be.


rpm -e –nodeps squeeseboxserver

12:28 pm
October 9, 2009


HalfBit

Member

posts 315

Andrew, OK, thanks for the clarification and fixing the dash vs. m-dash problem.  I take it that although "-del" has been replaced with "-e", "-del" continues to be honored.  I get it.

The VBA remains unable to select or play music.  The basic problem remains unresolved. 

Was the warning I got when I issued rpm -del –nodeps squeezeboxserver,

"warning: /var/lib/squeezeboxserver/prefs/server.prefs saved as /var/lib/squeezeboxserver/prefs/server.prefs.rpmsave"

significant? 

  1. Were those preferences automatically restored?
  2. Alternately should I issue some command to restore them? 
  3. If I need to issue a command, what would that command be?

Thanks,
HalfBit  

12:38 pm
October 9, 2009


Andrew

Admin

posts 1624

Post edited 5:45 pm – October 9, 2009 by Andrew


Yeah, this whole upgrade thing is a pain. It's to bad Squeezebox Server can't get the files it needs from the old SqueezeCenter.

I still don't understand your problem. When you say "select or play music" what happens when you go to your album list? is there any music there?

Is your music folder still /storage/music/flac ?


12:51 pm
October 9, 2009


HalfBit

Member

posts 315

When I issue:

cp /etc/squeezecenter/server.conf /etc/squeezeboxserver/

I get:
cp: cannot stat `/etc/squeezecenter/server.conf': No such file or directory

I notice that the directory where you had me issue the initial RPM command was:

/var/lib/squeezeboxserver/prefs/

Is that a problem?

Anyway, I did the commands and am stopped at the No such file or directory

1:07 pm
October 9, 2009


HalfBit

Member

posts 315

Andrew said:

Post edited 12:45 pm – October 9, 2009 by Andrew


Yeah, this whole upgrade thing is a pain. It's to bad Squeezebox Server can't get the files it needs from the old SqueezeCenter.

I still don't understand your problem. When you say "select or play music" what happens when you go to your album list? is there any music there?

Is your music folder still /storage/music/flac ?



Whoops!  I issued the commands you posted BEFORE you edited the post removing those commands.  As I posted, the second command failed.

To restate the problem:

When I click the speaker icon with the URL http://192.168.0.170:9000/  the system responds, "Internet Explorer cannot display the webpage."

I cannot get to the album list.  That SqueezeBoxServer page is not displayed at all.

From Windows Explorer, I cannot see \\VORTEXBOX\storage\music\flac 

From Windows Explorer I see: \\VORTEXBOX\files\music\flac 

There are also MP3s in the …\music\mp3 directory

Music was accessible and working with this directory structure.

All the other VortexBox home-page icons appear to operate normally.

10:37 pm
October 9, 2009


Andrew

Admin

posts 1624

Not really sure what to do now. Squeezebox Server is started but the web display is not. I have never seen this before so I don't really know what to do. A full reinstall from the VortexBox ISO would resolve the problem. But you would have to back up and restore your music which would take a while.


Maybe the guys in the SqueezeBox forum could help.


4:20 pm
October 9, 2009


HalfBit

Member

posts 315

This is really depressing.

I have lots of time in this already. The ISO and restore from backup takes two days.  I want to be able to follow instructions and keep the VortexBox up to date without spending so much time on maintenance and restarting from scratch.  I have over 30-years in IT, and am now retired and want to use the Appliance to listen to music.  I did not buy the Appliance to spend my time learning yet another OS.  I don't want to return the Appliance as I have a significant investment in related compatible audio and network gear.

I am certain that the key to the problem is correctable without starting from scratch again.  You did not respond to many of the apparent anomalies that I pointed out.  Will you consider if those are significant, and answer each question I posed.  Please suggest some other action I can take.

The SqueezeBox folks did not produce the update commands and cannot be expected to understand VortexBox.  It seems to me that this is your responsibility Andrew.

HalfBit

4:59 pm
October 9, 2009


pufnstuf

Member

posts 14

Post edited 9:59 pm – October 9, 2009 by pufnstuf
Post edited 10:03 pm – October 9, 2009 by pufnstuf


Was the warning I got when I issued rpm -del –nodeps squeezeboxserver,

"warning: /var/lib/squeezeboxserver/prefs/server.prefs saved as /var/lib/squeezeboxserver/prefs/server.prefs.rpmsave"

significant? 

  1. Were those preferences automatically restored?
  2. Alternately should I issue some command to restore them? 
  3. If I need to issue a command, what would that command be?


Hi HalfBit


The message you received is just to let you know that your settings were backed up and renamed to "server.prefs.rpmsave"


To restore them you can issue the following command:

cp /var/lib/squeezeboxserver/prefs/server.prefs.rpmsave /var/lib/squeezeboxserver/prefs/server.prefs


(Command above should be typed on a single line)

6:07 pm
October 9, 2009


HalfBit

Member

posts 315

Pufnstuf,

Thanks for the input.  Unfortunately Andrew had given me other commands in his 12:38 post, and while I was doing those, he removed the commands at 12:45.  His commands were:

cp /etc/squeezecenter/custom-convert.conf /etc/squeezeboxserver/
cp /etc/squeezecenter/server.conf /etc/squeezeboxserver/
reboot

The second cp failed, and I let him know.  Additionally I noted the difference in directories between the RPM command and those in the commands above.  I have received no response regarding the failure or the differences.  I don't want to be making additional changes while the obvious failure remains.  I'm hoping Andrew may find time to look into the general difficulty of performing VortexBox updates and this particular problem.  Rather than just rebuild from scratch, I think it would be worthwhile finding the source of this failure so that future instances could be minimized for all VortexBox users.

 I understand and greatly appreciate your help.

Best regards,
HalfBit

7:11 pm
October 9, 2009


pufnstuf

Member

posts 14

 Andrew had given me other commands in his 12:38 post, and while I was doing those, he removed the commands at 12:45.  His commands were:


ok my apologies I didn't see those commands. I understand your frustration, I love playing my music all the time and when things break it is not much fun. Frown

Have you been able to find "server.conf" anywhere on your system?

I'm happy to help compare the locations of the files on my system with yours if that would help… just let me know.

Good luck!

pufnstuf

7:56 pm
October 9, 2009


HalfBit

Member

posts 315

Thanks,

I found a command, locate.  I did locate server.conf and it reported

/etc/squeezeboxserver/server.conf

I went to that directory and did a cat server.conf

That yielded a listing of which the first part was lost off the screen.  I'd like to look for strange stuff in that file, and will look for a method to capture and print the entire server.conf file.

I'd prefer for Andrew to do this for the benefit of the community.

10:42 pm
October 9, 2009


pufnstuf

Member

posts 14

Post edited 3:43 am – October 10, 2009 by pufnstuf


Hi HalfBit

You can use nano which is a great little text editor that is installed on your VB.

just type:

nano /etc/squeezeboxserver/server.conf

Once nano is running you can scroll up and down to see all of your server.conf file. The keyboard commands for nano are displayed at the bottom of the app when it is running.

You can quit nano without saving the server.conf file to ensure you don't make any changes by mistake. Laugh

12:39 am
October 10, 2009


HalfBit

Member

posts 315

Hi pufnstuf,

Thanks for the tip.  I will do that.  If I see anything that looks odd, I'll post here and hope for help. 

##########

Hi Andrew,

You have been on and not responded.  Do you have an interest in finding the source of this problem while the system is non-functional, as your commands left it?  The data is there now for investigation, and once the ISO is installed it will be lost.  Please let us know.

I have a v0.9 ISO downloaded on 5 October 2009.  Is that v0.9 ISO current now, or do I need to re-download the v0.9 ISO that's on your site now to get the current version?

If your customers should just start from scratch whenever an update problem or failure becomes difficult, we will understand.

I need to get the system working again soon.  The CFO wonders why we have all that time and money invested and no tunes.

HalfBit Cry


About the vortexbox.org forum

Most Users Ever Online:

34


Currently Online:

13 Guests

Forum Stats:

Groups: 1

Forums: 4

Topics: 1337

Posts: 7526

Membership:

There are 772 Members

There has been 1 Guest

There is 1 Admin

There are 0 Moderators

Top Posters:

Ron Olsen – 651

HalfBit – 315

jistirling – 226

socistep – 187

JimG – 142

wizardofoz – 133

Administrators: Andrew (1624 Posts)




Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • PDF
  • Propeller
  • Technorati
  • Twitter