I ran 6.5.4 on my Ubuntu 6.10 server for a long time successfully. I
Decided to upgrade the Ubuntu platform to Ubuntu 7.10. Then I thought
I may as well upgrade SC to 7.0 as well. Golden rule is to never
change 2 things at once, I know! But now I'm in a bit of a mess.
SC7.0 sort of works. But it seems to be much slower than 6.5.4, the
web interface is much less responsive. And I seem to be getting "drop
outs" which I initially thought were problems with the wireless link to
my SquuezeBox -- but surely that would be too much of a coincidence! A
browse of the server log shows various error messages. The most
critical of which seems to say there is something wrong with the MYSQL
connection. But if so how is it working at all? Here is the log
immediately following a restart:
<quote>
2008-04-12 08:02:16 squeezecenter_safe stopped.
2008-04-12 08:02:17 squeezecenter_safe started.
[08-04-12 08:02:18.9398] Slim::Schema::forceCommit (1363) Warning:
Trying to commit transactions before DB is initialized!
[08-04-12 08:02:18.9418] Slim::Schema::Storage::throw_exception (67)
Error: DBI Connection failed: DBI
connect('hostname=127.0.0.1;port=9092;database=slimserver: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-04-12 08:02:18.9423] 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/perl5/Slim/Schema.pm
line 244)
frame 7: (eval) (/usr/share/perl5/Slim/Schema.pm line 244)
frame 8: Slim::Schema::disconnect (/usr/sbin/squeezecenter-server
line 964)
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/squeezecenter-server
line 1001)
frame 12: main::END (/usr/sbin/squeezecenter-server line 0)
frame 13: (eval) (/usr/sbin/squeezecenter-server line 0)
[08-04-12 08:02:21.3057] Slim::Networking::mDNS::startAdvertising (110)
Error: Couldn't find mDNSResponderPosix binary! Aborting!
</quote>
Googling suggested a problem with apparmor (introduced withe the Ubuntu
upgrade). So I turned it off completely. The above log is with
apparmor stopped.
Googling also suggested the mDNSResponderPosix message was harmless.
My server does have a full MYSQL instance running for other
applications, but for SC I am using the embedded mysql. I installed
it "out of the box" with no changes.
My log file also shows quite a few of the following:
<quote>
2008-04-12 07:48:15 SqueezeCenter died. Restarting.
</quote>
It seems to shut down, restart, and after a minutes silence it starts
playing again.
Before I fall back to 6.5.4 does anyone have any suggestions on how to
debug this?
--
geoff
------------------------------------------------------------------------
geoff's Profile: http://forums.slimdevices.com/member.php?userid=15468
View this thread: http://forums.slimdevices.com/showthread.php?t=46185
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss