I lied, it's not working.
I can get into the GUI, but when I choose to rescan my library I get:
>
> 2006-09-22 15:13:53.6703 Use of uninitialized value in concatenation
> (.) or string at /usr/local/SlimServer_v6.5.0/Slim/Schema.pm line 915.
> 2006-09-22 15:13:53.6705 Merging entry for
> clientplaylist://00:04:20:06:1c:47 readTags is: []
> 2006-09-22 15:13:53.6709 Updating clientplaylist://00:04:20:06:1c:47 :
> title to Now Playing - 192.168.1.102
> 2006-09-22 15:13:53.6712 Updating clientplaylist://00:04:20:06:1c:47 :
> year to 0
> 2006-09-22 15:13:53.6715 Updating clientplaylist://00:04:20:06:1c:47 :
> content_type to cpl
> 2006-09-22 15:13:53.6717 Updating clientplaylist://00:04:20:06:1c:47 :
> remote to 0
> 2006-09-22 15:13:53.6720 Updating clientplaylist://00:04:20:06:1c:47 :
> titlesearch to NOW PLAYING 192 168 1 102
> 2006-09-22 15:13:53.6722 Updating clientplaylist://00:04:20:06:1c:47 :
> titlesort to NOW PLAYING 192 168 1 102
> 2006-09-22 15:13:53.6724 Updating clientplaylist://00:04:20:06:1c:47 :
> rating to 0
> 2006-09-22 15:13:53.6745 DELETE FROM playlist_track WHERE ( playlist =
> ? ): '1'
> 2006-09-22 15:13:54.2774 SlimServer OSDetect init...
> 2006-09-22 15:13:54.2777 SlimServer OS Specific init...
> 2006-09-22 15:13:54.2778 SlimServer settings init...
> 2006-09-22 15:13:54.2837 SlimServer strings init...
> 2006-09-22 15:13:54.4518 SlimServer Info init...
> 2006-09-22 15:13:54.5204 ERROR: DBI Connection failed: DBI
> connect('database=slimserver','slimserver',...) failed: Can't connect
> to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at
> /usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 652
>
> 2006-09-22 15:13:54.5206 ERROR: Backtrace follows:
>
> 2006-09-22 15:13:54.5208 Backtrace:
>
> frame 0: Slim::Schema::Storage::throw_exception
> (/usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 658)
> frame 1: DBIx::Class::Storage::DBI::_connect
> (/usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 616)
> frame 2: DBIx::Class::Storage::DBI::_populate_dbh
> (/usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 543)
> frame 3: DBIx::Class::Storage::DBI::ensure_connected
> (/usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 557)
> frame 4: DBIx::Class::Storage::DBI::dbh
> (/usr/local/SlimServer_v6.5.0/Slim/Schema.pm line 118)
> frame 5: Slim::Schema::init
> (/usr/local/SlimServer_v6.5.0/Slim/Music/Info.pm line 71)
> frame 6: Slim::Music::Info::init
> (/usr/local/SlimServer_v6.5.0/scanner.pl line 239)
> frame 7: main::initializeFrameworks
> (/usr/local/SlimServer_v6.5.0/scanner.pl line 86)
> frame 8: main::main (/usr/local/SlimServer_v6.5.0/scanner.pl line
> 330)
>
> Carp::Clan::__ANON__(): DBI Connection failed: DBI
> connect('database=slimserver','slimserver',...) failed: Can't connect
> to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at
> /usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 652
> 2006-09-22 15:13:54.5211 Got to the END.
> 2006-09-22 15:13:54.5212 Got sigint.
> 2006-09-22 15:13:54.5212 SlimServer cleaning up.
> 2006-09-22 15:13:54.5224 ERROR: DBI Connection failed: DBI
> connect('database=slimserver','slimserver',...) failed: Can't connect
> to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at
> /usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 652
>
> 2006-09-22 15:13:54.5226 ERROR: Backtrace follows:
>
> 2006-09-22 15:13:54.5228 Backtrace:
>
> frame 0: Slim::Schema::Storage::throw_exception
> (/usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 658)
> frame 1: DBIx::Class::Storage::DBI::_connect
> (/usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 616)
> frame 2: DBIx::Class::Storage::DBI::_populate_dbh
> (/usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 543)
> frame 3: DBIx::Class::Storage::DBI::ensure_connected
> (/usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 557)
> frame 4: DBIx::Class::Storage::DBI::dbh
> (/usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 677)
> frame 5: DBIx::Class::Storage::DBI::txn_begin
> (/usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Schema.pm line 487)
> frame 6: DBIx::Class::Schema::txn_begin
> (/usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Schema.pm line 567)
> frame 7: DBIx::Class::Schema::txn_do
> (/usr/local/SlimServer_v6.5.0/scanner.pl line 253)
> frame 8: (eval) (/usr/local/SlimServer_v6.5.0/scanner.pl line 245)
> frame 9: main::setIsScanning
> (/usr/local/SlimServer_v6.5.0/scanner.pl line 321)
> frame 10: main::cleanup
> (/usr/local/SlimServer_v6.5.0/Slim/bootstrap.pm line 300)
> frame 11: Slim::bootstrap::sigint
> (/usr/local/SlimServer_v6.5.0/Slim/bootstrap.pm line 331)
> frame 12: Slim::bootstrap::END
> (/usr/local/SlimServer_v6.5.0/scanner.pl line 0)
> frame 13: (eval) (/usr/local/SlimServer_v6.5.0/scanner.pl line 0)
>
> 2006-09-22 15:13:54.5230 ERROR: Scanner: Failed to update isScanning:
> [Carp::Clan::__ANON__(): DBI Connection failed: DBI
> connect('database=slimserver','slimserver',...) failed: Can't connect
> to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at
> /usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 652
> ]
>
> 2006-09-22 15:13:54.5231 ERROR: forceCommit: Trying to commit
> transactions before DB is initialized!
>
> 2006-09-22 15:13:54.5241 ERROR: DBI Connection failed: DBI
> connect('database=slimserver','slimserver',...) failed: Can't connect
> to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at
> /usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 652
>
> 2006-09-22 15:13:54.5243 ERROR: Backtrace follows:
>
> 2006-09-22 15:13:54.5245 Backtrace:
>
> frame 0: Slim::Schema::Storage::throw_exception
> (/usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 658)
> frame 1: DBIx::Class::Storage::DBI::_connect
> (/usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 616)
> frame 2: DBIx::Class::Storage::DBI::_populate_dbh
> (/usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 543)
> frame 3: DBIx::Class::Storage::DBI::ensure_connected
> (/usr/local/SlimServer_v6.5.0/CPAN/DBIx/Class/Storage/DBI.pm line 557)
> frame 4: DBIx::Class::Storage::DBI::dbh
> (/usr/local/SlimServer_v6.5.0/Slim/Schema.pm line 247)
> frame 5: (eval) (/usr/local/SlimServer_v6.5.0/Slim/Schema.pm line
> 247)
> frame 6: Slim::Schema::disconnect
> (/usr/local/SlimServer_v6.5.0/scanner.pl line 324)
> frame 7: main::cleanup
> (/usr/local/SlimServer_v6.5.0/Slim/bootstrap.pm line 300)
> frame 8: Slim::bootstrap::sigint
> (/usr/local/SlimServer_v6.5.0/Slim/bootstrap.pm line 331)
> frame 9: Slim::bootstrap::END
> (/usr/local/SlimServer_v6.5.0/scanner.pl line 0)
> frame 10: (eval) (/usr/local/SlimServer_v6.5.0/scanner.pl line 0)
>
I've searched the boards but found no solution - but I don't really
know what I am searching for!
Slim has happily created 15 tables in the database, so I know the
connection is valid. It's written one records to two of the tables.
I'm running the process as slimserver:
su - slimserver
/etc/init.d/slimserver start
Jim
--
jimwillsher
------------------------------------------------------------------------
jimwillsher's Profile: http://forums.slimdevices.com/member.php?userid=410
View this thread: http://forums.slimdevices.com/showthread.php?t=27722
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss