Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Squeezebox Server plugin fails to start

  1. #1
    Join Date
    Jul 2011
    Location
    Merrimack, NH, USA
    Posts
    25

    Question Squeezebox Server plugin fails to start

    This is a continuation of an OT thread fragment I started in another thread about default MySQL passwords.

    I'm having problems getting the Logitech SqueezeCenter plug-in to start. I've uninstalled it and installed it a bunch of times. I've deleted the squeezebox database, assuming it'll recreate upon installation. Nothing will get the Squeeze Center to retain a status of ON.

    I initially thought it might have something to do with the fact that I changed the root password in MySQL, but resetting the root password and recreating the slimserver user and database still hasn't helped.

    I found the Squeezebox Wiki page that talks about using an existing MySQL database, which was very interesting, but still hasn't resolved my problem. For those curious, the page walks through creating the slimserver database and granting access to it by an account called slimserver. The credentials used by the Squeezebox Server plugin can be found in the file /APP/SQUEEZE/squeezeboxserver/prefs/server.prefs:

    [root@javelin]# grep db server.prefs
    dbpassword: ''
    dbusername: slimserver

    which I used when creating the slimserver account in MySQL, but still I've come up with no solution.

    Does anyone have any ideas on what else to try?

    - Dave
    Last edited by ViperGeek; 07-26-2011 at 11:15 PM.

  2. #2
    Join Date
    Jul 2011
    Location
    Merrimack, NH, USA
    Posts
    25

    Default

    More indication that my database or installation is FUBAR. This is from /APP/SQUEEZE/squeezeboxserver/Logs/server.log :

    [11-07-26 18:40:14.6659] main::init (326) Starting Squeezebox Server (v7.5.5, r32521, Fri Jun 24 05:06:56 CST 2011) perl 5.010000
    [11-07-26 18:40:19.3381] Slim::Schema::Storage::throw_exception (82) Error: DBI Connection failed: DBI connect('hostname=127.0.0.1;port=3306;
    database=slimserver','slimserver',...) failed: Access denied for user ''@'localhost' to database 'slimserver' at /VOLUME1/PLUGINAPP/SQUEEZE/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 950

    Not quite sure why '' (null) is the username being attempted.

    - Dave
    Last edited by ViperGeek; 07-26-2011 at 11:19 PM.

  3. #3
    Join Date
    Jul 2011
    Location
    Merrimack, NH, USA
    Posts
    25

    Default

    SUCCESS!!!

    The issue wasn't the blank username, but rather the @'localhost' part that was messing up the works. When following the aforementioned instructions to create a new database and user, I ended up with an entry in the user table that looks like this:

    Host = '%'
    User = 'slimserver'
    Password = ''

    I then added another record in the user table of the mysql database as follows:

    Host = 'localhost'
    User = 'slimserver'
    Password = ''

    and the server started.

    - Dave

  4. #4
    Join Date
    May 2010
    Location
    In the land of make believe.
    Posts
    505

    Default

    did you have the mysql plugin running when you install squeezebox server?
    I AM NOT A PATRIOT MEMORY EMPLOYEE.

    But they have, on occasion, bribed me with hardware.



    I am happy to help, but don't PM me. Post a thread in the appropriate forum so others may benefit and offer assistance.
    Your lack of planning is not an emergency on my part.

  5. #5
    Join Date
    Jul 2011
    Location
    Merrimack, NH, USA
    Posts
    25

    Default

    Quote Originally Posted by BadIntentions View Post
    did you have the mysql plugin running when you install squeezebox server?
    Yes. MySQL was running during each of the failed, and the one successful installations. Modifying the slimserver MySQL account seems to have done it.

    Of course, now I'm back to the issue where nothing gets indexed (ref. this thread). Squeezebox Server is running, but not finding any music.

    - Dave
    Last edited by ViperGeek; 07-27-2011 at 04:08 PM.

  6. #6
    Join Date
    May 2010
    Location
    In the land of make believe.
    Posts
    505

    Default

    same issue, with mysql vanishing?
    I AM NOT A PATRIOT MEMORY EMPLOYEE.

    But they have, on occasion, bribed me with hardware.



    I am happy to help, but don't PM me. Post a thread in the appropriate forum so others may benefit and offer assistance.
    Your lack of planning is not an emergency on my part.

  7. #7
    Join Date
    Jul 2011
    Location
    Merrimack, NH, USA
    Posts
    25

    Default

    Quote Originally Posted by BadIntentions View Post
    same issue, with mysql vanishing?
    Yes, I still get "MySQL server has gone away" after some amount of time. The actual MySQL plugin continues to run and even my PHP admin session continues to work. It seems to be a timeout with the TCP connection to 127.0.0.1 (internal loopback), although that's just a SWAG.

    Another interesting oddity is that, after the full hour+ of indexing, there are ZERO entries in the major tables of the slimserver database, and VOLUME1 is completely idle. One would expect some sort of drive churning as Squeezebox indexed my music.

    - Dave

  8. #8
    Join Date
    May 2010
    Location
    In the land of make believe.
    Posts
    505

    Default

    After researching, it appears that its an issue that lots of people are experineince with 7.5.4 and above versions of squeezecenter. I'll look at packaging 7.5.3 for the Javelin (if i can :P)
    I AM NOT A PATRIOT MEMORY EMPLOYEE.

    But they have, on occasion, bribed me with hardware.



    I am happy to help, but don't PM me. Post a thread in the appropriate forum so others may benefit and offer assistance.
    Your lack of planning is not an emergency on my part.

  9. #9
    Join Date
    Jul 2011
    Location
    Merrimack, NH, USA
    Posts
    25

    Default

    You're my hero!!!

    Even if you can't package a down-rev version of SqueezeCenter, at least I can stop picking at the problem and frustrating myself. Phew!

    - Dave

  10. #10
    Join Date
    May 2010
    Location
    In the land of make believe.
    Posts
    505

    Default

    It appears there is some sort of issue with the version of JSON:XS shipped with the plugin. The plugin appears to be a universal version intended for both types of CPU that could be found in this device (there was at one point an Intel Tolopai version available, but Patriot never went forward with it).

    I am going to see if i can make the other version i have run...
    I AM NOT A PATRIOT MEMORY EMPLOYEE.

    But they have, on occasion, bribed me with hardware.



    I am happy to help, but don't PM me. Post a thread in the appropriate forum so others may benefit and offer assistance.
    Your lack of planning is not an emergency on my part.

Tags for this Thread

Posting Permissions

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