Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Apr 2005
    Posts
    27

    Slim server dying

    Hello
    I am having issues with Slimserver 6.1 and 6.0.x. When I turn the Squeezebox on and use one of the arrow keys on the remote control the slimserver process dies. I then restart slimserver and everything will work fine until the next day when I go to use the squeezebox again. One strange thing is that after restarting slimserver it seems to work fine for the rest of the day no matter how many times I turn off/on the squeezebox. I have the Rescan music library function on to run at 4am every night, not sure if that is related.

    I run slimserver on gentoo linux with mysql on the backend, I see "MySQL server has gone away" in the logs but the MySQL server seems to be running fine.

    Here is the log file:

    DBD::mysql::st execute failed: MySQL server has gone away at /usr/local/SlimServer_v2005-06-09/CPAN/DBIx/ContextualFetch.pm line 51.
    Uncaught exception from user code:
    Slim:ataStores:BI::Track can't SELECT id, multialbumsortkey, thumb, age, ct, titlesort, album, tracknum, url, tag, title, disc, fs
    FROM tracks
    WHERE url = ?
    : DBD::mysql::st execute failed: MySQL server has gone away at /usr/local/SlimServer_v2005-06-09/CPAN/DBIx/ContextualFetch.pm line 51.
    at /usr/local/SlimServer_v2005-06-09/Slim/DataStores/DBI/DBIStore.pm line 994
    at /usr/local/SlimServer_v2005-06-09/CPAN/Class/DBI.pm line 230
    Class:BI::_croak('Slim:ataStores:BI::Track', 'Slim:ataStores:BI::Track can\'t SELECT id, multialbumsort...', 'err', 'DBD::mysql::st execute failed: MySQL server has gone away at ...') called at /usr/local/SlimServer_v2005-06-09/CPAN/Class/DBI.pm line 1197
    Class:BI::sth_to_objects('Slim:ataStores:BI::Track', 'DBIx::ContextualFetch::st=HASH(0x986e2f8)', 'ARRAY(0x9b285cc)') called at /usr/local/SlimServer_v2005-06-09/CPAN/Class/DBI.pm line 1162
    Class:BI::_do_search('Slim:ataStores:BI::Track', '=', 'url', 'file:///media/mp3s') called at /usr/local/SlimServer_v2005-06-09/CPAN/Class/DBI.pm line 1119
    Class:BI::search('Slim:ataStores:BI::Track', 'url', 'file:///media/mp3s') called at /usr/local/SlimServer_v2005-06-09/Slim/DataStores/DBI/DBIStore.pm line 994
    Slim:ataStores:BI:BIStore::_retrieveTrack('Slim:ataStores:BI:BIStore=HASH(0x9916198)', 'file:///media/mp3s', 'undef') called at /usr/local/SlimServer_v2005-06-09/Slim/DataStores/DBI/DBIStore.pm line 148
    Slim:ataStores:BI:BIStore:bjectForUrl('Slim:ataStores:BI:BIStore=HASH(0x9916198)', 'file:///media/mp3s') called at /usr/local/SlimServer_v2005-06-09/Slim/DataStores/DBI/DBIStore.pm line 122
    Slim:ataStores:BI:BIStore::contentType('Slim:ataStores:BI:BIStore=HASH(0x9916198)', 'file:///media/mp3s') called at /usr/local/SlimServer_v2005-06-09/Slim/Music/Info.pm line 1731
    Slim::Music::Info::isList('file:///media/mp3s') called at /usr/local/SlimServer_v2005-06-09/Slim/Buttons/Browse.pm line 350
    Slim::Buttons::Browse::loadDir('Slim::Player::Sque ezeboxG=ARRAY(0x99bbde0)', '', 'right', 'ARRAY(0x9c3f09c)') called at /usr/local/SlimServer_v2005-06-09/Slim/Buttons/Browse.pm line 239
    Slim::Buttons::Browse::__ANON__('Slim::Player::Squ eezeboxG=ARRAY(0x99bbde0)') called at /usr/local/SlimServer_v2005-06-09/Slim/Buttons/Home.pm line 380
    Slim::Buttons::Home::homeExitHandler('Slim::Player ::SqueezeboxG=ARRAY(0x99bbde0)', 'right') called at /usr/local/SlimServer_v2005-06-09/Slim/Buttons/Input/List.pm line 304
    Slim::Buttons::Input::List::exitInput('Slim::Playe r::SqueezeboxG=ARRAY(0x99bbde0)', 'right') called at /usr/local/SlimServer_v2005-06-09/Slim/Buttons/Input/List.pm line 64
    Slim::Buttons::Input::List::__ANON__('Slim::Player ::SqueezeboxG=ARRAY(0x99bbde0)', 'exit_right', 'right') called at /usr/local/SlimServer_v2005-06-09/Slim/Hardware/IR.pm line 664
    Slim::Hardware::IR::executeButton('Slim::Player::S queezeboxG=ARRAY(0x99bbde0)', 'exit_right', 15.076, 'undef', 1) called at /usr/local/SlimServer_v2005-06-09/Slim/Control/Command.pm line 622
    Slim::Control::Command::execute('Slim::Player::Squ eezeboxG=ARRAY(0x99bbde0)', 'ARRAY(0x9b27dc8)') called at /usr/local/SlimServer_v2005-06-09/Slim/Player/Client.pm line 963
    Slim::Player::Client::execute('Slim::Player::Squee zeboxG=ARRAY(0x99bbde0)', 'ARRAY(0x9b27dc8)') called at /usr/local/SlimServer_v2005-06-09/Slim/Hardware/IR.pm line 688
    Slim::Hardware::IR:rocessCode('Slim::Player::SqueezeboxG=ARRAY(0x99bb de0)', 'exit_right', 15.076) called at /usr/local/SlimServer_v2005-06-09/Slim/Hardware/IR.pm line 495
    Slim::Hardware::IR:rocessIR('Slim::Player::SqueezeboxG=ARRAY(0x99bbde 0)', '7689d02f', 15.076) called at /usr/local/SlimServer_v2005-06-09/Slim/Control/Command.pm line 622
    Slim::Control::Command::execute('Slim::Player::Squ eezeboxG=ARRAY(0x99bbde0)', 'ARRAY(0x9b27eb8)') called at /usr/local/SlimServer_v2005-06-09/Slim/Player/Client.pm line 963
    Slim::Player::Client::execute('Slim::Player::Squee zeboxG=ARRAY(0x99bbde0)', 'ARRAY(0x9b27eb8)') called at /usr/local/SlimServer_v2005-06-09/Slim/Hardware/IR.pm line 90
    Slim::Hardware::IR::idle() called at /usr/local/slimserver/slimserver.pl line 602
    main::idle() called at /usr/local/slimserver/slimserver.pl line 568
    main::main() called at /usr/local/slimserver/slimserver.pl line 1155


    Any help would be greatly appreciated.
    Thanks
    -Jason

  2. #2
    NOT a Slim Devices Employee kdf's Avatar
    Join Date
    Apr 2005
    Posts
    9,493

    Slim server dying

    Sounds like this:
    http://bugs.slimdevices.com/show_bug.cgi?id=947

    Mysql isn't officially supported as yet, but the report does point out a few
    workarounds/patches to try.
    -kdf

  3. #3
    Junior Member
    Join Date
    Apr 2005
    Posts
    27
    Thank you sir, that seems to have fixed the problem.

    -jason

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •