Hi
I added a new CD to my collection a couple of days ago and when I tried
to do a re-scan: "Settings:look for new and changed music" from the web
interface the rescan failed. I have also tried a complete rescan with
the same result.
When I look at the scan log (/var/log/squeezeboxserver/scanner.log) I
can see amongst other things, the following:
[11-12-08 17:38:40.9790] Slim::Schema::Storage::throw_exception (82)
Error: DBI Connection failed: DBI
connect('hostname=127.0.0.1;port=9092;database=slimserver','slimserver',...)
failed: Can't connect to MySQL server on '127.0.0.1' (111) at
/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 950
[11-12-08 17:38:40.9802] Slim::Schema::Storage::throw_exception (82)
Backtrace:
[11-12-08 17:38:40.9813] main::main (299) Warning: Issuing rollback()
for database handle being DESTROY'd without explicit disconnect() at
/usr/sbin/squeezeboxserver-scanner line 299.
[11-12-08 17:38:40.9823] main::main (311) Error: Failed when running
main scan: [Carp::Clan::__ANON__(): DBI Connection failed: DBI
connect('hostname=127.0.0.1;port=9092;database=slimserver','slimserver',...)
failed: Can't connect to MySQL server on '127.0.0.1' (111) at
/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 950
]
[11-12-08 17:38:40.9830] main::main (312) Error: Skipping post-process
& Not updating lastRescanTime!
[11-12-08 17:38:40.9867] Slim::Schema::Storage::throw_exception (82)
Error: DBI Connection failed: DBI
connect('hostname=127.0.0.1;port=9092;database=slimserver','slimserver',...)
failed: Can't connect to MySQL server on '127.0.0.1' (111) at
/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 950
[11-12-08 17:38:40.9877] Slim::Schema::Storage::throw_exception (82)
Backtrace:
[11-12-08 17:38:40.9890] Slim::Schema::Storage::dbh (53) Warning:
Unable to connect to the database - trying to bring it up!
It looks like squeezebox server can't connect to the database. Does
anyone have any idea what might be wrong? I've not changed anything
recently. I'm using version 7.5.1 on Ubuntu. I can still access my
library from the squeezebox and the web interface to the server, but
without the new music so it would seem that the file system is still
OK. Maybe the database is corrupt?
Is there anyway I can force squeezebox server to delete and then
rebuild a new database?
--
Stoker
--ian
------------------------------------------------------------------------
Stoker's Profile: http://forums.slimdevices.com/member.php?userid=8264
View this thread: http://forums.slimdevices.com/showthread.php?t=92147
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss