Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Administrator andyg's Avatar
    Join Date
    Jan 2006
    Location
    Pittsburgh, PA
    Posts
    7,396

    SBS 7.4 and problems loadingmodules

    Nope, I don't really know what to tell you, check that your database
    is running. Unfortunately, you are kinda on your own since you are
    running on an unsupported platform.

    On Sep 29, 2009, at 3:31 PM, andifor wrote:

    >
    > andifor;462701 Wrote:
    >> Ok, I compiled and installed all the needed dependencies for GD.
    >> Now, I
    >> have to update some of the other modules...
    >>
    >> Still I'm surprised I have to update some modules like DBI,
    >> HTML::Parser, or JSAN::XS. Are these all binary modules? Anyway, I
    >> let
    >> you know about my success :-)

    >
    >
    > No success :-(
    >
    > Did you change the database backend?
    >
    >
    > [09-09-29 21:26:21.3574] Slim::Schema::Storage::throw_exception (82)
    > Error: DBI Connection failed: DBI
    > connect
    > ('hostname=127.0.0.1;port=9092;database=slimserver ','slimserver',...)
    > failed: Can't connect to MySQL server on '127.0.0.1' (111) at
    > /opt/squeezeboxserver-7.4.0-28672/CPAN/DBIx/Class/Storage/DBI.pm line
    > 950
    >
    > + some backtraces, should I post them? Do you have time for analysis?
    >
    > Thanks so far!
    > andifor


  2. #12
    Member
    Join Date
    Mar 2008
    Location
    Zürich/Switzerland
    Posts
    87
    Quote Originally Posted by andyg View Post
    Nope, I don't really know what to tell you, check that your database
    is running. Unfortunately, you are kinda on your own since you are
    running on an unsupported platform.
    I understand your position.

    I have a symlink to 7.3.3, squeezecenter works but if
    I change the symlink to 7.4.0, squeezeboxserver fails.

    So it looks as the database is running. Do you have a different DB format, should I clean the old DB? Any changes you can think of?



    Your locale was detected as C, you may have problems with non-Latin filenames. Consider changing your LANG variable to the correct locale, i.e. en_US.utf8
    NOTE: Class::XSAccessor not found, install it for better performance
    NOTE: Class::XSAccessor::Array not found, install it for better performance
    [09-09-29 21:56:52.8391] main::init (320) Starting Squeezebox Server (v7.4.0, r28672, Mon Sep 28 17:52:40 PDT 2009) perl 5.010000
    [09-09-29 21:56:52.8861] Slim::Schema::Storage::throw_exception (82) Error: DBI Connection failed: DBI connect('hostname=127.0.0.1;port=9092;database=sli mserver','slimserver',...) failed: Can't connect to MySQL server on '127.0.0.1' (111) at /opt/squeezeboxserver-7.4.0-28672/CPAN/DBIx/Class/Storage/DBI.pm line 950
    [09-09-29 21:56:52.8866] Slim::Schema::Storage::throw_exception (82) Backtrace:

    frame 0: Slim::Utils::Log::logBacktrace (/opt/squeezeboxserver-7.4.0-28672/Slim/Schema/Storage.pm line 82)
    frame 1: Slim::Schema::Storage::throw_exception (/opt/squeezeboxserver-7.4.0-28672/CPAN/DBIx/Class/Storage/DBI.pm line 972)
    frame 2: DBIx::Class::Storage:BI::_connect (/opt/squeezeboxserver-7.4.0-28672/CPAN/DBIx/Class/Storage/DBI.pm line 814)
    frame 3: DBIx::Class::Storage:BI::_populate_dbh (/opt/squeezeboxserver-7.4.0-28672/CPAN/DBIx/Class/Storage/DBI.pm line 753)
    frame 4: DBIx::Class::Storage:BI::ensure_connected (/opt/squeezeboxserver-7.4.0-28672/Slim/Schema/Storage.pm line 41)
    frame 5: (eval) (/opt/squeezeboxserver-7.4.0-28672/Slim/Schema/Storage.pm line 41)
    frame 6: Slim::Schema::Storage::dbh (/opt/squeezeboxserver-7.4.0-28672/Slim/Schema.pm line 291)
    frame 7: Slim::Schema::_connect (/opt/squeezeboxserver-7.4.0-28672/Slim/Schema.pm line 127)
    frame 8: Slim::Schema::init (/opt/squeezeboxserver-7.4.0-28672/Slim/Music/Import.pm line 740)
    frame 9: Slim::Music::Import::_checkLibraryStatus (/opt/squeezeboxserver-7.4.0-28672/Slim/Music/Import.pm line 673)
    frame 10: Slim::Music::Import::useImporter (/opt/squeezeboxserver-7.4.0-28672/Slim/Music/PlaylistFolderScan.pm line 53)
    frame 11: Slim::Music::PlaylistFolderScan::init (/opt/squeezeboxserver-7.4.0-28672/Slim/Utils/Prefs.pm line 702)
    frame 12: Slim::Utils::Prefs::__ANON__ (/opt/squeezeboxserver-7.4.0-28672/Slim/Utils/Prefs/Base.pm line 303)
    frame 13: Slim::Utils::Prefs::Base::set (/opt/squeezeboxserver/slimserver.pl line 799)
    frame 14: main::initSettings (/opt/squeezeboxserver/slimserver.pl line 332)
    frame 15: main::init (/opt/squeezeboxserver/slimserver.pl line 572)
    frame 16: main::main (/opt/squeezeboxserver/slimserver.pl line 1103)

    [09-09-29 21:56:52.8870] Slim::Schema::init (130) Error: Couldn't connect to database! Fatal error: [] Exiting!
    [09-09-29 21:56:52.8873] Slim::Schema::init (130) Backtrace:

    frame 0: Slim::Utils::Log::logBacktrace (/opt/squeezeboxserver-7.4.0-28672/Slim/Schema.pm line 130)
    frame 1: Slim::Schema::init (/opt/squeezeboxserver-7.4.0-28672/Slim/Music/Import.pm line 740)
    frame 2: Slim::Music::Import::_checkLibraryStatus (/opt/squeezeboxserver-7.4.0-28672/Slim/Music/Import.pm line 673)
    frame 3: Slim::Music::Import::useImporter (/opt/squeezeboxserver-7.4.0-28672/Slim/Music/PlaylistFolderScan.pm line 53)
    frame 4: Slim::Music::PlaylistFolderScan::init (/opt/squeezeboxserver-7.4.0-28672/Slim/Utils/Prefs.pm line 702)
    frame 5: Slim::Utils::Prefs::__ANON__ (/opt/squeezeboxserver-7.4.0-28672/Slim/Utils/Prefs/Base.pm line 303)
    frame 6: Slim::Utils::Prefs::Base::set (/opt/squeezeboxserver/slimserver.pl line 799)
    frame 7: main::initSettings (/opt/squeezeboxserver/slimserver.pl line 332)
    frame 8: main::init (/opt/squeezeboxserver/slimserver.pl line 572)
    frame 9: main::main (/opt/squeezeboxserver/slimserver.pl line 1103)

    [09-09-29 21:56:52.8877] Slim::Schema::forceCommit (1600) Warning: Trying to commit transactions before DB is initiaized!

  3. #13
    Member
    Join Date
    Mar 2008
    Location
    Zürich/Switzerland
    Posts
    87
    Quote Originally Posted by andifor View Post
    I understand your position.

    I have a symlink to 7.3.3, squeezecenter works but if
    I change the symlink to 7.4.0, squeezeboxserver fails.

    So it looks as the database is running. Do you have a different DB format, should I clean the old DB? Any changes you can think of?
    Well, if I do delete my configuration directory, SBS 7.4 does start, but I have to reconfigure. But...

    How do I start configuration? All I get is some "Sign in" screen, but I don't know how to sign in, where to sign in and why? The server has no internet connection so it would not be possible anyway.

    Any hint how to solve this?

  4. #14
    Member
    Join Date
    Mar 2008
    Location
    Zürich/Switzerland
    Posts
    87
    Quote Originally Posted by andifor View Post
    Well, if I do delete my configuration directory, SBS 7.4 does start, but I have to reconfigure. But...

    How do I start configuration? All I get is some "Sign in" screen, but I don't know how to sign in, where to sign in and why? The server has no internet connection so it would not be possible anyway.

    Any hint how to solve this?
    Ok, I did find a skip button at the bottom of the screen...


    But after stopping and re-starting the server, I have the previous error (Can't connect to MySQL server on '127.0.0.1') so I guess, I have to debug the server and check what's going on :-(

  5. #15
    Member
    Join Date
    Mar 2008
    Location
    Zürich/Switzerland
    Posts
    87
    Quote Originally Posted by andifor View Post
    Ok, I did find a skip button at the bottom of the screen...


    But after stopping and re-starting the server, I have the previous error (Can't connect to MySQL server on '127.0.0.1') so I guess, I have to debug the server and check what's going on :-(

    Well, the problem is somewhere in the playlist handling. If I comment out the playlist loading (slimserver.pl +799 and +828), I can start the server, but it crashes as soon as I want to scan my music library.


    I guess this is not a job for half an hour.

Posting Permissions

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