Friday 12 October 2012

Fedora 17: Squeezebox server 7.7.2

Go to http://www.mysqueezebox.com/ download and select the Linux RPM.

It will automatically be opened with the Software Installer, resolve dependencies and install the required packages.

Nothing is ever that simple though!

The service wasn't started, and attempts to force it to start using systemctl failed too

    $ sudo systemctl start squeezeboxserver.service

Looking in /var/log/messages I found the following:

    squeezeboxserver[3040]: Starting Squeezebox Server: Can't locate Slim/bootstrap.pm in @INC (...details of the $INC path)

I then went to /usr to find all files which had anything with Logitech, Squeezebox or Slim in their path

    $ cd /usr

    $ find . | egrep -i logitec\|squeeze\|slim > /tmp/squeezbox.details

I then searched for the missing file (Slim/bootstrap.pm)

    $ grep bootstrap /tmp/squeezbox.details 
    ./lib/perl5/vendor_perl/Slim/bootstrap.pm

So I created a symbolic link to Slim in one of the directories in the $INC path

    $ sudo ln -sf /usr/lib/perl5/vendor_perl/Slim /usr/lib64/perl5/vendor_perl/Slim

It still failed to start, so I looked back in /var/log/messages

    squeezeboxserver[22941]: Starting Squeezebox Server: Can't locate Digest/MD5.pm in @INC 

Some perl modules were missing, which I installed with Yum

    $ sudo yum install perl-Log-Log4perl perl-CGI perl-YAML-LibYAML

Now the service started

    $ sudo systemctl start squeezeboxserver.service
    $ sudo systemctl status squeezeboxserver.service

squeezeboxserver.service - LSB: Startup script for the Logitech Media Server
 Loaded: loaded (/etc/rc.d/init.d/squeezeboxserver)
 Active: active (running) since Sat, 13 Oct 2012 13:25:40 +1100; 1min 36s ago

I had to open a few ports on my firewall to enable my player to connect (namely 3483 tcp and udp for the player, and 9000 tcp for the web-interface).

    $ system-config-firewall
    Other ports
    Add port 9000, tcp
    Add port 3483, tcp and udp

    Apply

go to localhost:9000 to configure

No comments:

Post a Comment