Home of the Squeezebox™ & Transporter® network music players.
Page 14 of 14 FirstFirst ... 4121314
Results 131 to 140 of 140
  1. #131

    squeezeboxserver --d_startup Part II (too long for a single post)

    The following modules are loaded after the second attempt:
    YAML/Syck.pm => /usr/share/squeezeboxserver/CPAN/YAML/Syck.pm
    attributes.pm => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/attributes.pm
    List/Util.pm => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/List/Util.pm
    POSIX.pm => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/POSIX.pm
    GD/Polygon.pm => /usr/share/squeezeboxserver/CPAN/GD/Polygon.pm
    Tie/Hash.pm => /usr/lib/perl5/5.12.3/Tie/Hash.pm
    Cwd.pm => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/Cwd.pm
    Slim/Utils/OSDetect.pm => Slim/Utils/OSDetect.pm
    Digest/base.pm => /usr/share/squeezeboxserver/CPAN/Digest/base.pm
    Slim/Utils/OS/RedHat.pm => Slim/Utils/OS/RedHat.pm
    Slim/Utils/OS/Linux.pm => Slim/Utils/OS/Linux.pm
    Fcntl.pm => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/Fcntl.pm
    Symbol.pm => /usr/lib/perl5/5.12.3/Symbol.pm
    Scalar/Util.pm => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/Scalar/Util.pm
    Exporter.pm => /usr/lib/perl5/5.12.3/Exporter.pm
    Slim/Utils/OS.pm => Slim/Utils/OS.pm
    Slim/Utils/OS/Suse.pm => Slim/Utils/OS/Suse.pm
    File/Spec.pm => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/File/Spec.pm
    locale.pm => /usr/lib/perl5/5.12.3/locale.pm
    warnings/register.pm => /usr/lib/perl5/5.12.3/warnings/register.pm
    XSLoader.pm => /usr/lib/perl5/5.12.3/XSLoader.pm
    Slim/bootstrap.pm => Slim/bootstrap.pm
    XML/Parser/Expat.pm => /usr/share/squeezeboxserver/CPAN/XML/Parser/Expat.pm
    DBI.pm => /usr/share/squeezeboxserver/CPAN/DBI.pm
    Config_git.pl => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/Config_git.pl
    GD/Image.pm => /usr/share/squeezeboxserver/CPAN/GD/Image.pm
    EV.pm => /usr/share/squeezeboxserver/CPAN/EV.pm
    /usr/lib/perl5/5.12.3/i586-linux-thread-multi/auto/POSIX/load_imports.al => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/auto/POSIX/load_imports.al
    common/sense.pm => /usr/share/squeezeboxserver/CPAN/common/sense.pm
    File/Spec/Unix.pm => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/File/Spec/Unix.pm
    Exporter/Heavy.pm => /usr/lib/perl5/5.12.3/Exporter/Heavy.pm
    vars.pm => /usr/lib/perl5/5.12.3/vars.pm
    strict.pm => /usr/lib/perl5/5.12.3/strict.pm
    Config_heavy.pl => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/Config_heavy.pl
    AutoLoader.pm => /usr/lib/perl5/5.12.3/AutoLoader.pm
    HTML/Entities.pm => /usr/share/squeezeboxserver/CPAN/HTML/Entities.pm
    lib.pm => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/lib.pm
    GD.pm => /usr/share/squeezeboxserver/CPAN/GD.pm
    IO/Handle.pm => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/IO/Handle.pm
    HTML/Parser.pm => /usr/share/squeezeboxserver/CPAN/HTML/Parser.pm
    File/Spec/Functions.pm => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/File/Spec/Functions.pm
    Getopt/Long.pm => /usr/lib/perl5/5.12.3/Getopt/Long.pm
    SelectSaver.pm => /usr/lib/perl5/5.12.3/SelectSaver.pm
    Locale/Hebrew.pm => /usr/share/squeezeboxserver/CPAN/Locale/Hebrew.pm
    DBD/mysql.pm => /usr/share/squeezeboxserver/CPAN/DBD/mysql.pm
    warnings.pm => /usr/lib/perl5/5.12.3/warnings.pm
    /usr/lib/perl5/5.12.3/i586-linux-thread-multi/auto/POSIX/autosplit.ix => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/auto/POSIX/autosplit.ix
    Sub/Name.pm => /usr/share/squeezeboxserver/CPAN/Sub/Name.pm
    UNIVERSAL.pm => /usr/lib/perl5/5.12.3/UNIVERSAL.pm
    version/vpp.pm => /usr/share/squeezeboxserver/CPAN/version/vpp.pm
    JSON/XS.pm => /usr/share/squeezeboxserver/CPAN/JSON/XS.pm
    File/Path.pm => /usr/lib/perl5/5.12.3/File/Path.pm
    FindBin.pm => /usr/lib/perl5/5.12.3/FindBin.pm
    Digest/SHA1.pm => /usr/share/squeezeboxserver/CPAN/Digest/SHA1.pm
    Time/HiRes.pm => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/Time/HiRes.pm
    IO/Seekable.pm => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/IO/Seekable.pm
    version.pm => /usr/share/squeezeboxserver/CPAN/version.pm
    base.pm => /usr/lib/perl5/5.12.3/base.pm
    File/Basename.pm => /usr/lib/perl5/5.12.3/File/Basename.pm
    Config.pm => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/Config.pm
    IO.pm => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/IO.pm
    Carp.pm => /usr/lib/perl5/5.12.3/Carp.pm
    FileHandle.pm => /usr/lib/perl5/5.12.3/FileHandle.pm
    constant.pm => /usr/lib/perl5/5.12.3/constant.pm
    overload.pm => /usr/lib/perl5/5.12.3/overload.pm
    IO/File.pm => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/IO/File.pm
    Slim/Utils/OS/Unix.pm => Slim/Utils/OS/Unix.pm
    DynaLoader.pm => /usr/lib/perl5/5.12.3/i586-linux-thread-multi/DynaLoader.pm

    Use of uninitialized value in subroutine entry at /usr/share/squeezeboxserver/CPAN/YAML/Syck.pm line 75.
    [11-03-08 12:25:24.5240] main::init (323) Starting Squeezebox Server (v7.5.3, r31792, Mon Jan 24 08:18:00 MST 2011) perl 5.012003
    [11-03-08 12:25:24.5945] main::changeEffectiveUserAndGroup (887) Warning: Squeezebox Server must not be run as root! Trying user squeezeboxserver instead.
    110308 12:25:27 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
    110308 12:25:27 [Warning] '--default-character-set' is deprecated and will be removed in a future release. Please use '--character-set-server' instead.
    110308 12:25:27 [Warning] '--default-collation' is deprecated and will be removed in a future release. Please use '--collation-server' instead.
    [11-03-08 12:25:28.5825] Slim::Music::TitleFormatter::init (42) Warning: Can't locate Slim/Schema/Track.pm in @INC (@INC contains: /var/lib/squeezeboxserver/cache/InstalledPlugins /usr/share/squeezeboxserver/CPAN/arch/5.12/i386-linux-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.12/i386-linux-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/5.12.3/i586-linux-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.12.3/i586-linux-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/5.12/i586-linux-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.12/i586-linux-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/i586-linux-thread-multi /usr/share/squeezeboxserver/lib /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/libexec /usr/lib/perl5/site_perl/5.12.3/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.12.3 /usr/lib/perl5/vendor_perl/5.12.3/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.3 /usr/lib/perl5/5.12.3/i586-linux-thread-multi /usr/lib/perl5/5.12.3 .) at Slim/Music/TitleFormatter.pm line 42.
    P1630:~ #

  2. #132

    more experimentation

    Then following another thread I did what it suggested:
    + Add the SBS repo

    Then as root:

    + Install the latest (7.5.3-1)

    + ln -s /usr/lib/perl5/vendor_perl/Slim/ /usr/lib/perl5/vendor_perl/5.12.1/Slim

    Well the numbers have changed, so instead I do
    P1630:~ # ln -s /usr/lib/perl5/vendor_perl/Slim/ /usr/lib/perl5/vendor_perl/5.12.3/Slim

    + P1630:~ # service squeezeboxserver start

    It responds:
    Starting Squeezebox Server: done
    P1630:~ # 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
    Can't open /var/log/squeezeboxserver/server.log (Permission denied) at /usr/share/squeezeboxserver/CPAN/Log/Log4perl/Appender/File.pm line 103.


    The permissions on /var/log/squeezeboxserver/ are drwxr-xr-x
    The permissions on the log are rw-r--r-- but the group is root, not squeezeboxserver. So I change the owner and group to squeezeboxserver and for good measure do the same for perfmon.log, which had the same problem.

    Now we get:
    [11-03-09 09:53:14.3867] main::init (323) Starting Squeezebox Server (v7.5.3, r31792, Mon Jan 24 08:18:00 MST 2011) perl 5.012003
    110309 9:53:19 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
    110309 9:53:19 [Warning] '--default-character-set' is deprecated and will be removed in a future release. Please use '--character-set-server' instead.
    110309 9:53:19 [Warning] '--default-collation' is deprecated and will be removed in a future release. Please use '--collation-server' instead.


    and ...

    UP SHE COMES!!

    But it opens to the Wizard, which hangs. I check my mysqueezebox.com username and password and can log in, but the server wizard just sits there. I do get a command line message:
    P1630:~ # klauncher(29504)/kio (KLauncher): SlavePool: No communication with slave.

    Nothing in dmesg or messages.

    So just click Skip and continue with the wizard. Click Finish. Lots of disk thrashing and a message in the lower left hand corner Waiting for 127.0.0.1. No firewall complaints, so let's just close the window and try again:

    Hmmm. more of the same.

    OK, well progress, I'll save this, explore some more and report back.

    Cheers, AndyL

  3. #133

    SBS 7.5.3 fixed on openSUSE 11.4

    It works!

    So the key fixes were:

    + Providing a link to bootstrap.pm in one of the directories on the $PATH

    + Correcting the owner and group of the logs to squeezeboxserver

    + Setting up the firewall to masquerade the internal 192.168.x.0/24 network.

    + Explicitly setting Custom rules on the firewall to allow ports 3483 and 9000 in TCP and UDP.

    Now for some tunes...

    Cheers, AndyL
    =================== Details ==========================
    OK. The server.log had a warning Warning: Squeezebox Server must not be run as root! Trying user squeezeboxserver instead.

    So close it down and restart it as $user.
    But this gets us:
    andy@P1630:/> service squeezeboxserver start
    service: only root can use service

    So back to basics, restart it as root. All the HTML work is and has been as $user.

    dmesg and messages have no evidence of firewall activity. But check the firewall anyhow to ensure we allow ports 3483 and 9000 on both TCP and UDP. This is done through Custom rules:

    Internal Zone
    Interfaces
    AR928X Wireless Network Adapter (PCI-Express) / wlan0
    Open Services, Ports, and Protocols
    Internal zone is unprotected. All ports are open.
    Custom Rules
    4 custom rules are defined

    ping 192.168.5.4 (the Squeezebox) works.

    And so does the SBS/SB!
    Last edited by alavarre1; 2011-03-09 at 09:39. Reason: Title correction

  4. #134
    formerly known as Fletch
    Join Date
    May 2005
    Posts
    2,239
    Quote Originally Posted by alavarre1;616720+ Correcting the owner and group of the logs to [B
    squeezeboxserver[/B]
    I'm pretty sure the RPM sets this up correctly. Trying to run squeezeboxserver as root breaks it.

  5. #135
    Junior Member
    Join Date
    Aug 2010
    Posts
    4

    SuSE 11.3 squeezeboxserver problem

    I am very frustrated that after so much time Slimdevices has left this problem unsolved for SuSE users:

    bwv1060:~ # service squeezeboxserver start
    Starting Squeezebox Server: Use of inherited AUTOLOAD for non-method YAML::Syck:umpYAML() is deprecated at /usr/share/squeezeboxserver/CPAN/YAML/Syck.pm line 65.
    done
    bwv1060:~ # The following modules failed to load: JSON::XS YAML::Syck GD Sub::Name


    *******

    NOTE:

    If you're running some unsupported Linux/Unix platform, please use the buildme.sh
    script located here:

    http://svn.slimdevices.com/repos/sli...k/vendor/CPAN/

    If 7.6 is outdated by the time you read this, Replace "7.6" with the major version
    You should never need to do this if you're on Windows or Mac OSX. If the installers
    don't work for you, ask for help and/or report a bug.

    of Squeezebox Server you are running.

    *******


    Exiting..
    bwv1060:~ # rpm -q --whatprovides squeezeboxserver
    squeezeboxserver-7.6.0-0.1.31190.noarch
    bwv1060:~ # rpm -q --whatprovides perl
    perl-5.12.1-2.3.1.x86_64



    I found a way around it which is to give the command

    env LD_LIBRARY_PATH=/usr/lib64/llvm-gcc/lib64/:/usr/lib64/llvm-gcc/lib64/:/usr/lib64/llvm-gcc/lib64/:/usr/local/lib/ /usr/bin/perl -f /usr/libexec/squeezeboxserver

    [but I do not know how or why it works]

    Second thing I would like someone to give me some ideas is how to get rid of the idiotic use of the database behind their server:

    1st of all, using the database is useless as information contained in the songs is mostly crap;
    2nd, it slows down significantly the performance of the squeezeboxserver its self - although I am using top hardware, I have unacceptable delays!
    3rd is there any software that could do a very simple task: I click on the file - it plays on my boom or Transporter !

  6. #136
    Senior Member
    Join Date
    Aug 2005
    Posts
    553

    Can you provide more explicit details?

    See ### below

    So the key fixes were:

    + Providing a link to bootstrap.pm in one of the directories on the $PATH
    ### On whose PATH? And where is bootstrap.pm?

    + Correcting the owner and group of the logs to squeezeboxserver

    + Setting up the firewall to masquerade the internal 192.168.x.0/24 network.
    ### How is this done?

    + Explicitly setting Custom rules on the firewall to allow ports 3483 and 9000 in TCP and UDP.


    Cheers, AndyL
    =================== Details ==========================
    OK. The server.log had a warning Warning: Squeezebox Server must not be run as root! Trying user squeezeboxserver instead.

    So close it down and restart it as $user.
    But this gets us:
    andy@P1630:/> service squeezeboxserver start
    service: only root can use service

    So back to basics, restart it as root. All the HTML work is and has been as $user.

    dmesg and messages have no evidence of firewall activity. But check the firewall anyhow to ensure we allow ports 3483 and 9000 on both TCP and UDP. This is done through Custom rules:

    Internal Zone
    Interfaces
    AR928X Wireless Network Adapter (PCI-Express) / wlan0
    Open Services, Ports, and Protocols
    Internal zone is unprotected. All ports are open.
    Custom Rules
    4 custom rules are defined

    ping 192.168.5.4 (the Squeezebox) works.

    And so does the SBS/SB!

  7. #137
    Junior Member
    Join Date
    Oct 2010
    Posts
    3
    Quote Originally Posted by katoulos View Post
    I found a way around it which is to give the command

    env LD_LIBRARY_PATH=/usr/lib64/llvm-gcc/lib64/:/usr/lib64/llvm-gcc/lib64/:/usr/lib64/llvm-gcc/lib64/:/usr/local/lib/ /usr/bin/perl -f /usr/libexec/squeezeboxserver

    [but I do not know how or why it works]
    The error message is misleading - the problem is because Perl can't find a certain library. By specifying LD_LIBRARY_PATH, you are adding another path for Linux to look in in order to find the library. That folder happens to contain the required library.

    Past posts here suggest it has been fixed in recent pre-release versions; maybe the devs are waiting for their next release cycle to release the fix.

    Quote Originally Posted by katoulos View Post
    Second thing I would like someone to give me some ideas is how to get rid of the idiotic use of the database behind their server:

    1st of all, using the database is useless as information contained in the songs is mostly crap;
    2nd, it slows down significantly the performance of the squeezeboxserver its self - although I am using top hardware, I have unacceptable delays!
    3rd is there any software that could do a very simple task: I click on the file - it plays on my boom or Transporter !
    Um, it is far from idiotic. How else do you propose Squeezebox display song metadata? Parse each file every time it is required? Fingerprint every file and use a web service? Using file names instead doesn't help either (same issues with searching by field, lack of fields at all).

    1. Correction - using the database **on your files** is useless as information contained in the songs is mostly crap. Lots of people, like me, take pride in how meticulously their collection is tagged. For the lazy ones, there's always TuneUp which does a great job automatically.

    2. That sounds like a configuration issue. My SBS runs on a Atom-class server with a sizable collection, and it flies. It is also only using a SQLite database (presumably you're using a MySQL database, as SQLite only became an option in the pre-release versions).

    3. Not really what the Squeezebox does. It could be possible by writing another front-end to SBS; but really, your problem is most likely a configuration issue.

  8. #138
    Senior Member
    Join Date
    Aug 2005
    Posts
    553

    Still totally confused

    So I upgraded to 11.4. squeezeboxserver-7.5.3-1.noarch.rpm was working on 11.3.
    Just to be sure I uninstalled it and installed it again.

    The perl link must be changed (it was 5.12.1 before):
    ln -s /usr/lib/perl5/vendor_perl/Slim/ /usr/lib/perl5/vendor_perl/5.12.3/Slim

    I think it is working now.

    But it should not start indexing things until the user has had a chance to, for example tell it to not use iTunes, and to treat multiple discs as a single album.

    My fingers are crossed.

    Jim

  9. #139
    Junior Member
    Join Date
    Jan 2011
    Posts
    11

    Quality of music information

    Quote Originally Posted by katoulos View Post
    Second thing I would like someone to give me some ideas is how to get rid of the idiotic use of the database behind their server:

    1st of all, using the database is useless as information contained in the songs is mostly crap;
    2nd, it slows down significantly the performance of the squeezeboxserver its self - although I am using top hardware, I have unacceptable delays!
    3rd is there any software that could do a very simple task: I click on the file - it plays on my boom or Transporter !
    As already stated above the information in the database is taken from the metadata in your music files. If you want to improve the quality of the metadata in your music files, a good option is MusicBrainz Picard which can lookup your songs against a central server and correct the metadata.

    As for your third question about clicking on a file and playing on Boom / Transporter, I'm sure a python script could be written using pysqueezecenter package (http://code.google.com/p/pysqueezecenter/), accepting a filename and requesting squeezebox server to play the file on a particular player. Someone may have done this already?

  10. #140
    Earlier today I installed 11.4 x86_64 and instantly ran into this problem. Thankfully, after reading this thread I was able to do the sym-link trick (ln -s /usr/lib/perl5/vendor_perl/Slim/ /usr/lib/perl5/vendor_perl/5.12.3/Slim) and all is well.

    Of course, I still get the LANG warning, and I was wondering what the proper way to take care of this is.

    My RC_LANG is set to en_US.UTF-8, so I am not sure why squeezebox isn't aware of this. Also:

    Code:
    env | grep "LANG"
    LANG=en_US.utf8
    So???

Posting Permissions

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