Hi bpa, you were right... thanks again so much!
I've changed the timeout value from 0.5 to 10.5 seconds and now setting the httpport on the command line works. So you really found the reason for this error. Now the ball is in your court.... to fix the code... As you already wrote for me too it seems odd that the command line processing code is scheduling a time procedure in order to set some preferences. Below you can find the log for the try with a timeout of 10.5 seconds. Please note that I've started without an existing config file as the other errors might be related to that (for me it still looks somehow strange). I was shortening the log at one place, otherwise my post wouldn't have been accepted. 2007-02-04 00:11:58.1713 SlimServer settings effective user and group if requested... 2007-02-04 00:11:58.1725 SlimServer settings init... 2007-02-04 00:11:58.1862 Use of uninitialized value in join or string at /raid/data/module/PERL/perl/lib/5.8.8/File/Spec/Unix.pm line 81. 2007-02-04 00:11:58.1865 Use of uninitialized value in join or string at /raid/data/module/PERL/perl/lib/5.8.8/File/Spec/Unix.pm line 81. 2007-02-04 00:11:58.1983 SlimServer strings init... 2007-02-04 00:11:58.5770 SlimServer Setup init... 2007-02-04 00:11:58.6007 SlimServer setting language... 2007-02-04 00:11:58.6010 SlimServer MySQL init... 2007-02-04 00:11:59.7811 Firmware init... 2007-02-04 00:11:59.7830 SlimServer Info init... 2007-02-04 00:12:00.3697 SlimServer IR init... 2007-02-04 00:12:00.3922 SlimServer Request init... 2007-02-04 00:12:00.4004 SlimServer Buttons init... 2007-02-04 00:12:00.4056 SlimServer Graphic Fonts init... 2007-02-04 00:12:02.9073 UDP init... 2007-02-04 00:12:02.9088 Slimproto Init... 2007-02-04 00:12:02.9101 mDNS init... 2007-02-04 00:12:02.9105 Async Networking init... 2007-02-04 00:12:02.9379 Cache init... 2007-02-04 00:12:02.9411 UPnP init... 2007-02-04 00:12:02.9414 Adding handler for regular expression /(?-xism:^browseupnp\.(?:htm|xml)) 2007-02-04 00:12:02.9416 Adding handler for regular expression /(?-xism:^upnpinfo\.(?:htm|xml)) 2007-02-04 00:12:02.9437 SlimServer HTTP init... 2007-02-04 00:12:02.9460 Found Template::Stash::XS! 2007-02-04 00:12:02.9462 Adding handler for regular expression /(?-xism:^firmware\.(?:html|xml)) [....] 2007-02-04 00:12:02.9514 Adding handler for regular expression /(?-xism:^hitlist\.(?:htm|xml)) 2007-02-04 00:12:02.9536 Backtrace: frame 0: Slim::Web::HTTP::openport (/raid/data/module/SLIMSERVER/slimserver/Slim/Web/HTTP.pm line 146) frame 1: Slim::Web::HTTP::init (/raid/data/module/SLIMSERVER/slimserver/slimserver.pl line 406) frame 2: main::init (/raid/data/module/SLIMSERVER/slimserver/slimserver.pl line 443) frame 3: main::main (/raid/data/module/SLIMSERVER/slimserver/slimserver.pl line 1071) 2007-02-04 00:12:02.9549 Server /raid/data/module/SLIMSERVER/slimserver/slimserver.pl accepting http connections on port 8500 2007-02-04 00:12:02.9551 Source conversion init.. 2007-02-04 00:12:02.9593 SlimServer Plugins init... 2007-02-04 00:12:03.4951 Adding handler for regular expression /plugins/RandomPlay/randomplay_list.(?:htm|xml) 2007-02-04 00:12:03.4957 Adding handler for regular expression /plugins/RandomPlay/randomplay_settings.(?:htm|xml) 2007-02-04 00:12:03.4961 Adding handler for regular expression /plugins/RandomPlay/randomplay_mix.(?:htm|xml) 2007-02-04 00:12:03.4966 Adding template directory /raid/data/module/SLIMSERVER/slimserver/Plugins/RandomPlay/HTML 2007-02-04 00:12:03.4997 Adding handler for regular expression /plugins/RPC/rpc.js 2007-02-04 00:12:03.5003 Adding handler for regular expression /plugins/RPC/rpc.xml 2007-02-04 00:12:03.5383 Adding handler for regular expression /plugins/Health/player|server.(?:htm|xml) 2007-02-04 00:12:03.5390 Adding handler for regular expression /plugins/Health/index.(?:htm|xml) 2007-02-04 00:12:03.5396 Adding template directory /raid/data/module/SLIMSERVER/slimserver/Plugins/Health/HTML 2007-02-04 00:12:03.5511 Adding handler for regular expression /plugins/RadioIO/index.html 2007-02-04 00:12:03.5663 Adding handler for regular expression /plugins/Podcast/index.html 2007-02-04 00:12:03.5814 Adding handler for regular expression /plugins/DigitalInput/digitalinput_list.(?:htm|xml) 2007-02-04 00:12:03.5822 Adding handler for regular expression /plugins/DigitalInput/digitalinput_set.(?:htm|xml) 2007-02-04 00:12:03.5829 Adding template directory /raid/data/module/SLIMSERVER/slimserver/Plugins/DigitalInput/HTML 2007-02-04 00:12:03.5956 Adding handler for regular expression /plugins/Picks/index.html 2007-02-04 00:12:03.6357 Adding handler for regular expression /plugins/Live365/search.(?:htm|xml) 2007-02-04 00:12:03.6366 Adding handler for regular expression /plugins/Live365/loginout.(?:htm|xml) 2007-02-04 00:12:03.6373 Adding handler for regular expression /plugins/Live365/index.(?:htm|xml) 2007-02-04 00:12:03.6380 Adding handler for regular expression /plugins/Live365/browse.(?:htm|xml) 2007-02-04 00:12:03.6387 Adding handler for regular expression /plugins/Live365/action.(?:htm|xml) 2007-02-04 00:12:03.6395 Adding template directory /raid/data/module/SLIMSERVER/slimserver/Plugins/Live365/HTML 2007-02-04 00:12:03.6431 Adding handler for regular expression /plugins/LMA/index.html 2007-02-04 00:12:03.6477 Adding handler for regular expression /plugins/ShoutcastBrowser/index.html 2007-02-04 00:12:03.6586 Adding handler for regular expression /plugins/RadioTime/index.html 2007-02-04 00:12:03.6879 mDNS startAdvertising... 2007-02-04 00:12:03.6985 SlimServer checkDataSource... 2007-02-04 00:12:03.7854 commit ineffective with AutoCommit enabled at /raid/data/module/SLIMSERVER/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 706. 2007-02-04 00:12:03.7857 Commmit ineffective while AutoCommit is on at /raid/data/module/SLIMSERVER/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 706. 2007-02-04 00:12:03.7863 ERROR: DBD::mysql::db commit failed: Commmit ineffective while AutoCommit is on at /raid/data/module/SLIMSERVER/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 706. 2007-02-04 00:12:03.7865 ERROR: Backtrace follows: 2007-02-04 00:12:03.7869 Backtrace: frame 0: Slim::Schema::throw_exception (/raid/data/module/SLIMSERVER/slimserver/CPAN/DBIx/Class/Schema.pm line 606) frame 1: DBIx::Class::Schema::txn_do (/raid/data/module/SLIMSERVER/slimserver/Slim/Music/Import.pm line 241) frame 2: (eval) (/raid/data/module/SLIMSERVER/slimserver/Slim/Music/Import.pm line 233) frame 3: Slim::Music::Import::setIsScanning (/raid/data/module/SLIMSERVER/slimserver/Slim/Music/Import.pm line 152) frame 4: Slim::Music::Import::launchScan (/raid/data/module/SLIMSERVER/slimserver/Slim/Control/Commands.pm line 1947) frame 5: Slim::Control::Commands::wipecacheCommand (/raid/data/module/SLIMSERVER/slimserver/Slim/Control/Request.pm line 1483) frame 6: (eval) (/raid/data/module/SLIMSERVER/slimserver/Slim/Control/Request.pm line 1483) frame 7: Slim::Control::Request::execute (/raid/data/module/SLIMSERVER/slimserver/Slim/Control/Request.pm line 772) frame 8: Slim::Control::Request::executeRequest (/raid/data/module/SLIMSERVER/slimserver/slimserver.pl line 959) frame 9: main::checkDataSource (/raid/data/module/SLIMSERVER/slimserver/slimserver.pl line 418) frame 10: main::init (/raid/data/module/SLIMSERVER/slimserver/slimserver.pl line 443) frame 11: main::main (/raid/data/module/SLIMSERVER/slimserver/slimserver.pl line 1071) 2007-02-04 00:12:03.7891 SlimServer persist playlists... 2007-02-04 00:12:03.7987 SlimServer done init... The following modules failed to load: DBD::mysql To download and compile them, please run: /raid/data/module/SLIMSERVER/slimserver/Bin/build-perl-modules.pl DBD::mysql Exiting.. 2007-02-04 00:12:06.8512 There was an error while checking for updates to SlimServer: Failed to connect to http://update.slimdevices.com/update/?version=6.5.1&lang=EN (Connect timed out) 2007-02-04 00:12:08.6941 closing http server socket 2007-02-04 00:12:08.6948 Backtrace: frame 0: Slim::Web::HTTP::openport (/raid/data/module/SLIMSERVER/slimserver/Slim/Web/HTTP.pm line 217) frame 1: Slim::Web::HTTP::_adjustHTTPPortCallback (/raid/data/module/SLIMSERVER/slimserver/Slim/Utils/Timers.pm line 182) frame 2: (eval) (/raid/data/module/SLIMSERVER/slimserver/Slim/Utils/Timers.pm line 182) frame 3: Slim::Utils::Timers::checkTimers (/raid/data/module/SLIMSERVER/slimserver/slimserver.pl line 495) frame 4: main::idle (/raid/data/module/SLIMSERVER/slimserver/slimserver.pl line 445) frame 5: main::main (/raid/data/module/SLIMSERVER/slimserver/slimserver.pl line 1071) 2007-02-04 00:12:08.6959 Server /raid/data/module/SLIMSERVER/slimserver/slimserver.pl accepting http connections on port 8500 2007-02-04 00:12:12.0037 Cache purge: FileCache - skipping, purged recently 2007-02-04 00:12:12.1072 Cache purge: Artwork - skipping, purged recently -- n5200 ------------------------------------------------------------------------ n5200's Profile: http://forums.slimdevices.com/member.php?userid=10032 View this thread: http://forums.slimdevices.com/showthread.php?t=32396 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
