Robin Bowes wrote:
> Robin Bowes wrote:
>> Hi,
>>
>> I'm using latest trunk and am seeing the following backtrace when
>> manually triggering a complete wipe and rescan.
>>
>> Any idea where to look to fix this?
>
> Forgot to add: this is running on FC6 with my own MySQL instance. The
> server works OK, i.e. it plays music currently in the library, but the
> scanner fails.
Ok, I've dumped @info from line 616 of DBI.pm and it looks like this:
2007-12-27_13:16:07.32765 $VAR1 = [
2007-12-27_13:16:07.32770
'dbi:mysql:database=slimserver_trunk:mysql_socket=/var/lib/mysql/mysql.sock',
2007-12-27_13:16:07.32771 'slimserver',
2007-12-27_13:16:07.32772 'repro65^acast',
2007-12-27_13:16:07.32774 {
2007-12-27_13:16:07.32775 'AutoCommit' => 1,
2007-12-27_13:16:07.32776 'RaiseError' => 1,
2007-12-27_13:16:07.32778 'Taint' => 1,
2007-12-27_13:16:07.32779 'PrintError' => 0
2007-12-27_13:16:07.32780 }
2007-12-27_13:16:07.32782 ];
But, from the original error, it seems that scanner.pl is trying to use
/tmp/mysql.sock:
[07-12-27 13:07:02.1437] Slim::Schema::Storage::throw_exception (67)
Error: DBI Connection failed: DBI
connect('database=slimserver_trunk','slimserver',...) failed: Can't
connect to local MySQL server through socket '/tmp/mysql.sock' (2) at
/opt/slimserver/trunk/server/CPAN/DBIx/Class/Storage/DBI.pm line 652
[07-12-27 13:07:02.1444] Slim::Schema::Storage::throw_exception (67)
So, why isn't scanner.pl getting the correct socket, and where is that
supposed to be set?
R.
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta