PDA

View Full Version : CPAN update killed SC 7



pippin
2007-12-28, 17:50
OK, I have the following problem.

System: ubuntu 7.10
Was working fine until I did an CPAN update through cpan>install Bundle::CPAN

Now slimserver 7.01a (latest nightly) exits with

2007-12-28 23:46:51 SqueezeCenter died. Restarting.
[23:46:52.6675] Slim::Schema::forceCommit (1358) Warning: Trying to commit transactions before DB is initialized!
[23:46:52.6729] 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/cache/slimserver/squeezecenter-mysql.sock','slimserver',...) failed: Can't connect to MySQL server on '127.0.0.1' (111) at /usr/share/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 652
[23:46:52.6747] 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/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 658)
frame 2: DBIx::Class::Storage::DBI::_connect (/usr/share/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 616)
frame 3: DBIx::Class::Storage::DBI::_populate_dbh (/usr/share/slimserver/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/perl5/Slim/Schema.pm line 244)
frame 7: (eval) (/usr/share/perl5/Slim/Schema.pm line 244)
frame 8: Slim::Schema::disconnect (/usr/sbin/slimserver line 959)
frame 9: main::cleanup (/usr/share/perl5/Slim/bootstrap.pm line 368)
frame 10: Slim::bootstrap::sigint (/usr/share/perl5/Slim/bootstrap.pm line 402)
frame 11: Slim::bootstrap::theEND (/usr/sbin/slimserver line 996)
frame 12: main::END (/usr/sbin/slimserver line 0)
frame 13: (eval) (/usr/sbin/slimserver line 0)


Any Idea how to resolve this? Re-Installing slimserver didn't help. Damn, I need that thing tonight.

Jörg

pippin
2007-12-28, 18:16
If I start /usr/sbin/slimserver directly I get the following:

Weak references are not implemented in the version of perl at /usr/share/perl5/Slim/Networking/Async.pm line 20
BEGIN failed--compilation aborted at /usr/share/perl5/Slim/Networking/Async.pm line 20.
Compilation failed in require at (eval 108) line 3.
...propagated at /usr/share/perl/5.8/base.pm line 84.
BEGIN failed--compilation aborted at /usr/share/perl5/Slim/Networking/Async/HTTP.pm line 36.
Compilation failed in require at /usr/share/perl5/Slim/Utils/Scanner.pm line 45.
BEGIN failed--compilation aborted at /usr/share/perl5/Slim/Utils/Scanner.pm line 45.
Compilation failed in require at /usr/share/perl5/Slim/Control/Commands.pm line 41.
BEGIN failed--compilation aborted at /usr/share/perl5/Slim/Control/Commands.pm line 41.
Compilation failed in require at /usr/share/perl5/Slim/Control/Request.pm line 417.
BEGIN failed--compilation aborted at /usr/share/perl5/Slim/Control/Request.pm line 417.
Compilation failed in require at /usr/share/perl5/Slim/Buttons/SqueezeNetwork.pm line 24.
BEGIN failed--compilation aborted at /usr/share/perl5/Slim/Buttons/SqueezeNetwork.pm line 24.
Compilation failed in require at /usr/share/perl5/Slim/Buttons/Common.pm line 42.
BEGIN failed--compilation aborted at /usr/share/perl5/Slim/Buttons/Common.pm line 42.
Compilation failed in require at /usr/sbin/slimserver line 145.
BEGIN failed--compilation aborted at /usr/sbin/slimserver line 145.

pippin
2007-12-28, 20:16
Works now - don't know why, but works now (after the SECOND 'force'd install of Bundle::CPAN...)