Page 1 of 3

Ingen kontakt med Squeezebox server

Posted: 01 Jan 2011, 14:21
by ulvaren
Hello

Is suddenly run into problems getting in touch with Squeecebox server 7.51 with B3: 9000th
Has anybody an idea what I should do.

Re: Ingen kontakt med Squeezebox server

Posted: 01 Jan 2011, 14:59
by Ubi
what you should do is give more details. How could anyone possibly be able to help you without be psychic?

Re: Ingen kontakt med Squeezebox server

Posted: 02 Jan 2011, 04:21
by ulvaren
Hi

I can see the server running, it is WEB interfacert I can not call ahead.
The problem arose after a scan for new music files.
When I try to call the WEB page B3: 9000 writes Explorer performed but the page does not appear
:?:

Re: Ingen kontakt med Squeezebox server

Posted: 02 Jan 2011, 05:21
by Ubi
how long did you wait for it to appear? If you added lots of new files, it could be that the program is still working on the indexes.

Re: Ingen kontakt med Squeezebox server

Posted: 02 Jan 2011, 05:42
by ulvaren
Yesterday at. 17 and 6 CD.
It's still the same with WEB interface.

Re: Ingen kontakt med Squeezebox server

Posted: 02 Jan 2011, 06:03
by Ubi
odd. Normally I'd check into the shell of the machine to see what it's doing and what the load is. Do you know how to do this?

Re: Ingen kontakt med Squeezebox server

Posted: 02 Jan 2011, 06:23
by ulvaren
Hi
It is before the B3 I should use Shell, not much known yet.
I have a Dreambox, with FTP you could work with all of here.
If you can describe, I had to look for and how do I find out.

Re: Ingen kontakt med Squeezebox server

Posted: 04 Jan 2011, 03:10
by ulvaren
Hi Ubi

I still need help, I've now set myself a little shell.
Where / what must i check?
In daemon.log I can see the Squeezebox scan a files.

Re: Ingen kontakt med Squeezebox server

Posted: 04 Jan 2011, 06:27
by Ubi
have a look trough these helpfiles
http://wiki.excito.org/wiki/index.php/T ... nd_How-tos

then log into bubba and type

Code: Select all

top

Re: Ingen kontakt med Squeezebox server

Posted: 04 Jan 2011, 10:48
by ulvaren
I hope thes can help.
top - 16:46:37 up 21:31, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 103 total, 1 running, 102 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 1.0%sy, 0.0%ni, 99.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 515308k total, 477960k used, 37348k free, 50240k buffers
Swap: 1048572k total, 0k used, 1048572k free, 283028k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
8232 root 20 0 2720 1212 940 R 0.7 0.2 0:00.50 top
1165 root 20 0 47428 3092 2356 S 0.3 0.6 0:16.08 ftd
1345 mysql 20 0 135m 24m 4760 S 0.3 4.8 2:38.10 mysqld
1491 root 20 0 4352 784 532 S 0.3 0.2 0:05.08 dovecot
8208 ulvaren 20 0 9144 1584 1064 S 0.3 0.3 0:00.09 sshd
1 root 20 0 2068 700 608 S 0.0 0.1 0:01.87 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/0
4 root 20 0 0 0 0 S 0.0 0.0 0:01.20 events/0
5 root 20 0 0 0 0 S 0.0 0.0 0:00.01 khelper
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 async/mgr
9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pm
126 root 20 0 0 0 0 S 0.0 0.0 0:00.38 sync_supers
128 root 20 0 0 0 0 S 0.0 0.0 0:00.34 bdi-default
130 root 20 0 0 0 0 S 0.0 0.0 0:00.96 kblockd/0
136 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ata_aux
137 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ata_sff/0
145 root 20 0 0 0 0 S 0.0 0.0 0:00.01 khubd
152 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kslowd000
153 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kslowd001
166 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rpciod/0
176 root 20 0 0 0 0 S 0.0 0.0 0:01.56 kswapd0
224 root 20 0 0 0 0 S 0.0 0.0 0:00.00 aio/0
233 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nfsiod
239 root 20 0 0 0 0 S 0.0 0.0 0:00.00 crypto/0
339 root 20 0 0 0 0 S 0.0 0.0 0:00.02 scsi_eh_0
343 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
354 root 20 0 0 0 0 S 0.0 0.0 0:00.03 orion_spi
359 root 20 0 0 0 0 S 0.0 0.0 0:00.00 mtdblock0
364 root 20 0 0 0 0 S 0.0 0.0 0:00.00 mtdblock1
369 root 20 0 0 0 0 S 0.0 0.0 0:00.00 mtdblock2
410 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kstriped
428 root 20 0 0 0 0 S 0.0 0.0 0:00.00 usbhid_resumer
452 root 20 0 0 0 0 S 0.0 0.0 0:01.42 kjournald
494 root 16 -4 2356 832 496 S 0.0 0.2 0:00.10 udevd
536 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cfg80211
561 root 20 0 0 0 0 S 0.0 0.0 0:00.00 mv_crypto
573 root 18 -2 2352 820 480 S 0.0 0.2 0:00.05 udevd
580 root 18 -2 2352 756 424 S 0.0 0.1 0:00.00 udevd
625 root 20 0 0 0 0 S 0.0 0.0 0:00.00 phy0
691 root 20 0 0 0 0 S 0.0 0.0 0:00.86 flush-8:0
741 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdmflush
824 root 20 0 0 0 0 S 0.0 0.0 0:00.08 kjournald
980 root 20 0 58208 5256 3204 S 0.0 1.0 0:00.13 php5-cgi
983 root 20 0 27532 1424 1012 S 0.0 0.3 0:02.21 rsyslogd
992 root 20 0 1512 336 284 S 0.0 0.1 0:00.00 startpar
1037 root 20 0 68452 16m 7768 S 0.0 3.3 2:51.20 php5-cgi
1038 root 20 0 65496 12m 6624 S 0.0 2.5 2:50.55 php5-cgi
1042 root 20 0 63344 8632 4792 S 0.0 1.7 0:05.32 apache2
1044 www-data 20 0 21056 2752 528 S 0.0 0.5 0:00.01 apache2
1054 root 20 0 2468 880 704 S 0.0 0.2 0:00.43 cron
1066 messageb 20 0 2828 816 624 S 0.0 0.2 0:00.01 dbus-daemon
1078 avahi 20 0 3364 1456 1164 S 0.0 0.3 0:01.97 avahi-daemon
1079 avahi 20 0 3232 496 300 S 0.0 0.1 0:00.00 avahi-daemon
1112 root 20 0 7780 2208 1680 S 0.0 0.4 0:00.07 cupsd
1143 root 20 0 1700 484 416 S 0.0 0.1 0:04.19 ifplugd
1151 root 20 0 1700 488 420 S 0.0 0.1 0:04.20 ifplugd
1156 root 20 0 2420 368 260 S 0.0 0.1 0:00.02 mdadm
1170 www-data 20 0 64036 5732 1432 S 0.0 1.1 0:01.08 apache2
1171 www-data 20 0 64036 5864 1564 S 0.0 1.1 0:00.60 apache2
1172 www-data 20 0 64052 5896 1568 S 0.0 1.1 0:03.84 apache2
1173 www-data 20 0 63884 5692 1428 S 0.0 1.1 0:02.51 apache2
1174 www-data 20 0 64036 5876 1568 S 0.0 1.1 0:01.20 apache2
1176 www-data 20 0 47280 4496 1824 S 0.0 0.9 1:27.74 mt-daapd

Re: Ingen kontakt med Squeezebox server

Posted: 04 Jan 2011, 13:10
by Ubi

Code: Select all

top - 16:46:37 up 21:31,  1 user,  load average: 0.00, 0.00, 0.00
Tasks: 103 total,   1 running, 102 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  1.0%sy,  0.0%ni, 99.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:    515308k total,   477960k used,    37348k free,    50240k buffers
Swap:  1048572k total,        0k used,  1048572k free,   283028k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 8232 root      20   0  2720 1212  940 R  0.7  0.2   0:00.50 top
 1165 root      20   0 47428 3092 2356 S  0.3  0.6   0:16.08 ftd
 1345 mysql     20   0  135m  24m 4760 S  0.3  4.8   2:38.10 mysqld
 1491 root      20   0  4352  784  532 S  0.3  0.2   0:05.08 dovecot
 8208 ulvaren   20   0  9144 1584 1064 S  0.3  0.3   0:00.09 sshd
Well... yes and no. As you can see the load is 0, meaning the system is not waiting for anything to finish. MySQL is a bit on busy though, but shouldn't be the reason why you don't see anything. So everything seems fine afaik.... which doesn't really help you at all.

Re: Ingen kontakt med Squeezebox server

Posted: 04 Jan 2011, 15:01
by Cheeseboy
Have you tried the dirty quick-fix, just restarting it?
As root:

Code: Select all

# /etc/init.d/squeezecenter restart

Re: Ingen kontakt med Squeezebox server

Posted: 04 Jan 2011, 15:19
by ulvaren
Hi

I've tried several times, Squeeze server is running. It is the only Web interface does not. :|

Re: Ingen kontakt med Squeezebox server

Posted: 04 Jan 2011, 15:31
by Cheeseboy
Have a look at what is listening on port 9000:

Code: Select all

# netstat -anp | grep 9000
Example result:

Code: Select all

tcp        0      0 0.0.0.0:9000            0.0.0.0:*               LISTEN      16903/perl
Is it squeezecenter that is listening on port 9000?
(exchange 16903 for the PID you got in the result above)

Code: Select all

# ps -p 16903
Should look like this:

Code: Select all

16903 ?        00:00:20 squeezecenter-s
Finally (or perhaps first), look at the file
/var/log/squeezecenter/server.log

Any errors in there might help you find out what is going on.

Re: Ingen kontakt med Squeezebox server

Posted: 04 Jan 2011, 16:10
by ulvaren
Hi
Hope this says little

# netstat -anp | grep 9000
tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 3136/perl

# ps -p 16903
PID TTY TIME CMD

# ps -p 3136
3136 ? 00:00:21 squeezecenter-s

2011-01-03 06:25:03 squeezecenter_safe started.
2011-01-03 06:25:08 squeezecenter_safe stopped.
2011-01-03 06:25:08 squeezecenter_safe started.
[11-01-03 06:25:21.4651] main::init (323) Starting Squeezebox Server (v7.5.1, rTRUNK, UNKNOWN) perl 5.010001
[11-01-03 06:25:32.7981] Slim::Networking::IO::Select::__ANON__ (146) Error: Select task failed calling Slim::Networking::Slimproto::client_readable: Cannot decode string with wide characters at /usr/lib/perl/5.10/Encode.pm line 174, <$$
; fh=IO::Socket::INET=GLOB(0xd26cd8)
[11-01-03 06:25:33.4805] Slim::Networking::Slimproto::client_readable (412) Client not found for slimproto msg op: STAT from 192.168.1.149
[11-01-03 16:46:35.2536] Slim::Utils::Misc::msg (1165) Warning: [16:46:35.2512] Use of uninitialized value $compiled in concatenation (.) or string at /usr/share/squeezecenter/lib/Template/Provider.pm line 604.
[11-01-03 16:46:35.2568] Slim::Utils::Misc::msg (1165) Warning: [16:46:35.2547] Argument "compiled template : /var/lib/squeezecenter/cache/templat..." isn't numeric in numeric eq (==) at /usr/lib/perl5/Template/Context.pm line 142.
[11-01-03 16:46:35.2604] Slim::Web::Template::SkinManager::_fillTemplate (266) Error: file error - /usr/share/squeezecenter/HTML/EN/include.html: not found
[11-01-03 16:46:35.2701] Slim::Utils::Misc::msg (1165) Warning: [16:46:35.2679] Use of uninitialized value $compiled in concatenation (.) or string at /usr/share/squeezecenter/lib/Template/Provider.pm line 604.
[11-01-03 16:46:35.2733] Slim::Utils::Misc::msg (1165) Warning: [16:46:35.2712] Argument "compiled template : /var/lib/squeezecenter/cache/templat..." isn't numeric in numeric eq (==) at /usr/lib/perl5/Template/Context.pm line 142.
[11-01-03 16:46:35.2764] Slim::Web::Template::SkinManager::_fillTemplate (266) Error: file error - /usr/share/squeezecenter/HTML/EN/homeplayer_list.html: not found
[11-01-03 16:46:35.3440] Slim::Schema::Storage::throw_exception (82) Error: DBI Exception: DBD::mysql::st execute failed: MySQL server has gone away [for Statement "SELECT me.name, me.value FROM metainformation me WHERE ( name = ? )" wi$
[11-01-03 16:46:35.3488] Slim::Schema::Storage::throw_exception (82) Backtrace:

frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema/Storage.pm line 82)
frame 1: Slim::Schema::Storage::throw_exception (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 957)
frame 2: DBIx::Class::Storage::DBI::__ANON__ (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1217)
frame 3: DBIx::Class::Storage::DBI::_dbh_execute (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 547)
frame 4: (eval) (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 540)
frame 5: DBIx::Class::Storage::DBI::dbh_do (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1227)
frame 6: DBIx::Class::Storage::DBI::_execute (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1451)
frame 7: DBIx::Class::Storage::DBI::_select (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1905)
frame 8: DBIx::Class::Storage::DBI::select_single (/usr/share/perl5/DBIx/Class/ResultSet.pm line 740)
frame 9: DBIx::Class::ResultSet::single (/usr/share/perl5/Slim/Schema.pm line 514)
frame 10: Slim::Schema::single (/usr/share/perl5/Slim/Music/Import.pm line 729)
frame 11: Slim::Music::Import::stillScanning (/usr/share/perl5/Slim/Web/Pages/Common.pm line 60)
frame 12: Slim::Web::Pages::Common::addLibraryStats (/usr/share/perl5/Slim/Web/Pages/Home.pm line 221)
frame 13: Slim::Web::Pages::Home::home (/usr/share/perl5/Slim/Web/Pages/Home.pm line 29)
frame 14: Slim::Web::Pages::Home::__ANON__ (/usr/share/perl5/Slim/Web/HTTP.pm line 1097)
frame 15: Slim::Web::HTTP::generateHTTPResponse (/usr/share/perl5/Slim/Web/HTTP.pm line 924)
frame 16: Slim::Web::HTTP::processURL (/usr/share/perl5/Slim/Web/HTTP.pm line 735)
frame 17: Slim::Web::HTTP::processHTTP (/usr/share/perl5/Slim/Networking/IO/Select.pm line 139)
frame 18: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
frame 19: Slim::Networking::IO::Select::__ANON__ (/usr/share/perl5/Slim/Networking/IO/Select.pm line 183)
frame 20: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 183)
frame 21: Slim::Networking::IO::Select::loop (/usr/sbin/squeezecenter-server line 626)
frame 22: main::idle (/usr/sbin/squeezecenter-server line 580)
frame 23: main::main (/usr/sbin/squeezecenter-server line 1072)

