Hello,
I'm trying to get my logitech media server to work again on opensuse 12.2 x86_64
After updating to opensuse 12.2 LMS died on me and refused to start again.
I did a clean install after this and tried several times again and again, after which I decided to start packaging the missing requirements for squeezebox.
Now that I got all the perl requirements packaged and installed it complains in several ways.
first error :
Starting Squeezebox Server: Can't locate Slim/bootstrap.pm
solved by :
ln -s /usr/lib/perl5/vendor_perl/Slim/ /usr/lib/perl5/vendor_perl/5.16.0/Slim
second error:
DBD::SQLite object version 1.35 does not match bootstrap parameter 1.34_01 at
attempt 1:
I decided to do a nice downgrade to 1.34_01 (so I packaged this neatly to)
no luck at all, after this the DBD::SQLite could no longer be found
attempt 2:
dirty hack....adjust the version in /usr/share/squeezeboxserver/CPAN/DBD/SQLite.pm
this did it
third error :
Can't locate loadable object for module Media::Scan
symbolic linking /usr/lib/perl5/vendor_perl/Media to /usr/lib/perl5/vendor_perl/5.16.0/Media didn't help
Anybody who knows a workaround ?
and for bonus points :
the error :
NOTE: Class::XSAccessor 1.05+ not found, install it for better performance
The Class::XSAccessor version 1.13 is installed, it seems unable to find this thing.
And lastly :
Unable to read prefs from /var/lib/squeezeboxserver/prefs/server.prefs : Usage: YAML::XS::LibYAML::Load(yaml_sv) at /usr/share/squeezeboxserver/CPAN/YAML/XS.pm line 48.
This file is readable for the squeeseserver user and it does exist, is this because I never got LMS to run ?
Regards
Tjako
Results 1 to 10 of 74
-
2012-09-19, 03:34 #1Junior Member
- Join Date
- Sep 2012
- Posts
- 3
opensuse 12.2 fails to run logitechmediaserver-7.8.0-0.1.1347896053
-
2012-09-19, 07:15 #2Junior Member
- Join Date
- Sep 2012
- Posts
- 3
another error workaround
Hello,
I've managed to work around the Media::Scan error this way :
ln -s /usr/share/squeezeboxserver/CPAN/arch/5.14 /usr/share/squeezeboxserver/CPAN/arch/5.16
I noticed there is no /usr/share/squeezeboxserver/CPAN/arch/5.16 folder which means that a lot of stuff is missing for perl 5.16
Now I get the error YAML::XS not found....sigh....it is installed ofcourse
Tjako
-
2012-09-19, 07:23 #3
There is a relevant bug .
http://bugs.slimdevices.com/show_bug.cgi?id=17985
But maybe someone have made it anyway .--------------------------------------------------------------------
Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub.
Bedroom/Office: Boom
Kitchen: Touch + powered Fostex PM0.4
Misc use: Radio (with battery)
iPad1 with iPengHD & SqueezePad
(in storage SB3, reciever ,controller )
server HP proliant micro server N36L with ClearOS Linux
http://people.xiph.org/~xiphmont/demo/neil-young.html
-
2012-09-19, 09:49 #4Junior Member
- Join Date
- Sep 2012
- Posts
- 3
I downgraded to 12.1
Hi,
I've found that bug as well, after reading that it occured to me it might be a lot of work to get it to work under 12.2 so i downgraded after 3 days of debugging.
I'm not a noob with perl but I am with the cvs structure of LMS and how the compiling of the libs goes.
I will put some effort into it if I can find the time for it.
On the other hand I packaged all the required perl modules for opensuse in the open build service.
Getting logitech media service to work on opensuse 12.1 is now reduced to 5 simple steps
Add my repo :
zypper ar -f http://download.opensuse.org/reposit.../openSUSE_12.1 squeezebox
install the dependencies for LMS
zypper in perl-DBD-SQLite perl-DBI perl-HTML-Parser perl-JSON-XS perl-YAML-LibYAML perl-Sub-Name perl-Class-XSAccessor perl-Audio-Scan perl-EV perl-Image-Scale
get the squeezebox rpm
wget http://downloads.slimdevices.com/Log...2-1.noarch.rpm
for some reason LMS can't find its own modules so a symbolic link is needed
ln -s /usr/lib/perl5/vendor_perl/Slim/ /usr/lib/perl5/vendor_perl/5.14.2/Slim
start the server
/etc/init.d/squeezebox start
surf to the webpage
servername:9000
p.s. don't forget to open up your firewall if you run one.
enjoy
-
2012-09-19, 10:32 #5
Great work
some Suse user would be happy now .
I don't know much about perl at all , installing the rpm on ClearOS only required the install of one missing perl "something" .
I did not have to create the symlink to it's perl libraries ( it just worked ) .
I do remember symlinking the libraries when I built my own perl 5.8.8 for my old server ( who only had 5.8.5 installed ) but that was in 2008 I have blissfully forgot what I did then .--------------------------------------------------------------------
Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub.
Bedroom/Office: Boom
Kitchen: Touch + powered Fostex PM0.4
Misc use: Radio (with battery)
iPad1 with iPengHD & SqueezePad
(in storage SB3, reciever ,controller )
server HP proliant micro server N36L with ClearOS Linux
http://people.xiph.org/~xiphmont/demo/neil-young.html
-
2012-09-29, 05:18 #6Junior Member
- Join Date
- Sep 2012
- Posts
- 1
Cool
Hej,
cool, you saved my live. I upgraded from 12.1 to 12.2 product two weeks ago and could also not get the squeezebox server running.
Now I downgraded to 12.1 (meaning reinstalled from disk...) my server and followed your instructions.
All worked perfectly for me and I have now back my squeezebox server.
Many thanks!
-
2012-09-29, 12:30 #7Senior Member
- Join Date
- Aug 2005
- Posts
- 460
Here is what I had done previously....
I hope someone tries this on 12.2 and lets me know if it works:
Just installed a clean openSUSE 11.3 on a server, here's the current procedure to get it working:
Add YUM release repository in Yast:
http://repos.slimdevices.com/yum/squeezecenter/release/
Then install squeezeboxserver 7.5.3-1 or greater.
Then as root execute:
ln -s /usr/lib/perl5/vendor_perl/Slim/ /usr/lib/perl5/vendor_perl/5.12.1/Slim
Then start it up:
service squeezeboxserver start
And apart from a couple of warnings about the locale all should be working.
---------------------------------------------------------------------------------------------
After spending some time on this during the weekend, I'm now able to stream to my Duet receiver in OpenSUSE 11.3. Turns out that my last hurdle was that my firewall settings had all ports blocked (I know... I can't believe I didn't check that first thing either). Here's a rundown, from memory, of the steps I went through to get this running on 11.3 for anyone who's interested:
1) Download and install the nightly build of squeezebox server (either 7.5.2 or 7.6 should work, but I used 7.5.2): http://downloads.slimdevices.com/nightly/?ver=7.5The nightly is needed since it supports Perl 5.12 which OpenSUSE 11.3 ships with.
2) Squeezebox server seems to look for some Perl modules in the wrong location so make a link to the correct directory:
sudo ln -s /usr/lib/perl5/vendor_perl/Slim /usr/lib/perl5/vendor_perl/5.14.2/3) Download and install the package from the PackMan repository: http://packman.links2linux.org/package/llvm-gccGet the 11.1 package for whichever architecture you're on. This is needed since it includes the libssp.so library that squeezebox server requires.
4) Startup squeezebox server as root with:
sudo -u squeezeboxserver env LD_LIBRARY_PATH=/usr/lib64/llvm-gcc/lib64/:$LD_LIBRARY_PATH /usr/libexec/squeezeboxserver &
Note: The portion after 'LD_LIBRARY_PATH' would be different if you're not on a x86_64 platform.
This command just kicks off the service as the squeezeboxserver user and puts the newly installed libssp.so file on the library path.
5) Go into YaST's firewall tool and make sure you don't have all of your ports blocked Hopefully this helps anyone who's been having problems with squeezebox server and OpenSUSE 11.3. It sounds like there's some work going into getting rid of the dependency on libssp.so which should make this all a bit simpler in the future.
Open up the file /etc/init.d/squeezeboxserver and add the 'export LD_LIBRARY_PATH' line below in start() (make sure you do this in the SUSE section and not the Red Hat one):
start() {
echo -n "Starting Squeezebox Server: "
export HOME=$SQUEEZEBOX_HOME
export LD_LIBRARY_PATH=/usr/lib64/llvm-gcc/lib64/:$LD_LIBRARY_PATH
startproc -u $SQUEEZEBOX_USER $SQUEEZEBOX_BIN $SQUEEZEBOX_ARGS
rc_status -v
}
This works for me (the service starts on startup), but for some reason I still can't control it from YaST. If you need to stop it for any reason you can do it via the command line and it'll work:
sudo /etc/init.d/squeezeboxserver stop
Thanks for that critical piece of the puzzle.
------------
I always do insserv on the things in /etc/init.d, and link them to an rcxxxx in /usr/sbin, so I can control them from the command line via sudo or root.
I also had to install Inotify2 using
cpan -i Linux::Inotify2
to get the nice autorescan plugin to work (add http://www.hickinbottom.com/sc-plugins/repo.xml to your sources at the bottom).
And I also had to install LAME to get all the audio conversions in the server.
OpenSUSE 12.1
So the good news is that after just doing:
sudo ln -s /usr/lib/perl5/vendor_perl/Slim /usr/lib/perl5/vendor_perl/5.14.2/
the server seems to start and work. :-)
But, I can't get any of the things needed to install mplayer and the various needed codecs and support files.
rpm -ivh MPlayer-1.0rc4_r34327-1.1.x86_64.rpm
error: Failed dependencies:
liba52.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libbluray.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libbs2b.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libcrystalhd.so.3()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libdca.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libdirac_decoder.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libesd.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libfaac.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libfaad.so.2()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libmp3lame.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libmpg123.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libopencore-amrnb.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libopencore-amrwb.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
librtmp.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libtwolame.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libxvidcore.so.4()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
The 1-click installs all fail too.
Actually, the manual instructions at http://opensuse-guide.org/codecs.phpseem to work. Doing it right now... Nope. Still get
jarfx:/home/jar/download # rpm -ivh MPlayer-1.0rc4_r34327-1.1.x86_64.rpm
error: Failed dependencies:
liba52.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libbluray.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libbs2b.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libcrystalhd.so.3()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libdca.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libdirac_decoder.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libesd.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libfaac.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libmpg123.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libtwolame.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
I got all but libesd at http://packman.links2linux.org/search which I found at
http://rpm.pbone.net/index.php3/stat...86_64.rpm.html
And Eureka! MPlayer-1.0rc4_r34327-1.1.x86_64.rpm installs
Add the repository http://packman.jacobs-university.de/...ssentialsusing yast2 and Software Repositories, and then install with yast2. Or so I was told....
---------------------
So things like this are what really worries me about the Logitech move to dump LMS.
-
2012-10-03, 04:31 #8Junior Member
- Join Date
- Aug 2012
- Posts
- 6
I had similar issues to you, trying to get LMS working on openSuse12.2. If you look at my previous posts, you'll see what I did to get it running under a different perl version (5.12, within perlbrew).
However... I was not happy with the stability of LMS, and I basically gave up on LMS at that point. (It particularly seemed to tend to hang while scanning my music.)
Now I'm just about to try to get LMS running again, but on a Virtual Machine, running some other OS. So my new question is: What is the preferred OS to run the newest version of LMS? I'm not familiar with Ubuntu, so would prefer to install either a RedHat or OpenSuse release...
EDIT: After looking at the various Fedora options, and their kernel and perl releases, I think I'll go with OpenSUSE 12.1, as suggested above.Last edited by MattT; 2012-10-03 at 05:10. Reason: Update
-
2012-10-13, 12:10 #9Junior Member
- Join Date
- Oct 2012
- Posts
- 10
still problems with perl 5.16
I also still have problems with the opensuse 12.2 and the logitechmediaserver.
I have tried it with the files:
logitechmediaserver-7.7.2-1.noarch.rpm
logitechmediaserver-7.8.0-0.1.1348834198.noarch.rpm
And also with the .tgz but the problem is always the same.
After starting I get:
Oct 13 20:59:04 alix squeezeboxserver[1924]: Starting Squeezebox Server: ..done
Oct 13 20:59:05 alix squeezeboxserver[1924]: The following modules failed to load: YAML::XS Sub::Name
Oct 13 20:59:05 alix squeezeboxserver[1924]: *******
Oct 13 20:59:05 alix squeezeboxserver[1924]: NOTE:
Oct 13 20:59:05 alix squeezeboxserver[1924]: If you're running some unsupported Linux/Unix platform, please use the buildme.sh
Oct 13 20:59:05 alix squeezeboxserver[1924]: script located here:
Oct 13 20:59:05 alix squeezeboxserver[1924]: ...slim/7.7/trunk/vendor/CPAN...
Oct 13 20:59:05 alix squeezeboxserver[1924]: If 7.7 is outdated by the time you read this, Replace "7.7" with the major version
Oct 13 20:59:05 alix squeezeboxserver[1924]: You should never need to do this if you're on Windows or Mac OSX. If the installers
Oct 13 20:59:05 alix squeezeboxserver[1924]: don't work for you, ask for help and/or report a bug.
Oct 13 20:59:05 alix squeezeboxserver[1924]: of Logitech Media Server you are running.
Oct 13 20:59:05 alix squeezeboxserver[1924]: *******
Oct 13 20:59:05 alix squeezeboxserver[1924]: Exiting..
Oct 13 20:59:05 alix squeezeboxserver[1933]: Stopping Squeezebox Server: ..done
The YAML::XS package I have installed with zypper, but if I try that with cpan it said this (so far so good):
# cpan YAML::XS
Reading '/root/.cpan/Metadata'
Database was generated on Sat, 13 Oct 2012 09:12:10 GMT
YAML::XS is up to date (0.38).
The perl version is this:
# perl --version
This is perl 5, version 16, subversion 0 (v5.16.0) built for i586-linux-thread-multi
The thread at the slim bugzilla is also not solved which means there seem to be no solution yet. Is this the end of the squeezebox also from development side?
Thank you for your help in advance!
ps; I had to delete the url because this is my first post...
-
2012-10-14, 01:27 #10Senior Member
- Join Date
- Aug 2005
- Posts
- 460
Did you make the perl links?
Did you make the perl links as per my above post?

Reply With Quote

