Bug 6995 - SqueezeCenter died. Restarting.
: SqueezeCenter died. Restarting.
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Platform Support
: 7.0
: PC Debian Linux
: P2 normal (vote)
: ---
Assigned To: Matt Wise
http://forums.slimdevices.com/showthr...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-06 19:19 UTC by Bob Harper
Modified: 2008-12-18 11:12 UTC (History)
4 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Harper 2008-02-06 19:19:30 UTC
It seems (via the beta forum) that Ubuntu users (multiple releases) are having issues with the latest debian nightlys.
I am on Ubuntu 6.06 LTS  ~Dapper Drake

bob@home-ferndale:~$ dmesg
[17179569.184000] Linux version 2.6.15-51-386 (buildd@rothera) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 PREEMPT Thu Dec 6 20:20:49 UTC 2007

I had forwarded the following via email yesterday.  It was suggested that I enter it as a bug today.


~$ sudo apt-get install squeezecenter
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  libdbd-mysql-perl libmysqlclient14 libmysqlclient14-dev libmysqlclient15off
  mysql-client-4.1 mysql-common mysql-server-4.1
The following NEW packages will be installed:
  libdbd-mysql-perl libmysqlclient14 libmysqlclient14-dev libmysqlclient15off
  mysql-client-4.1 mysql-common mysql-server-4.1 squeezecenter
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 24.5MB/47.1MB of archives.
After unpacking 116MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  squeezecenter
Install these packages without verification [y/N]? y
Get:1 http://us.archive.ubuntu.com dapper/main libdbd-mysql-perl 3.0002-2build1 
[139kB]
Get:2 http://us.archive.ubuntu.com dapper/universe libmysqlclient14 
4.1.15-1ubuntu5 [1207kB]
Get:3 http://us.archive.ubuntu.com dapper/universe libmysqlclient14-dev 
4.1.15-1ubuntu5 [5229kB]
Get:4 http://us.archive.ubuntu.com dapper/universe mysql-client-4.1 
4.1.15-1ubuntu5 [843kB]
Get:5 http://us.archive.ubuntu.com dapper/universe mysql-server-4.1 
4.1.15-1ubuntu5 [17.0MB]
Fetched 24.5MB in 2m11s (186kB/s)
Preconfiguring packages ...
send-mail: fatal: open /etc/postfix/main.cf: No such file or directory
Can't send mail: sendmail process failed with error code 1
Selecting previously deselected package mysql-common.
(Reading database ... 83802 files and directories currently installed.)
Unpacking mysql-common (from .../mysql-common_5.0.22-0ubuntu6.06.6_all.deb) ...
Selecting previously deselected package libmysqlclient15off.
Unpacking libmysqlclient15off (from 
.../libmysqlclient15off_5.0.22-0ubuntu6.06.6_i386.deb) ...
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_3.0002-2build1_i386.deb) 
...
Selecting previously deselected package libmysqlclient14.
Unpacking libmysqlclient14 (from .../libmysqlclient14_4.1.15-1ubuntu5_i386.deb) 
...
Selecting previously deselected package libmysqlclient14-dev.
Unpacking libmysqlclient14-dev (from 
.../libmysqlclient14-dev_4.1.15-1ubuntu5_i386.deb) ...
Selecting previously deselected package mysql-client-4.1.
Unpacking mysql-client-4.1 (from .../mysql-client-4.1_4.1.15-1ubuntu5_i386.deb) 
...
Selecting previously deselected package mysql-server-4.1.
Unpacking mysql-server-4.1 (from .../mysql-server-4.1_4.1.15-1ubuntu5_i386.deb) 
...
configuration error - unknown item 'QUOTAS_ENAB' (notify administrator)
configuration error - unknown item 'NOLOGIN_STR' (notify administrator)
configuration error - unknown item 'ENV_HZ' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)
configuration error - unknown item 'CLOSE_SESSIONS' (notify administrator)
Selecting previously deselected package squeezecenter.
Unpacking squeezecenter (from .../squeezecenter_7.0-17225_all.deb) ...
Setting up mysql-common (5.0.22-0ubuntu6.06.6) ...
Setting up libmysqlclient15off (5.0.22-0ubuntu6.06.6) ...

Setting up libdbd-mysql-perl (3.0002-2build1) ...
Setting up libmysqlclient14 (4.1.15-1ubuntu5) ...

Setting up libmysqlclient14-dev (4.1.15-1ubuntu5) ...
Setting up mysql-client-4.1 (4.1.15-1ubuntu5) ...
Setting up mysql-server-4.1 (4.1.15-1ubuntu5) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Checking for crashed MySQL tables in the background.

Setting up squeezecenter (7.0-17225) ...
Starting SqueezeCenter Audio Server.

*********as squeezecenter user *******************************************************************

squeezecenter@home-ferndale:/root$ id
uid=110(squeezecenter) gid=65534(nogroup) groups=65534(nogroup)
squeezecenter@home-ferndale:/root$ /usr/sbin/squeezecenter-server --debug 
database.mysql
[08-02-05 15:41:56.4226] Slim::Utils::MySQLHelper::createConfig (182) 
createConfig() Creating config from file: [/usr/share/squeezecenter/MySQL/my.tt] -> [/var/lib/squeezecenter/cache/my.cnf].
[08-02-05 15:41:56.5679] Slim::Utils::MySQLHelper::init (108) Creating system 
tables..
[08-02-05 15:41:56.5689] Slim::Utils::MySQLHelper::startServer (247) About to 
start MySQL as a process with command: 
[/usr/share/squeezecenter/Bin/i386-linux/mysqld 
--defaults-file=/var/lib/squeezecenter/cache/my.cnf]
080205 15:41:56 [ERROR] Error message file '/usr/share/mysql/english/errmsg.sys' 
had only 304 error messages,
but it should contain at least 463 error messages.
Check that the above file is the right version for this program!
080205 15:41:56 [ERROR] Aborting

[08-02-05 15:42:26.7151] Slim::Utils::MySQLHelper::createSystemTables (433) 
FATAL: Couldn't connect to database: [Can't connect to local MySQL server 
through socket '/var/lib/squeezecenter/cache/squeezecenter-mysql.sock' (2)]
[08-02-05 15:42:26.7176] Slim::Schema::forceCommit (1363) Warning: Trying to 
commit transactions before DB is initialized!


**********ls -la /etc/squeezecenter*****************************************************************
bob@home-ferndale:~$ ls -la /etc/squeezecenter
total 28
drwxr-xr-x   2 squeezecenter nogroup 4096 2008-02-05 15:30 .
drwxr-xr-x 114 root          root    8192 2008-02-05 15:41 ..
-rw-r--r--   1 squeezecenter nogroup 5822 2008-02-05 03:20 convert.conf
-rw-r--r--   1 squeezecenter nogroup  835 2008-02-05 03:20 modules.conf
-rw-r--r--   1 squeezecenter nogroup 3881 2008-02-05 03:20 types.conf


bob@home-ferndale:~$ dpkg --list | grep -i mysql
ii  libdbd-mysql-perl                      3.0002-2build1                A Perl5 database interface to the MySQL data
ii  libmysqlclient14                       4.1.15-1ubuntu5                mysql database client library
ii  libmysqlclient14-dev                   4.1.15-1ubuntu5                mysql database development files
ii  libmysqlclient15off                    5.0.22-0ubuntu6.06.6                mysql database client library
ii  mysql-client-4.1                       4.1.15-1ubuntu5                mysql database client binaries
ii  mysql-common                           5.0.22-0ubuntu6.06.6                mysql database common files (e.g. /etc/mysql
ii  mysql-server-4.1                       4.1.15-1ubuntu5                mysql database server binaries
Comment 1 Bob Harper 2008-02-07 02:52:02 UTC
Updated 2/7 

bob@home-ferndale:~$ sudo apt-get install squeezecenter
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
  squeezecenter
1 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
Need to get 21.2MB of archives.
After unpacking 4096B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  squeezecenter
Install these packages without verification [y/N]? y
Get:1 http://debian.slimdevices.com unstable/main squeezecenter 7.0-17314 [21.2MB]
Fetched 21.2MB in 1m13s (291kB/s)
(Reading database ... 86955 files and directories currently installed.)
Preparing to replace squeezecenter 7.0-17259 (using .../squeezecenter_7.0-17314_all.deb) ...
Stopping SqueezeCenter Audio ServerNo squeezecenter_s found running; none killed.
.
Unpacking replacement squeezecenter ...
Setting up squeezecenter (7.0-17314) ...
Starting SqueezeCenter Audio Server.


***********Server.log*****************************
2008-02-06 05:51:47 squeezecenter_safe stopped.
2008-02-07 05:48:26 squeezecenter_safe started.
[08-02-07 05:48:59.3340] Slim::Utils::MySQLHelper::createSystemTables (433) FATAL: Couldn't connect to database: [Can't connect to local MySQL server through socket '/var/lib/squeezecenter/cache/squeezecenter-mysql.sock' (2)]
[08-02-07 05:48:59.3363] Slim::Schema::forceCommit (1363) Warning: Trying to commit transactions before DB is initialized!
2008-02-07 05:48:59 SqueezeCenter died. Restarting.
[08-02-07 05:49:32.1394] Slim::Utils::MySQLHelper::createSystemTables (433) FATAL: Couldn't connect to database: [Can't connect to local MySQL server through socket '/var/lib/squeezecenter/cache/squeezecenter-mysql.sock' (2)]
[08-02-07 05:49:32.1417] Slim::Schema::forceCommit (1363) Warning: Trying to commit transactions before DB is initialized!
2008-02-07 05:49:32 SqueezeCenter died. Restarting.
[08-02-07 05:50:04.7967] Slim::Utils::MySQLHelper::createSystemTables (433) FATAL: Couldn't connect to database: [Can't connect to local MySQL server through socket '/var/lib/squeezecenter/cache/squeezecenter-mysql.sock' (2)]
[08-02-07 05:50:04.7991] Slim::Schema::forceCommit (1363) Warning: Trying to commit transactions before DB is initialized!
2008-02-07 05:50:04 SqueezeCenter died. Restarting.
[08-02-07 05:50:37.3664] Slim::Utils::MySQLHelper::createSystemTables (433) FATAL: Couldn't connect to database: [Can't connect to local MySQL server through socket '/var/lib/squeezecenter/cache/squeezecenter-mysql.sock' (2)]
[08-02-07 05:50:37.3688] Slim::Schema::forceCommit (1363) Warning: Trying to commit transactions before DB is initialized!
2008-02-07 05:50:37 SqueezeCenter died. Restarting.
Comment 2 KDF 2008-02-07 09:04:24 UTC
looks like old version of mysql.  
Comment 3 Mark Miksis 2008-02-07 09:51:42 UTC
(In reply to comment #2)
> looks like old version of mysql.  
> 

The Debian control file specifies that 4.1 is acceptable.  Is that not true?
Comment 4 KDF 2008-02-07 12:57:33 UTC
well, the point in that mysql seems to not be starting.  looking again, it may be due to
"080205 15:41:56 [ERROR] Error message file
'/usr/share/mysql/english/errmsg.sys' 
had only 304 error messages,
but it should contain at least 463 error messages."

I've seen this mentioned before, but can't recall if it was reported as a bug, or just a forum thread.
Comment 5 Mark Miksis 2008-02-07 13:03:44 UTC
Ah, I missed that message.  I filed that bug a long time ago as bug 4615.  At the time I thought it couldn't occur with the deb or RPM build...  I'll look into it when I have a minute.
Comment 6 Mark Miksis 2008-02-07 13:19:46 UTC
OK, I should've read this log a little closer the first time...

(In reply to comment #0)
> [08-02-05 15:41:56.5689] Slim::Utils::MySQLHelper::startServer (247) About to 
> start MySQL as a process with command: 
> [/usr/share/squeezecenter/Bin/i386-linux/mysqld 
> --defaults-file=/var/lib/squeezecenter/cache/my.cnf]

This is the problem.  SC is running the bundled version of mysqld.  This should not happen.  In fact, past versions of the deb (correctly) did not ship anything in the Bin directory.  I'm not sure if Matt added this back on purpose or not.

> 080205 15:41:56 [ERROR] Error message file
> '/usr/share/mysql/english/errmsg.sys' 
> had only 304 error messages,
> but it should contain at least 463 error messages.
> Check that the above file is the right version for this program!
> 080205 15:41:56 [ERROR] Aborting

And of course this error occurs because the bundled version of mysqld above is newer than the one pulled in from apt.
Comment 7 Bob Harper 2008-02-08 03:00:35 UTC
Today's update.  More of the same.........

bob@home-ferndale:~$ sudo dpkg --purge squeezecenter
Password:
(Reading database ... 86953 files and directories currently installed.)
Removing squeezecenter ...
Stopping SqueezeCenter Audio ServerNo squeezecenter_s found running; none killed.
.
Purging configuration files for squeezecenter ...
Removing user `squeezecenter'...
configuration error - unknown item 'QUOTAS_ENAB' (notify administrator)
configuration error - unknown item 'NOLOGIN_STR' (notify administrator)
configuration error - unknown item 'ENV_HZ' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)
configuration error - unknown item 'CLOSE_SESSIONS' (notify administrator)
done.
dpkg - warning: while removing squeezecenter, directory `/var/lib/squeezecenter/prefs' not empty so not removed.
dpkg - warning: while removing squeezecenter, directory `/var/lib/squeezecenter' not empty so not removed.
bob@home-ferndale:~$ sudo rm -r /var/lib/squeezecenter
bob@home-ferndale:~$ sudo apt-get update

************************************************
** Lots of gets probably not useful to this bug
************************************************

bob@home-ferndale:~$ sudo apt-get install squeezecenter
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  squeezecenter
0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
Need to get 21.2MB of archives.
After unpacking 55.2MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  squeezecenter
Install these packages without verification [y/N]? y
Get:1 http://debian.slimdevices.com unstable/main squeezecenter 7.0-17332 [21.2MB]
Fetched 21.2MB in 1m2s (339kB/s)
Selecting previously deselected package squeezecenter.
(Reading database ... 84177 files and directories currently installed.)
Unpacking squeezecenter (from .../squeezecenter_7.0-17332_all.deb) ...
Setting up squeezecenter (7.0-17332) ...
Adding system user `squeezecenter'...
Adding new user `squeezecenter' (110) with group `nogroup'.
configuration error - unknown item 'QUOTAS_ENAB' (notify administrator)
configuration error - unknown item 'NOLOGIN_STR' (notify administrator)
configuration error - unknown item 'ENV_HZ' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)
configuration error - unknown item 'CLOSE_SESSIONS' (notify administrator)
Not creating home directory `/usr/share/squeezecenter'.
Starting SqueezeCenter Audio Server.


****server.log********************
2008-02-08 05:51:56 squeezecenter_safe started.
[08-02-08 05:52:29.5783] Slim::Utils::MySQLHelper::createSystemTables (433) FATAL: Couldn't connect to database: [Can't connect to local MySQL server through socket '/var/lib/squeezecenter/cache/squeezecenter-mysql.sock' (2)]
[08-02-08 05:52:29.5868] Slim::Schema::forceCommit (1363) Warning: Trying to commit transactions before DB is initialized!
2008-02-08 05:52:29 SqueezeCenter died. Restarting.
[08-02-08 05:53:02.9555] Slim::Utils::MySQLHelper::createSystemTables (433) FATAL: Couldn't connect to database: [Can't connect to local MySQL server through socket '/var/lib/squeezecenter/cache/squeezecenter-mysql.sock' (2)]
[08-02-08 05:53:02.9579] Slim::Schema::forceCommit (1363) Warning: Trying to commit transactions before DB is initialized!
2008-02-08 05:53:03 SqueezeCenter died. Restarting.
[08-02-08 05:53:35.4889] Slim::Utils::MySQLHelper::createSystemTables (433) FATAL: Couldn't connect to database: [Can't connect to local MySQL server through socket '/var/lib/squeezecenter/cache/squeezecenter-mysql.sock' (2)]
[08-02-08 05:53:35.4913] Slim::Schema::forceCommit (1363) Warning: Trying to commit transactions before DB is initialized!
2008-02-08 05:53:35 SqueezeCenter died. Restarting.
[08-02-08 05:54:08.1767] Slim::Utils::MySQLHelper::createSystemTables (433) FATAL: Couldn't connect to database: [Can't connect to local MySQL server through socket '/var/lib/squeezecenter/cache/squeezecenter-mysql.sock' (2)]
[08-02-08 05:54:08.1790] Slim::Schema::forceCommit (1363) Warning: Trying to commit transactions before DB is initialized!
2008-02-08 05:54:08 SqueezeCenter died. Restarting.
Comment 8 Mark Miksis 2008-02-08 09:01:47 UTC
(In reply to comment #7)
> Today's update.  More of the same.........

Bob, see my comment #6.  To test my theory, try this:

- Make sure SC is stopped
- Delete (or move) /usr/share/squeezecenter/Bin/i386-linux/mysqld
- Delete the contents of /var/lib/squeezecenter/cache
- Try to start SC with /etc/init.d/squeezecenter start
Comment 9 Bob Harper 2008-02-08 09:06:55 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > Today's update.  More of the same.........
> 
> Bob, see my comment #6.  To test my theory, try this:
> 
> - Make sure SC is stopped
> - Delete (or move) /usr/share/squeezecenter/Bin/i386-linux/mysqld
> - Delete the contents of /var/lib/squeezecenter/cache
> - Try to start SC with /etc/init.d/squeezecenter start
> 

Will do when I get home this evening (~4hrs).
Comment 10 Bob Harper 2008-02-08 13:54:34 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > (In reply to comment #7)
> > > Today's update.  More of the same.........
> > 
> > Bob, see my comment #6.  To test my theory, try this:
> > 
> > - Make sure SC is stopped
> > - Delete (or move) /usr/share/squeezecenter/Bin/i386-linux/mysqld
> > - Delete the contents of /var/lib/squeezecenter/cache
> > - Try to start SC with /etc/init.d/squeezecenter start
> > 
> 
> Will do when I get home this evening (~4hrs).
> 

Ok That worked.

bob       9422  5384  0 16:41 pts/0    00:00:00 grep squeezecenter
bob@home-ferndale:~$ ps -ef | grep squeezecenter
bob       9424  5384  0 16:41 pts/0    00:00:00 grep squeezecenter
bob@home-ferndale:~$ sudo rm -r /var/lib/squeezecenter/cache/
bob@home-ferndale:~$ sudo /etc/init.d/squeezecenter start
Starting SqueezeCenter Audio Server.



********Server.log***************************************
2008-02-08 16:43:46 squeezecenter_safe started.
[08-02-08 16:43:54.4552] Slim::Schema::init (151) Warning: Creating new database - empty database or database from 6.3.x found
[08-02-08 16:43:58.7027] Slim::Utils::PluginManager::enablePlugins (490) Warning: Couldn't call Slim::Plugin::InfoBrowser::Plugin->initPlugin: Can't call method "searchDirs" on an undefined value at /usr/share/perl5/Slim/Plugin/InfoBrowser/Settings.pm line 62.
[08-02-08 16:43:58.8435] Slim::Utils::Misc::msg (1239) Warning: 
[08-02-08 16:43:58.8442] Slim::Utils::Misc::msg (1239) Warning: Your data source needs to be configured. Please open your web browser,
[08-02-08 16:43:58.8446] Slim::Utils::Misc::msg (1239) Warning: go to the following URL, and click on the "SqueezeCenter Settings" link.

[08-02-08 16:43:58.8451] Slim::Utils::Misc::msg (1239) Warning: The URL to access SqueezeCenter is now:

	http://home-ferndale:9000/

[08-02-08 16:46:25.4424] main::checkDataSource (870) Warning: Schema updated or tracks in the database, initiating scan.

***************************************************************

Is there any other testing you want me to do?  I will continue with the nightlies.  

Thanks
Comment 11 Mark Miksis 2008-02-08 14:08:26 UTC
(In reply to comment #10)
> Ok That worked.
 
Great.

> Is there any other testing you want me to do?  I will continue with the
> nightlies.  

Matt already made this change to the deb later this AM, so just keep testing with those.  Note the recent announcement in the beta forum that the 7.0 branch nightlies have moved from unstable to testing.
Comment 12 KDF 2008-02-08 15:01:09 UTC
so, for the record, that's change 17351 ?

note to matt, please try to add "bug: ####" to the commit comments as this creates a link between the commit entry and bugzilla when using viewcvs.  Much goodness when trying to track through years of code to find the origin/reason for some changes. 

From bug report side "change #####" is the matching text that creates a link to viewcvs
Comment 13 Bob Harper 2008-02-09 05:07:06 UTC
All seems fine now.  I did the purge before the update.

bob@home-ferndale:~$ sudo dpkg --purge squeezecenter
(Reading database ... 86953 files and directories currently installed.)
Removing squeezecenter ...
Stopping SqueezeCenter Audio ServerNo squeezecenter_s found running; none killed.
.
Purging configuration files for squeezecenter ...
Removing user `squeezecenter'...
configuration error - unknown item 'QUOTAS_ENAB' (notify administrator)
configuration error - unknown item 'NOLOGIN_STR' (notify administrator)
configuration error - unknown item 'ENV_HZ' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)
configuration error - unknown item 'CLOSE_SESSIONS' (notify administrator)
done.
dpkg - warning: while removing squeezecenter, directory `/var/lib/squeezecenter/prefs' not empty so not removed.
dpkg - warning: while removing squeezecenter, directory `/var/lib/squeezecenter' not empty so not removed.
dpkg - warning: while removing squeezecenter, directory `/usr/share/squeezecenter/Bin/i386-linux' not empty so not removed.
dpkg - warning: while removing squeezecenter, directory `/usr/share/squeezecenter/Bin' not empty so not removed.
dpkg - warning: while removing squeezecenter, directory `/usr/share/squeezecenter' not empty so not removed.
bob@home-ferndale:~$ sudo rm -r /var/lib/squeezecenter/cache/
rm: cannot remove `/var/lib/squeezecenter/cache/': No such file or directory
bob@home-ferndale:~$ sudo apt-get install squeezecenter
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  squeezecenter
0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
Need to get 18.9MB of archives.
After unpacking 49.2MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  squeezecenter
Install these packages without verification [y/N]? y
Get:1 http://debian.slimdevices.com testing/main squeezecenter 7.0-17367 [18.9MB]
Fetched 18.9MB in 58s (326kB/s)
Selecting previously deselected package squeezecenter.
(Reading database ... 84177 files and directories currently installed.)
Unpacking squeezecenter (from .../squeezecenter_7.0-17367_all.deb) ...
Setting up squeezecenter (7.0-17367) ...
Adding system user `squeezecenter'...
Adding new user `squeezecenter' (110) with group `nogroup'.
configuration error - unknown item 'QUOTAS_ENAB' (notify administrator)
configuration error - unknown item 'NOLOGIN_STR' (notify administrator)
configuration error - unknown item 'ENV_HZ' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)
configuration error - unknown item 'CLOSE_SESSIONS' (notify administrator)
Not creating home directory `/usr/share/squeezecenter'.
Starting SqueezeCenter Audio Server.

********Server.log******
2008-02-09 07:46:59 squeezecenter_safe started.
[08-02-09 07:47:09.2503] Slim::Schema::init (151) Warning: Creating new database - empty database or database from 6.3.x found
[08-02-09 07:47:13.5496] Slim::Utils::PluginManager::enablePlugins (490) Warning: Couldn't call Slim::Plugin::InfoBrowser::Plugin->initPlugin: Can't call method "searchDirs" on an undefined value at /usr/share/perl5/Slim/Plugin/InfoBrowser/Settings.pm line 62.
[08-02-09 07:47:13.6841] main::checkDataSource (870) Warning: Schema updated or tracks in the database, initiating scan.


bob@home-ferndale:~$ ps -ef |grep mysql*
root      5781     1  0 Feb05 pts/0    00:00:00 /bin/sh /usr/bin/mysqld_safe
mysql     5818  5781  0 Feb05 pts/0    00:00:02 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
root      5819  5781  0 Feb05 pts/0    00:00:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
110      10170 10152  6 07:47 ?        00:00:31 /usr/sbin/mysqld --defaults-file=/var/lib/squeezecenter/cache/my.cnf
bob      10266  5384  0 07:55 pts/0    00:00:00 grep mysql*

SqueezeCenter Version: 7.0 - 17367 - Debian - EN - utf8
Server IP address: 192.168.1.30
Perl Version: 5.8.7 i486-linux-gnu-thread-multi
MySQL Version: 4.1.15-Debian_1ubuntu5

Platform Architecture: i686-linux

Hostname: home-ferndale

Server Port Number: 9000

Total Players Recognized: 1

Cache Folder: /var/lib/squeezecenter/cache

Plugin Folders: /usr/sbin/Slim/Plugin, /usr/share/perl5/Slim/Plugin, /usr/share/squeezecenter/Plugins


I actually have 2 SB2s.  We just moved and have one feeding a Russound CAV system.

Thanks for the assist.

Now if you all would only let me buy my Controller!

Bob
Comment 14 KDF 2008-02-09 13:18:06 UTC
marking fixed.  thanks for the confirmation.  Sadly, none of those attached to this bug report can help with the controller availability.
Comment 15 Patrick Dixon 2008-02-10 11:51:42 UTC
This has reappeared for me in 17379 (amd64 ubuntu 7.04)

Deleting the contents of squeezecenter/Bin solves it.

log:-

2008-02-10 18:56:38 squeezecenter_safe started.
[08-02-10 18:56:44.4410] Plugins::Alien::Plugin::menuUrl (110) unable to write to alienbbc menu file: /Playlists/alienbbc.opml
[08-02-10 18:56:44.7335] Carp::croak (102) Warning: /usr/sbin/squeezecenter-server: exec failed: No such file or directory
at /usr/share/perl5/Slim/Networking/mDNS.pm line 156
[08-02-10 18:56:45.5292] Slim::Schema::Storage::throw_exception (67) Error: DBI Connection failed: DBI connect('hostname=127.0.0.1;port=9092;database=sli mserver:mysql_socket=/var/lib/squeezecenter/cache/squeezecenter-mysql.sock','slimserver',...) failed: Can't connect to MySQL server on '127.0.0.1' (111) at /usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 652
[08-02-10 18:56:45.5298] Slim::Schema::Storage::throw_exception (67) Backtrace:

frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema/Storage.pm line 67)
frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 658)
frame 2: DBIx::Class::Storage::DBI::_connect (/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 616)
frame 3: DBIx::Class::Storage::DBI::_populate_dbh (/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 543)
frame 4: DBIx::Class::Storage::DBI::ensure_connected (/usr/share/perl5/Slim/Schema/Storage.pm line 27)
frame 5: (eval) (/usr/share/perl5/Slim/Schema/Storage.pm line 27)
frame 6: Slim::Schema::Storage::dbh (/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 867)
frame 7: DBIx::Class::Storage::DBI::sth (/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 760)
frame 8: (eval) (/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 760)
frame 9: DBIx::Class::Storage::DBI::_execute (/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 826)
frame 10: DBIx::Class::Storage::DBI::_select (/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 852)
frame 11: DBIx::Class::Storage::DBI::select_single (/usr/share/squeezecenter/CPAN/DBIx/Class/ResultSet.pm line 509)
frame 12: DBIx::Class::ResultSet::single (/usr/share/perl5/Slim/Schema.pm line 494)
frame 13: Slim::Schema::single (/usr/share/perl5/Slim/Music/Import.pm line 601)
frame 14: Slim::Music::Import::stillScanning (/usr/share/perl5/Slim/Control/Queries.pm line 2625)
frame 15: Slim::Control::Queries::serverstatusQuery (/usr/share/perl5/Slim/Control/Request.pm line 1746)
frame 16: (eval) (/usr/share/perl5/Slim/Control/Request.pm line 1746)
frame 17: Slim::Control::Request::execute (/usr/share/perl5/Slim/Web/Cometd.pm line 755)
frame 18: Slim::Web::Cometd::handleRequest (/usr/share/perl5/Slim/Web/Cometd.pm line 431)
frame 19: Slim::Web::Cometd::handler (/usr/share/perl5/Slim/Web/Cometd.pm line 110)
frame 20: Slim::Web::Cometd::webHandler (/usr/share/perl5/Slim/Web/HTTP.pm line 503)
frame 21: Slim::Web::HTTP::processHTTP (/usr/share/perl5/Slim/Networking/Select.pm line 243)
frame 22: (eval) (/usr/share/perl5/Slim/Networking/Select.pm line 243)
frame 23: Slim::Networking::Select::select (/usr/sbin/squeezecenter-server line 503)
frame 24: main::idle (/usr/sbin/squeezecenter-server line 453)
frame 25: main::main (/usr/sbin/squeezecenter-server line 1005)

[08-02-10 18:56:45.5307] Slim::Schema::Storage::throw_exception (67) Error: Error executing 'SELECT me.name, me.value FROM metainformation me WHERE ( name = ? )': DBD::mysql::st execute failed: MySQL server has gone away at /usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 771.
[08-02-10 18:56:45.5312] Slim::Schema::Storage::throw_exception (67) Backtrace:

frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema/Storage.pm line 67)
frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 773)
frame 2: DBIx::Class::Storage::DBI::_execute (/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 826)
frame 3: DBIx::Class::Storage::DBI::_select (/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 852)
frame 4: DBIx::Class::Storage::DBI::select_single (/usr/share/squeezecenter/CPAN/DBIx/Class/ResultSet.pm line 509)
frame 5: DBIx::Class::ResultSet::single (/usr/share/perl5/Slim/Schema.pm line 494)
frame 6: Slim::Schema::single (/usr/share/perl5/Slim/Music/Import.pm line 601)
frame 7: Slim::Music::Import::stillScanning (/usr/share/perl5/Slim/Control/Queries.pm line 2625)
frame 8: Slim::Control::Queries::serverstatusQuery (/usr/share/perl5/Slim/Control/Request.pm line 1746)
frame 9: (eval) (/usr/share/perl5/Slim/Control/Request.pm line 1746)
frame 10: Slim::Control::Request::execute (/usr/share/perl5/Slim/Web/Cometd.pm line 755)
frame 11: Slim::Web::Cometd::handleRequest (/usr/share/perl5/Slim/Web/Cometd.pm line 431)
frame 12: Slim::Web::Cometd::handler (/usr/share/perl5/Slim/Web/Cometd.pm line 110)
frame 13: Slim::Web::Cometd::webHandler (/usr/share/perl5/Slim/Web/HTTP.pm line 503)
frame 14: Slim::Web::HTTP::processHTTP (/usr/share/perl5/Slim/Networking/Select.pm line 243)
frame 15: (eval) (/usr/share/perl5/Slim/Networking/Select.pm line 243)
frame 16: Slim::Networking::Select::select (/usr/sbin/squeezecenter-server line 503)
frame 17: main::idle (/usr/sbin/squeezecenter-server line 453)
frame 18: main::main (/usr/sbin/squeezecenter-server line 1005)

etc, etc
Comment 16 Patrick Dixon 2008-02-14 06:28:06 UTC
Please can we re-open this bug - or would you like me to open a new one?

There is still an issue with one of the /Bin files killing ubuntu/amd64 machines.  If I get a change I will try and identify which file it is.
Comment 17 Patrick Dixon 2008-02-14 06:29:32 UTC
I meant 'chance' ...

See this post for more evidence:-
http://forums.slimdevices.com/showthread.php?p=269312&posted=1#post269312
Comment 18 Patrick Dixon 2008-02-14 07:37:49 UTC
It doesn't like the  i386-linux subdirectory, presumably because these are build for 386 rather than amd and take precedence over the 'real' ones already on the system.
Comment 19 Mark Miksis 2008-02-14 07:50:26 UTC
(In reply to comment #18)
> It doesn't like the  i386-linux subdirectory, presumably because these are
> build for 386 rather than amd and take precedence over the 'real' ones already
> on the system.
> 

Can you narrow it down to which executable causes the failure?  I run the RPM on x86_64 (Xeon not AMD) and I've not seen a similar problem.
Comment 20 Patrick Dixon 2008-02-15 03:17:21 UTC
The killer file appears to be:-

Bin/i386-linux/mDNSResponderPosix
Comment 21 Chris Owens 2008-03-07 09:04:44 UTC
This bug is being closed since it was resolved for a version which is now released!  Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html

If you are still seeing this bug, please re-open it and we will consider it for a future release.