[11-01-03 16:46:35.3687] Slim::Utils::Misc::msg (1165) Warning: [16:46:35.3663] Use of uninitialized value $compiled in concatenation (.) or string at /usr/share/squeezecenter/lib/Template/Provider.pm line 604.
[11-01-03 16:46:35.3719] Slim::Utils::Misc::msg (1165) Warning: [16:46:35.3698] Argument "compiled template : /var/lib/squeezecenter/cache/templat..." isn't numeric in numeric eq (==) at /usr/lib/perl5/Template/Context.pm line 142.
[11-01-03 16:46:35.3750] Slim::Web::Template::SkinManager::_fillTemplate (266) Error: file error - /usr/share/squeezecenter/HTML/Default/index.html: not found
[11-01-03 16:54:18.0674] Slim::Utils::Misc::msg (1165) Warning: [16:54:18.0649] Use of uninitialized value $compiled in concatenation (.) or string at /usr/share/squeezecenter/lib/Template/Provider.pm line 604.
[11-01-03 16:54:18.0707] Slim::Utils::Misc::msg (1165) Warning: [16:54:18.0686] Argument "compiled template : /var/lib/squeezecenter/cache/templat..." isn't numeric in numeric eq (==) at /usr/lib/perl5/Template/Context.pm line 142.
[11-01-03 16:54:18.0738] Slim::Web::Template::SkinManager::_fillTemplate (266) Error: file error - /usr/share/squeezecenter/HTML/EN/include.html: not found
[11-01-03 16:54:18.0838] Slim::Utils::Misc::msg (1165) Warning: [16:54:18.0816] Use of uninitialized value $compiled in concatenation (.) or string at /usr/share/squeezecenter/lib/Template/Provider.pm line 604.
[11-01-03 16:54:18.0870] Slim::Utils::Misc::msg (1165) Warning: [16:54:18.0849] Argument "compiled template : /var/lib/squeezecenter/cache/templat..." isn't numeric in numeric eq (==) at /usr/lib/perl5/Template/Context.pm line 142.
[11-01-03 16:54:18.0902] Slim::Web::Template::SkinManager::_fillTemplate (266) Error: file error - /usr/share/squeezecenter/HTML/EN/homeplayer_list.html: not found
[11-01-03 16:54:18.1454] Slim::Utils::Misc::msg (1165) Warning: [16:54:18.1432] Use of uninitialized value $compiled in concatenation (.) or string at /usr/share/squeezecenter/lib/Template/Provider.pm line 604.
[11-01-03 16:54:18.1487] Slim::Utils::Misc::msg (1165) Warning: [16:54:18.1465] Argument "compiled template : /var/lib/squeezecenter/cache/templat..." isn't numeric in numeric eq (==) at /usr/lib/perl5/Template/Context.pm line 142.
[11-01-03 16:54:18.1519] Slim::Web::Template::SkinManager::_fillTemplate (266) Error: file error - /usr/share/squeezecenter/HTML/Default/index.html: not found
2011-01-03 19:15:03 squeezecenter_safe stopped.
[11-01-03 19:15:03.5218] Slim::Schema::Storage::throw_exception (82) Error: DBI Exception: DBD::mysql::st execute failed: MySQL server has gone away [for Statement "SELECT me.id, me.url, me.musicbrainz_id, me.added, me.playcount, me.las$
[11-01-03 19:15:03.5262] Slim::Schema::Storage::throw_exception (82) Backtrace:

frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema/Storage.pm line 82)
frame 1: Slim::Schema::Storage::throw_exception (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 957)
frame 2: DBIx::Class::Storage::DBI::__ANON__ (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1217)
frame 3: DBIx::Class::Storage::DBI::_dbh_execute (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 532)
frame 4: DBIx::Class::Storage::DBI::dbh_do (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1227)
frame 5: DBIx::Class::Storage::DBI::_execute (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1451)
frame 6: DBIx::Class::Storage::DBI::_select (/usr/share/perl5/DBIx/Class/Storage/DBI/Cursor.pm line 82)
frame 7: DBIx::Class::Storage::DBI::Cursor::_dbh_next (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 547)
frame 8: (eval) (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 540)