Triode Wrote:
> How big a freeze do you get?
>
> If you start the server from the command line with --perfwarn=0.5 what
> does it show?
Sorry, but I must be missing something obvious here. I ran this as
root:
./slimserver.pl --perfwarn=0.5
...but it fails immediately with this:
060701 20:32:04 [ERROR] Fatal error: Please read "Security" section of
the manual to find out how to run mysqld as root!
060701 20:32:04 [ERROR] Aborting
060701 20:32:04 [Note] /usr/local/slimserver/Bin/i386-linux/mysqld:
Shutdown complete
2006-07-01 20:32:35.1901 ERROR: DBI Connection failed: DBI
connect('hostname=127.0.0.1;port=9092;database=slimserver:mysql_socket=/usr/local/slimserver/Cache/slimserver-mysql.sock','slimserver',...)
failed: Can't connect to MySQL server on '127.0.0.1' (111) at
/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 407
2006-07-01 20:32:35.1912 ERROR: Backtrace follows:
2006-07-01 20:32:35.1923 Backtrace:
frame 0: Slim::Schema::Storage::throw_exception
(/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 413)
frame 1: DBIx::Class::Storage::DBI::_connect
(/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 374)
frame 2: DBIx::Class::Storage::DBI::_populate_dbh
(/usr/local/slimserver/Slim/Schema/Storage.pm line 30)
frame 3: Slim::Schema::Storage::_populate_dbh
(/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 345)
frame 4: DBIx::Class::Storage::DBI::ensure_connected
(/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 359)
frame 5: DBIx::Class::Storage::DBI::dbh
(/usr/local/slimserver/Slim/Schema.pm line 85)
frame 6: Slim::Schema::init
(/usr/local/slimserver/Slim/Music/Info.pm line 60)
frame 7: Slim::Music::Info::init (./slimserver.pl line 385)
frame 8: main::init (./slimserver.pl line 457)
frame 9: main::main (./slimserver.pl line 1058)
Can't use an undefined value as a HASH reference at
/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 375.
2006-07-01 20:32:35.1944 ERROR: forceCommit: Trying to commit
transactions before DB is initialized!
2006-07-01 20:32:35.2002 ERROR: DBI Connection failed: DBI
connect('hostname=127.0.0.1;port=9092;database=slimserver:mysql_socket=/usr/local/slimserver/Cache/slimserver-mysql.sock','slimserver',...)
failed: Can't connect to MySQL server on '127.0.0.1' (111) at
/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 407
2006-07-01 20:32:35.2011 ERROR: Backtrace follows:
2006-07-01 20:32:35.2024 Backtrace:
frame 0: Slim::Schema::Storage::throw_exception
(/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 413)
frame 1: DBIx::Class::Storage::DBI::_connect
(/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 374)
frame 2: DBIx::Class::Storage::DBI::_populate_dbh
(/usr/local/slimserver/Slim/Schema/Storage.pm line 30)
frame 3: Slim::Schema::Storage::_populate_dbh
(/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 345)
frame 4: DBIx::Class::Storage::DBI::ensure_connected
(/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 359)
frame 5: DBIx::Class::Storage::DBI::dbh
(/usr/local/slimserver/Slim/Schema.pm line 170)
frame 6: (eval) (/usr/local/slimserver/Slim/Schema.pm line 170)
frame 7: Slim::Schema::disconnect (./slimserver.pl line 1022)
frame 8: main::cleanup (/usr/local/slimserver/Slim/bootstrap.pm line
217)
frame 9: Slim::bootstrap::sigint
(/usr/local/slimserver/Slim/bootstrap.pm line 246)
frame 10: Slim::bootstrap::END (./slimserver.pl line 0)
frame 11: (eval) (./slimserver.pl line 0)
It starts fine like this:
/etc/init.d/slimserver start
...so should I add some other flag?
Cheers,
Richard
--
SadGamerGeek
------------------------------------------------------------------------
SadGamerGeek's Profile: http://forums.slimdevices.com/member.php?userid=6145
View this thread: http://forums.slimdevices.com/showthread.php?t=24990
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins