I've installed test version 19133 on Kubuntu 7.10 (Gutsy Gibbon).
Although AppArmor is installed, the daemon isn't running (this is the
default; I haven't changed anything). I didn't have MySQL installed
previously; it was installed automatically as a required package.
squeezecenter is restarting repeatedly, and it looks to me as though
it's unable to log in to its own database.
/var/log/squeezecenter/server.log has entries like this:
Code:
--------------------
2008-04-26 15:51:36 squeezecenter_safe started.
[08-04-26 15:51:38.8331] Slim::Schema::Storage::throw_exception (70) Error:
DBI Connection failed: DBI
connect('hostname=127.0.0.1;port=9092;database=slimserver:mysql_socket=/var/lib/squeezecenter/cache/squeezecenter-mysql.sock','squeezecenter',...)
failed: Lost connection to MySQL server at 'reading initial communication
packet', system error: 0 at
/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 652
[08-04-26 15:51:38.8335] Slim::Schema::Storage::throw_exception (70)
Backtrace:
frame 0: Slim::Utils::Log::logBacktrace
(/usr/share/perl5/Slim/Schema/Storage.pm line 70)
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 29)
frame 5: (eval) (/usr/share/perl5/Slim/Schema/Storage.pm line 29)
frame 6: Slim::Schema::Storage::dbh (/usr/share/perl5/Slim/Schema.pm line 121)
frame 7: Slim::Schema::init (/usr/share/perl5/Slim/Music/Info.pm line 76)
frame 8: Slim::Music::Info::init (/usr/sbin/squeezecenter-server line 348)
frame 9: main::init (/usr/sbin/squeezecenter-server line 451)
frame 10: main::main (/usr/sbin/squeezecenter-server line 1012)
[08-04-26 15:51:38.8339] Slim::Schema::init (124) Error: Couldn't connect to
database! Fatal error: [] Exiting!
[08-04-26 15:51:38.8341] Slim::Schema::init (124) Backtrace:
frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema.pm line
124)
frame 1: Slim::Schema::init (/usr/share/perl5/Slim/Music/Info.pm line 76)
frame 2: Slim::Music::Info::init (/usr/sbin/squeezecenter-server line 348)
frame 3: main::init (/usr/sbin/squeezecenter-server line 451)
frame 4: main::main (/usr/sbin/squeezecenter-server line 1012)
[08-04-26 15:51:38.8345] Slim::Schema::forceCommit (1368) Warning: Trying to
commit transactions before DB is initialized!
2008-04-26 15:51:43 SqueezeCenter died. Restarting.
[08-04-26 15:51:46.1418] Slim::Schema::Storage::throw_exception (70) Error:
DBI Connection failed: DBI
connect('hostname=127.0.0.1;port=9092;database=slimserver:mysql_socket=/var/lib/squeezecenter/cache/squeezecenter-mysql.sock','squeezecenter',...)
failed: Lost connection to MySQL server at 'reading initial communication
packet', system error: 0 at
/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 652
[08-04-26 15:51:46.1422] Slim::Schema::Storage::throw_exception (70)
Backtrace:
--------------------
etc.
/var/log/auth.log has entries like "mysqld[19395]: refused connect from
127.0.0.1".
/var/lib/squeezecenter/cache/mysql-error-log.txt has entries like:
Code:
--------------------
080426 16:42:33 InnoDB: Started; log sequence number 0 43655
080426 16:42:33 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.0.45-Debian_1ubuntu3.3' socket:
'/var/lib/squeezecenter/cache/squeezecenter-mysql.sock' port: 9092 Debian
etch distribution
080426 16:42:35 [Note] /usr/sbin/mysqld: Normal shutdown
080426 16:42:37 InnoDB: Starting shutdown...
080426 16:42:40 InnoDB: Shutdown completed; log sequence number 0 43655
080426 16:42:40 [Note] /usr/sbin/mysqld: Shutdown complete
--------------------
--
Graeme Hewson
------------------------------------------------------------------------
Graeme Hewson's Profile: http://forums.slimdevices.com/member.php?userid=17138
View this thread: http://forums.slimdevices.com/showthread.php?t=46851
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix