Bug 14939 - SqueezeBoxServer does not start - Uninitialised value
: SqueezeBoxServer does not start - Uninitialised value
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 7.4.1
: PC SuSE Linux
: -- major with 1 vote (vote)
: 7.5.x
Assigned To: Matt Wise
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-26 13:40 UTC by David Haggett
Modified: 2011-05-06 12:54 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Haggett 2009-10-26 13:40:22 UTC
Installed on openSUSE 10.3 x86_64 (perl 5.8.8)from the RPM.  Starting the squeezeboxserver returns the following:

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
Use of uninitialized value in subroutine entry at /usr/share/squeezeboxserver/CPAN/YAML/Syck.pm line 75.
[09-10-21 19:48:19.3838] main::init (320) Starting Squeezebox Server (v7.4.1, r28948, Tue Oct 20 14:22:44 PDT 2009) perl 5.008008

After approx 20 seconds squeezeboxserver is no longer running.
Comment 1 Kevin Findlay 2009-11-11 14:49:02 UTC
I also have this problem on a Redhat 5 installation, at least the reference to the Syckpm line 75. I have now uninstalled the Squeezebox from my machine, so I don't have the exact text.
Comment 2 Walker LaRon 2009-12-10 15:05:09 UTC
091210-001940

SUSE 11.2
SB Server 7.4.1 & 7.4.2

Tried fully removing via rpm -e 
Reinstalled, still would not work
Tried clean install a few times, still does not work.

After trying to reinstall, customer received:

"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
Use of uninitialized value in subroutine entry at..."


We were able to start SB Server, but when we got to the last part of the initial set up, he received and error message stating that he lost connection.

Customer also tried installing his own version of MSQL.


Customer posted this information in forum


*****

[09-12-05 12:44:30.4855] main::init (320) Starting Squeezebox Server (v7.4.1, r28947, Tue Oct 20 07:59:38 PDT 2009) perl 5.010000
[09-12-05 12:44:30.6894] Slim::Schema::Storage::throw_exception (82) Error: DBI Connection failed: DBI connect('hostname=127.0.0.1;port=9092;database=sli mserver','slimserver',...) failed: Lost connection to MySQL server at 'reading initial communication packet', system error: 0 at /usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 950
[09-12-05 12:44:30.6899] Slim::Schema::Storage::throw_exception (82) Backtrace:

frame 0: Slim::Utils::Log::logBacktrace (/usr/lib/perl5/vendor_perl/Slim/Schema/Storage.pm line 82)
frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 972)
frame 2: DBIx::Class::Storage:BI::_connect (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 814)
frame 3: DBIx::Class::Storage:BI::_populate_dbh (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 753)
frame 4: DBIx::Class::Storage:BI::ensure_connected (/usr/lib/perl5/vendor_perl/Slim/Schema/Storage.pm line 41)
frame 5: (eval) (/usr/lib/perl5/vendor_perl/Slim/Schema/Storage.pm line 41)
frame 6: Slim::Schema::Storage::dbh (/usr/lib/perl5/vendor_perl/Slim/Schema.pm line 291)
frame 7: Slim::Schema::_connect (/usr/lib/perl5/vendor_perl/Slim/Schema.pm line 127)
frame 8: Slim::Schema::init (/usr/lib/perl5/vendor_perl/Slim/Music/Import.pm line 745)
frame 9: Slim::Music::Import::_checkLibraryStatus (/usr/lib/perl5/vendor_perl/Slim/Music/Import.pm line 678)
frame 10: Slim::Music::Import::useImporter (/usr/lib/perl5/vendor_perl/Slim/Music/MusicFolderScan.pm line 48)
frame 11: Slim::Music::MusicFolderScan::init (/usr/libexec/squeezeboxserver line 429)
frame 12: main::init (/usr/libexec/squeezeboxserver line 572)
frame 13: main::main (/usr/libexec/squeezeboxserver line 1065)

[09-12-05 12:44:30.6904] Slim::Schema::init (130) Error: Couldn't connect to database! Fatal error: [] Exiting!
[09-12-05 12:44:30.6907] Slim::Schema::init (130) Backtrace:

frame 0: Slim::Utils::Log::logBacktrace (/usr/lib/perl5/vendor_perl/Slim/Schema.pm line 130)
frame 1: Slim::Schema::init (/usr/lib/perl5/vendor_perl/Slim/Music/Import.pm line 745)
frame 2: Slim::Music::Import::_checkLibraryStatus (/usr/lib/perl5/vendor_perl/Slim/Music/Import.pm line 678)
frame 3: Slim::Music::Import::useImporter (/usr/lib/perl5/vendor_perl/Slim/Music/MusicFolderScan.pm line 48)
frame 4: Slim::Music::MusicFolderScan::init (/usr/libexec/squeezeboxserver line 429)
frame 5: main::init (/usr/libexec/squeezeboxserver line 572)
frame 6: main::main (/usr/libexec/squeezeboxserver line 1065)

*****


Please see forum post

http://forums.slimdevices.com/showthread.php?t=72251


Thanks,

LaRon
Comment 3 James Rome 2009-12-10 18:37:21 UTC
There is something wrong with the included MySQL package that prevents the server from running. It crashes as soon as it tries to open MySQL. 

On OpenSUSE 11.2 I removed my installed mysql server and client. Then the rpm would not install. mysqld_safe is missing! If I reinstall mysql, it installs, but crashes when it tries to index the database.

This is serious!
Comment 4 James Rome 2009-12-10 18:53:12 UTC
And I too get the locale message, but I think it is not the root cause of this issue. The problem lies in mySQL and your RPM (no Ubuntu/Debian posts).
Comment 5 James Rome 2009-12-28 08:22:41 UTC
This is really critical. It is impossible to run the software!
Please try the rpms on a system without MySql, and you will see that important components are missing./ And with MySQL, it does not work either.
And the instructions in the wiki for how to use SBS with an installed MySQL are probably also wrong, and do not work in any event.
Comment 6 James Rome 2010-01-12 15:32:31 UTC
You need to make a new rpm so we can use our servers again.
Please at least try to use the rpm version, and see that the database is screwed up.

HELPPPPPPPPPPPPPPPPPP
Comment 7 Chris Owens 2010-03-15 18:06:39 UTC
7.4.x milestone is in the past
Comment 8 James Rome 2010-03-15 18:57:01 UTC
7.4.2 seems to work on suse 11.2
Comment 9 Michael Herger 2010-03-16 10:43:12 UTC
James - thanks for the feedback. Closing.