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

    SBS 7.4.1 fails to run,missing symbol 'boot_Class__C3__XS'

    On Feb 13, 2010, at 12:31 PM, bpa wrote:
    >
    > Finally - I am not sure that "buildme.sh" is still right way to buidl
    > modules. I thought in 7.4 a different build was being used - I am not
    > clear on this point - perhaps Andyg can confirm.


    buildme.sh is the new way to build all required modules for 7.4.2 from http://svn.slimdevices.com/repos/sli...k/vendor/CPAN/

    After building you also have to copy the directory structure from build/arch/5.8 to SBS's CPAN/arch/5.8 directory.

    This script supports x86/ARM/PPC Linux, and I don't know if changes are necessary for building on this system.

    Also note that if you use the modules from here you have to run the latest 7.4.2 nightly, it won't work with 7.4.1. If you really want to build modules for 7.4.1 (but why?) you can use this path: http://svn.slimdevices.com/repos/sli...1/vendor/CPAN/


  2. #12
    Member Steevee28's Avatar
    Join Date
    Feb 2010
    Location
    Mannheim, Germany
    Posts
    57

    Angry i'm getting crazy with this - PLEASE HELP! - SBS 7.4.1 exits without error

    Hi all,
    this is driving me crazy. Yesterday I had a state where SBS 7.4.1 started up, even created all cache and prefs directories, and run for a while. However, I could not connect to the web interface.
    So I installed some other perl module (horribly - I forgot which one) and since then, I do have the same problem that I had with the optware package of SBS 7.3.3:
    It starts up, and then after approx. 20 seconds, it dies without writing out any error in the log.
    Grrrrr. This makes me crazy.

    In order to get back to the state of yesterday, I "emptied the shelf" now 3 times and started over again, but without success, this means: I completely uninstalled ALL perl, reinstalled it and the fresh SBS sources and then reinstalled all necessary modules step by step.

    This is what I did in the following order:

    installed mysql 4.1.22 (optware)
    installed perl-5.8.8 (optware)
    installed SBS 7.4.1 sources
    installed perl-dbd-mysql 4.006 (optware) (because I could not get the module to compile)

    from here I used buildme.sh (although I had to fix some minor errors in the makefiles):

    build+install Digest-SHA1
    build+install EV
    build+install DBI
    build+install HTML::Parser
    build+install JSON::XS
    build+install Sub::Name
    build+install YAML::Syck
    build+install XML::Parser
    build+install GD
    build+install Audio::Scan

    now, SBS 7.4.1 started up, but complained about DBIx::Class::Schema being empty, so I installed DBIx-Class-0.08109 from CPAN (WITHOUT dependencies!) (btw. I also had to comment out the requirement in modules.conf, because SBS is for some reason not able to detect the DBIx::Class version. strange...)

    build+install Class::C3::XS
    build+install Compress::Raw::Zlib
    build+install Template

    => so I'm at a point when SBS 7.4.1 starts up without any complaints, but dies after 20 seconds.
    but WHY???????

    Here is the logfile:
    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
    [10-02-14 12:14:43.6365] main::init (320) Starting Squeezebox Server (v7.4.1, r27044, Mon Jun 15 15:04:06 PDT 2009) perl 5.008008
    [10-02-14 12:14:43.6327] main::init (320) Starting Squeezebox Server (v7.4.1, r27044, Mon Jun 15 15:04:06 PDT 2009) perl 5.008008
    Can't call method "log" on an undefined value at /opt/lib/share/squeezeboxserver/CPAN/Log/Log4perl/Appender.pm line 189.

    (note: the log problem occured right from the start - I don't believe that it is the reason for the exit, but some kind of cleanup problem when the app exits for some other reason)

    HELP :-(

    btw. I'm using static linking of all modules, because dynamic linking caused build errors. may be some platform dependent problem...

    additional info:
    when started with --failsafe and --diag I get the following errors:
    100214 14:44:18 [Warning] this binary does not contain INNODB storage engine
    [10-02-14 14:44:26.0765] Slim::Control::Request::execute (1899) Request in error, returning
    Last edited by Steevee28; 2010-02-14 at 06:47. Reason: additional info

  3. #13
    Member Steevee28's Avatar
    Join Date
    Feb 2010
    Location
    Mannheim, Germany
    Posts
    57

    Red face things going on...

    Hey,
    after several reinstalling I found the problem that causes SBS 7.4.1 to quit immediately. It seems to be the access rights in its binary directory.
    The following actions help:

    mkdir -p ${SQUEEZEBOXSERVER_HOME}/prefs/plugin 2>/dev/null
    chown -R ${SQUEEZEBOXSERVER_USER}:${SQUEEZEBOXSERVER_GROUP} ${SQUEEZEBOXSERVER_PREFSDIR}
    touch ${SQUEEZEBOXSERVER_LOG}
    chown ${SQUEEZEBOXSERVER_USER}:${SQUEEZEBOXSERVER_GROUP} ${SQUEEZEBOXSERVER_LOG}
    mkdir -p ${SQUEEZEBOXSERVER_HOME}/cache 2>/dev/null
    chown -R ${SQUEEZEBOXSERVER_USER}:${SQUEEZEBOXSERVER_GROUP} ${SQUEEZEBOXSERVER_HOME}
    mkdir -p /opt/share/squeezeboxserver/Logs
    chown -R ${SQUEEZEBOXSERVER_USER}:${SQUEEZEBOXSERVER_GROUP} /opt/share/squeezeboxserver/Logs
    chmod a+rw /opt/share/squeezeboxserver/Firmware

    Now, the server starts and I can connect to the web configuration interface Yippi!!
    But scanning the music library fails, obviously because some component is still missing. The log output is:

    [10-02-14 17:00:06.5351] main::init (320) Starting Squeezebox Server (v7.4.1, r27044, Mon Jun 15 15:04:06 PDT 2009) perl 5.008008
    [10-02-14 17:00:06.5304] main::init (320) Starting Squeezebox Server (v7.4.1, r27044, Mon Jun 15 15:04:06 PDT 2009) perl 5.008008
    100214 17:00:12 [Warning] this binary does not contain INNODB storage engine
    100214 17:00:21 [Warning] this binary does not contain INNODB storage engine
    [10-02-14 17:00:30.3853] Slim::Control::Request::execute (1899) Request in error, returning
    [10-02-14 17:08:26.5613] Slim::Schema::init (148) Warning: Creating new database - empty database or database from 6.3.x found
    [10-02-14 17:08:26.6003] Slim::Schema::Storage::throw_exception (82) Error: DBI Exception: DBD::mysql::st execute failed: Table 'slimserver.dbix_migration' doesn't exist [for Statement "SELECT value FROM dbix_migration WHERE name = ?;
    " with ParamValues: 0='version']
    [10-02-14 17:08:26.6129] Slim::Schema::Storage::throw_exception (82) Backtrace:

    frame 0: Slim::Utils::Log::logBacktrace (/tmp/c/squeezeboxserver/Slim/Schema/Storage.pm line 82)
    frame 1: Slim::Schema::Storage::throw_exception (/tmp/c/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 957)
    frame 2: DBIx::Class::Storage:BI::__ANON__ (/tmp/c/squeezeboxserver/lib/DBIx/Migration.pm line 237)
    frame 3: (eval) (/tmp/c/squeezeboxserver/lib/DBIx/Migration.pm line 233)
    frame 4: DBIx::Migration::_version (/tmp/c/squeezeboxserver/lib/DBIx/Migration.pm line 149)
    frame 5: DBIx::Migration::version (/tmp/c/squeezeboxserver/Slim/Schema.pm line 479)
    frame 6: Slim::Schema::migrateDB (/tmp/c/squeezeboxserver/Slim/Schema.pm line 162)
    frame 7: Slim::Schema::init (/tmp/c/squeezeboxserver/Slim/Music/Import.pm line 745)
    frame 8: Slim::Music::Import::_checkLibraryStatus (/tmp/c/squeezeboxserver/Slim/Music/Import.pm line 678)
    frame 9: Slim::Music::Import::useImporter (/tmp/c/squeezeboxserver/Slim/Music/MusicFolderScan.pm line 48)
    frame 10: Slim::Music::MusicFolderScan::init (/tmp/c/squeezeboxserver/Slim/Utils/Prefs.pm line 732)
    frame 11: Slim::Utils::Prefs::__ANON__ (/tmp/c/squeezeboxserver/Slim/Utils/Prefs/Base.pm line 307)
    frame 12: Slim::Utils::Prefs::Base::set (/tmp/c/squeezeboxserver/Slim/Web/Settings/Server/Wizard.pm line 106)
    frame 13: Slim::Web::Settings::Server::Wizard::handler (/tmp/c/squeezeboxserver/Slim/Web/HTTP.pm line 1107)
    frame 14: Slim::Web::HTTP::generateHTTPResponse (/tmp/c/squeezeboxserver/Slim/Web/HTTP.pm line 913)
    frame 15: Slim::Web::HTTP:rocessURL (/tmp/c/squeezeboxserver/Slim/Web/HTTP.pm line 724)
    frame 16: Slim::Web::HTTP:rocessHTTP (/tmp/c/squeezeboxserver/Slim/Networking/IO/Select.pm line 139)
    frame 17: (eval) (/tmp/c/squeezeboxserver/Slim/Networking/IO/Select.pm line 123)
    frame 18: Slim::Networking::IO::Select::__ANON__ (/tmp/c/squeezeboxserver/Slim/Networking/IO/Select.pm line 183)
    frame 19: (eval) (/tmp/c/squeezeboxserver/Slim/Networking/IO/Select.pm line 183)
    frame 20: Slim::Networking::IO::Select::loop (/tmp/c/squeezeboxserver/slimserver.pl line 620)
    frame 21: main::idle (/tmp/c/squeezeboxserver/slimserver.pl line 574)

    What is missing?
    Please note that I installed DBIx without its dependent modules. Can this be the problem?

    When I remove --failsafe and --diag, the error output changes to:
    [10-02-14 18:04:00.4971] main::init (320) Starting Squeezebox Server (v7.4.1, r27044, Mon Jun 15 15:04:06 PDT 2009) perl 5.008008
    [10-02-14 18:04:00.4935] main::init (320) Starting Squeezebox Server (v7.4.1, r27044, Mon Jun 15 15:04:06 PDT 2009) perl 5.008008
    100214 18:04:11 [Warning] this binary does not contain INNODB storage engine
    [10-02-14 18:04:29.0095] main::checkDataSource (967) Warning: Schema updated or no tracks in the database, initiating scan.
    [10-02-14 18:04:29.1820] Slim::Control::Request::execute (1918) Error: While trying to run function coderef [Slim::Control::Commands::wipecacheCommand]: [Transactions not supported by database at /tmp/c/squeezeboxserver/Slim/Music/Import.pm line 320.
    ]
    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
    Last edited by Steevee28; 2010-02-14 at 10:11.

  4. #14
    Member Steevee28's Avatar
    Join Date
    Feb 2010
    Location
    Mannheim, Germany
    Posts
    57

    Arrow things going on further...

    hey all,

    the problem of my last post is solved by disabling transactions on the database with the following commands:
    cd /opt/share/squeezeboxserver
    sed -i.orig -e '/^ .*dbh->STORE.*AutoCommit.*0/s/^/#/' CPAN/DBI.pm
    sed -i.orig -e '/^ *Slim::Schema->storage->dbh->{\'AutoCommit\'} = 0/s/^/#/' scanner.pl Slim/Schema/Playlist.pm Slim/Music/Import.pm

    This is taken from thread http://tech.groups.yahoo.com/group/n.../message/22089.
    The sed commands did not work for me, so I did it manually.
    So it brings me a step forward and I get this error from the scanner:

    [10-02-14 18:36:22.2162] Slim::Control::Request::execute (1918) Error: While trying to run function coderef [Slim::Control::Commands::wipecacheCommand]: [Can't call method "scanningProcess" without a package or object reference at /tmp/c/squeezeboxserver/Slim/Music/Import.pm line 174.

    Edit: I just found another DBI.pm in site-perl/5.8.8/CPAN. When I do the replacement there, I get no more errors in the log, but scanning my msuic library still fails. It runs some seconds, then it says that it was "unexpectedly aborted".
    The log:
    [10-02-14 19:15:21.0985] main::init (320) Starting Squeezebox Server (v7.4.1, r27044, Mon Jun 15 15:04:06 PDT 2009) perl 5.008008
    100214 19:15:32 [Warning] this binary does not contain INNODB storage engine
    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
    Last edited by Steevee28; 2010-02-14 at 11:31.

  5. #15
    Member Steevee28's Avatar
    Join Date
    Feb 2010
    Location
    Mannheim, Germany
    Posts
    57

    finally... scan does not work. why?

    Hi all,
    sorry for these bunch of posts, but maybe it helps someone having the same problems...

    Now, I got SBS 7.4.1 running, but music library scan crashes. I enabled INFO logging and got the following errors:

    [10-02-15 10:11:03.1562] Slim::Music::Import::runImporter (568) Starting Slim::Music::MusicFolderScan scan
    [10-02-15 10:11:03.5528] Slim::Utils::Scanner::scanDirectory (320) Found 10 files in /tmp/c/musik
    10% [=========== ] 12.92 items/sec 00:00:00 LEFT[10-02-15 10:11:04.5886] Slim::Schema::Storage::throw_exception (82) Error: DBI Exception: DBD::mysql::st execute failed: Column 'genre' cannot be null [for Statement "
    REPLACE INTO genre_track
    (genre, track)
    VALUES
    (?, ?)
    " with ParamValues: 0=undef, 1='1']
    [10-02-15 10:11:04.6002] Slim::Schema::Storage::throw_exception (82) Backtrace:

    frame 0: Slim::Utils::Log::logBacktrace (/tmp/c/squeezeboxserver/Slim/Schema/Storage.pm line 82)
    frame 1: Slim::Schema::Storage::throw_exception (/tmp/c/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 957)
    frame 2: DBIx::Class::Storage:BI::__ANON__ (/tmp/c/squeezeboxserver/Slim/Schema/Genre.pm line 105)
    frame 3: Slim::Schema::Genre::add (/tmp/c/squeezeboxserver/Slim/Schema.pm line 2253)
    frame 4: Slim::Schema::_postCheckAttributes (/tmp/c/squeezeboxserver/Slim/Schema.pm line 1059)
    frame 5: Slim::Schema::newTrack (/tmp/c/squeezeboxserver/Slim/Utils/Scanner.pm line 347)
    frame 6: Slim::Utils::Scanner::scanDirectory (/tmp/c/squeezeboxserver/Slim/Music/MusicFolderScan.pm line 79)
    frame 7: Slim::Music::MusicFolderScan::startScan (/tmp/c/squeezeboxserver/Slim/Music/Import.pm line 570)
    frame 8: Slim::Music::Import::runImporter (/tmp/c/squeezeboxserver/Slim/Music/Import.pm line 374)
    frame 9: Slim::Music::Import::runScan (/tmp/c/squeezeboxserver/scanner.pl line 294)
    frame 10: (eval) (/tmp/c/squeezeboxserver/scanner.pl line 288)
    frame 11: main::main (/tmp/c/squeezeboxserver/scanner.pl line 439)

    [10-02-15 10:11:04.6231] main::main (300) Error: Failed when running main scan: [Carp::Clan::__ANON__(): DBI Exception: DBD::mysql::st execute failed: Column 'genre' cannot be null [for Statement "
    REPLACE INTO genre_track
    (genre, track)
    VALUES
    (?, ?)
    " with ParamValues: 0=undef, 1='1'] at /tmp/c/squeezeboxserver/Slim/Schema/Storage.pm line 86
    ]
    [

    Is this related to a problem with the mysql version in use? Or just another bug related to some perl modules?

    Note that the relatd music file is mp3 and has an ID3v2 Tag with a correct Genre (Dance) set.

    I'll keep debugging....
    Regards

  6. #16
    Member Steevee28's Avatar
    Join Date
    Feb 2010
    Location
    Mannheim, Germany
    Posts
    57

    Talking finally it WORKS! :-)

    Quote Originally Posted by Steevee28 View Post
    [10-02-15 10:11:04.5886] Slim::Schema::Storage::throw_exception (82) Error: DBI Exception: DBD::mysql::st execute failed: Column 'genre' cannot be null [for Statement "
    REPLACE INTO genre_track
    (genre, track)
    VALUES
    (?, ?)
    " with ParamValues: 0=undef, 1='1']
    [10-02-15 10:11:04.6002] Slim::Schema::Storage::throw_exception (82) Backtrace:
    This error was caused by an obsolete mysql version (had 4.1.22).

    I updated to mysql5 - 5.0.88-1 optware package, replaced errmsg.sys and errmsq.txt in the SBS/MySQL directory by the updated ones, then rebuilt the DBD::mysql module and IT WORKS!!!!
    Cheers

    So, in the next days/weeks, I'll try to move on to SBS 7.4.2, switch back step-by-step from static to dynamic linking, and if that succeeded, I'll build an optware package for NSLU2-linux and post it there...
    lets see....

    Thank you all

  7. #17
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    11,620
    It might be better to look at 7.5 embedded branch as it uses mySQLite and has a smaller memory footprint and is faster when scanning.

    AFAIK - the embedded branch will be the basis for 7.5 release and there will be cutdown version (e.g. no WebUI, no transcoding, no SliMP3, SB1 support) for the Touch player.

  8. #18
    Member Steevee28's Avatar
    Join Date
    Feb 2010
    Location
    Mannheim, Germany
    Posts
    57
    Quote Originally Posted by andyg View Post
    Also note that if you use the modules from here you have to run the latest 7.4.2 nightly, it won't work with 7.4.1. If you really want to build modules for 7.4.1 (but why?) you can use this path: http://svn.slimdevices.com/repos/sli...1/vendor/CPAN/
    Hm. Only your Audio::Scan module differs. All other modules seem not to have changed from 7.4.1 to 7.4.2. Is this correct?

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
  •