Discussion:
[SlimDevices: SqueezeCenter] My fix for IO::Socket::SSL error with LMS installed on QNAP ARM NAS (219P+)
dhallag
2017-09-29 22:17:19 UTC
Permalink
So you have to install SSL and all its dependencies:

1. Make sure you have Optware QPKG installed on your NAS. Turns out
that Optware has been replaced by Entware but I've seen Entware blow up
SSOTS so you can download it here:
http://download.qnap.com/QPKG/Optware_0.99.163.zip I would keep in on
your NAS in a place you know it will be and won't delete in case you
need to do it again.

2. In you NAS workstation, go to My Apps and install the qpkg. (there
is an icon on the top right that looks like a grid with a plus sign -
click there and it will ask you to browse the path of the qpkg

3. Open Putty. (just enter the ip address of your NAS) and once Putty
is will ask you to enter the NAS workstation userid and password

4. Enter the following commands

cd /
ipkg install openssl openssl-dev

* If you get an error here saying that ipkg cannot be found, then for
some reason your environment table isn't updated correctly. this
happened to me. If you have the same error then do the following:*

echo $PATH (displays the current environment path)
find -name 'ipkg" (displays the path of the command ipkg)
PATH=(here, make sure you enter in all the directories that where shown
when you displayed the current path. each directory is separated by a
":") for me this looked something like
"PATH=/share/MD0_DATA/.qpkg/Optware/bin:/opt/bin:/opt/sbin:/usr/bin:/usr/sbin"
echo $PATH (to display the path the make sure you entered it correctly)

* this will update the environment table for all the commands and
compiler you will need *
* if you feel you want to make the new path(s) permanent, see this Wiki:
https://wiki.qnap.com/wiki/Install_Optware_IPKG#Fix_the_.24PATH_in_.2Fetc.2Fprofile

and here is a detailed forum about paths:
https://forum.qnap.com/viewtopic.php?t=103416 *

ipkg install coreutils binutils automake
ipkg install make
ipkg install gcc

* if any of the above don't work either because it couldn't find "make"
or "gcc" or anything else, just do the same as the above with the
environment path *

cd /share/MD0_DATA/.qpkg/LogitechMediaServer *note your NAS may be
/HDA_DATA/ instead of /MD0_DATA/. Use HDA if you have a single volume
drive, and MD0 if you're using Raid. if you're not sure, you can browse
your directory structure within putty via the command "ls" or just use
WinSCP. For me WinSCP was a bit easier as it's a GUI interface that's
easy to navigate the directory structure.*

mkdir tmp
cd tmp

wget http://www.cpan.org/authors/id/A/AB/ABH/Mozilla-CA-20160104.tar.gz
tar zxvf Mozilla-CA-20160104.tar.gz
cd Mozilla-CA-20160104
../../bin/perl Makefile.PL
make
make install
cd ..

wget http://www.cpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-1.81.tar.gz
tar zxvf Net-SSLeay-1.81.tar.gz
cd Net-SSLeay-1.81
OPENSSL_PREFIX=/opt ../../bin/perl Makefile.PL * there are a lot of
people that have gotten a compiler error here. for me the fix was
updating the environment paths correctly *
make
make install
cd ..

wget
http://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-2.049.tar.gz
tar zxvf IO-Socket-SSL-2.049.tar.gz
cd IO-Socket-SSL-2.049
../../bin/perl Makefile.PL
make
make install
cd ..

* that's it. hopefully all the above installed correctly. if it
didn't, just respond back with the error and everyone here will try and
help you. once you stop and restart LMS, you shouldn't get the SSL
error anymore.



LMS 7.9.1 on QNAP 219P+
3 wired Touch End Points
Jolida Tube DAC III
Marantz 2270 to Boston Acoustics Slimlines
Marantz 7010 to B&W CM10 S2
------------------------------------------------------------------------
dhallag's Profile: http://forums.slimdevices.com/member.php?userid=30845
View this thread: http://forums.slimdevices.com/showthread.php?t=108066
earthbased
2017-12-18 17:30:07 UTC
Permalink
Optware link is invalid. No longer available?


------------------------------------------------------------------------
earthbased's Profile: http://forums.slimdevices.com/member.php?userid=334
View this thread: http://forums.slimdevices.com/showthread.php?t=108066
boomdijk
2018-05-02 14:11:29 UTC
Permalink
Hello All,

I have followed the step-by-step guide.

As far as i have seen no error's and everything installed correctly.

Now my server is crashing at start up with this error in the log:

254171: /opt/ssods4/bin/perl: symbol lookup error:
/opt/ssods4/lib/perl5/site_perl/5.10.0/i686-linux-thread-multi/auto/Net/SSLeay/SSLeay.so:
undefined symbol: SSL_library_init
254170: [18-05-02 16:05:06.3253] main::init (368) Starting Logitech
Media Server (v7.8.1, 1452060482, Fri Jan 22 03:17:14 UTC 2016) perl
5.010000
254169: [18-05-02 16:05:06.3258] main::init (368) Starting Logitech
Media Server (v7.8.1, 1452060482, Fri Jan 22 03:17:14 UTC 2016) perl
5.010000
254168: [18-05-02 16:04:59 ] ssctrl Command line =
/opt/ssods4/var/home/SqueezeboxServer/slimserver.pl --daemon --pidfile
/opt/ssods4/var/home/SqueezeboxServer/Cache/squeezecenter.pid --cachedir
/opt/ssods4/var/home/SqueezeboxServer/Cache --logdir
/opt/ssods4/var/home/SqueezeboxServer/Logs --prefsdir
/opt/ssods4/var/home/SqueezeboxServer/Prefs --noupnp --priority 0 --user
ssods --group ssods --httpport 9001
254167: [18-05-02 16:04:48 ] ssctrl Starting SqueezeboxServer
7.8.1-1452060482.

What am i missing? Anyone can help?

Yours,

Johan



-----
logitech media server version: 7.8.1 - 1452060482 @ fri jan 22 03:17:14
utc 2016
hostname: trantor
server ip address: 192.168.2.3
server http port number: 9001
operating system: linux - en - utf8
platform architecture: i686-linux
perl version: 5.10.0 - i686-linux-thread-multi
database version: dbd::sqlite 1.34_01 (sqlite 3.7.7.1)
total players recognized: 4
total tracks: 62,474
total albums: 3,152
total artists: 597
total genres: 38
total playing time: 4248:05:39
------------------------------------------------------------------------
boomdijk's Profile: http://forums.slimdevices.com/member.php?userid=19042
View this thread: http://forums.slimdevices.com/showthread.php?t=108066
boomdijk
2018-05-02 14:25:54 UTC
Permalink
Post by boomdijk
Hello All,
I have followed the step-by-step guide.
As far as i have seen no error's and everything installed correctly.
undefined symbol: SSL_library_init
254170: [18-05-02 16:05:06.3253] main::init (368) Starting Logitech
Media Server (v7.8.1, 1452060482, Fri Jan 22 03:17:14 UTC 2016) perl
5.010000
254169: [18-05-02 16:05:06.3258] main::init (368) Starting Logitech
Media Server (v7.8.1, 1452060482, Fri Jan 22 03:17:14 UTC 2016) perl
5.010000
254168: [18-05-02 16:04:59 ] ssctrl Command line =
/opt/ssods4/var/home/SqueezeboxServer/slimserver.pl --daemon --pidfile
/opt/ssods4/var/home/SqueezeboxServer/Cache/squeezecenter.pid --cachedir
/opt/ssods4/var/home/SqueezeboxServer/Cache --logdir
/opt/ssods4/var/home/SqueezeboxServer/Logs --prefsdir
/opt/ssods4/var/home/SqueezeboxServer/Prefs --noupnp --priority 0 --user
ssods --group ssods --httpport 9001
254167: [18-05-02 16:04:48 ] ssctrl Starting SqueezeboxServer
7.8.1-1452060482.
What am i missing? Anyone can help?
Yours,
Johan
You have to enter this: OPENSSL_PREFIX=/opt ../../bin/perl Makefile.PL
<enter> on one line these are not two separate commands (little bit
confusing)

It works!



-----
logitech media server version: 7.8.1 - 1452060482 @ fri jan 22 03:17:14
utc 2016
hostname: trantor
server ip address: 192.168.2.3
server http port number: 9001
operating system: linux - en - utf8
platform architecture: i686-linux
perl version: 5.10.0 - i686-linux-thread-multi
database version: dbd::sqlite 1.34_01 (sqlite 3.7.7.1)
total players recognized: 4
total tracks: 62,474
total albums: 3,152
total artists: 597
total genres: 38
total playing time: 4248:05:39
------------------------------------------------------------------------
boomdijk's Profile: http://forums.slimdevices.com/member.php?userid=19042
View this thread: http://forums.slimdevices.com/showthread.php?t=108066
earthbased
2018-05-04 19:31:51 UTC
Permalink
Post by boomdijk
Hello All,
I have followed the step-by-step guide.
As far as i have seen no error's and everything installed correctly.
undefined symbol: SSL_library_init
254170: [18-05-02 16:05:06.3253] main::init (368) Starting Logitech
Media Server (v7.8.1, 1452060482, Fri Jan 22 03:17:14 UTC 2016) perl
5.010000
254169: [18-05-02 16:05:06.3258] main::init (368) Starting Logitech
Media Server (v7.8.1, 1452060482, Fri Jan 22 03:17:14 UTC 2016) perl
5.010000
254168: [18-05-02 16:04:59 ] ssctrl Command line =
/opt/ssods4/var/home/SqueezeboxServer/slimserver.pl --daemon --pidfile
/opt/ssods4/var/home/SqueezeboxServer/Cache/squeezecenter.pid --cachedir
/opt/ssods4/var/home/SqueezeboxServer/Cache --logdir
/opt/ssods4/var/home/SqueezeboxServer/Logs --prefsdir
/opt/ssods4/var/home/SqueezeboxServer/Prefs --noupnp --priority 0 --user
ssods --group ssods --httpport 9001
254167: [18-05-02 16:04:48 ] ssctrl Starting SqueezeboxServer
7.8.1-1452060482.
What am i missing? Anyone can help?
Yours,
Johan
Stop using SSODS. See QLMS by DigiMaster.


------------------------------------------------------------------------
earthbased's Profile: http://forums.slimdevices.com/member.php?userid=334
View this thread: http://forums.slimdevices.com/showthread.php?t=108066
dhallag
2018-05-11 01:48:22 UTC
Permalink
Trust me when I say I hear you guys...



LMS 7.9.1 on QNAP 219P+
3 wired Touch End Points
Jolida Tube DAC III
Marantz 2270 to Boston Acoustics Slimlines
Marantz 7010 to B&W CM10 S2
------------------------------------------------------------------------
dhallag's Profile: http://forums.slimdevices.com/member.php?userid=30845
View this thread: http://forums.slimdevices.com/showthread.php?t=108066
dhallag
2018-09-05 03:17:25 UTC
Permalink
Post by dhallag
Trust me when I say I hear you guys...
holy crap... so on my NAS, QNAP updating the media entertainment
software and immediately after the update, all my SSL apps went down.
because this took me the better part of a couple of weeks to figure out,
I was dreading having to go through these steps and reinstall SSL
because I really know nothing about Linux. So all I did was blindly
follow my instructions, and to my unbelievable surprise... everything
worked...

what a sigh of relief.



LMS 7.9.1 on QNAP 219P+
3 wired Touch End Points
Jolida Tube DAC III
Marantz 2270 to Boston Acoustics Slimlines
Marantz 7010 to B&W CM10 S2
------------------------------------------------------------------------
dhallag's Profile: http://forums.slimdevices.com/member.php?userid=30845
View this thread: http://forums.slimdevices.com/showthread.php?t=108066
pjzzz
2018-09-11 12:29:53 UTC
Permalink
Get stuck on:

Code:
--------------------
[***@NAS tmp]$ cd Mozilla-CA-20160104
[***@NAS Mozilla-CA-20160104]$ ../../bin/perl Makefile.PL
-sh: ../../bin/perl: No such file or directory

--------------------

What to do now?


------------------------------------------------------------------------
pjzzz's Profile: http://forums.slimdevices.com/member.php?userid=18885
View this thread: http://forums.slimdevices.com/showthread.php?t=108066
dhallag
2018-09-19 20:48:38 UTC
Permalink
Code:
--------------------
Post by pjzzz
-sh: ../../bin/perl: No such file or directory
--------------------
Post by pjzzz
What to do now?
LMS 7.9.2 on QNAP 119P+
make sure that Makefile.PL location is in your environment table and
make sure that /bin/perl director exists



LMS 7.9.1 on QNAP 219P+
3 wired Touch End Points
Jolida Tube DAC III
Marantz 2270 to Boston Acoustics Slimlines
Marantz 7010 to B&W CM10 S2
------------------------------------------------------------------------
dhallag's Profile: http://forums.slimdevices.com/member.php?userid=30845
View this thread: http://forums.slimdevices.com/showthread.php?t=108066
m_gardo@hotmail.com
2018-11-26 23:39:01 UTC
Permalink
Post by dhallag
make sure that Makefile.PL location is in your environment table and
make sure that /bin/perl director exists
I'm also on TS-119 and also got stuck:


Code:
--------------------
[/share/HDA_DATA/.qpkg/LogitechMediaServer/tmp/Mozilla-CA-20160104] # ../../bin/perl Makefile.PL
-sh: ../../bin/perl: No such file or directory

--------------------


I added
"/share/HDA_DATA/.qpkg/LogitechMediaServer/tmp/Mozilla-CA-20160104" to
my PATH and under /share/HDA_DATA/.qpkg/LogitechMediaServer/bin I have
directory perl*.

Please advice what I'm doing wrong.
I probably don't understand what should go here "../../"

Thanks!



Hard-/Firmware : QNAP TurboStation TS-119 / 4.2.1 build 20160201
Plattformarchitecture : armv5tel-linux
CPU: Marvell 6282 1.6 GHz
Flash: 16MB
RAM: 512MB DDRIII

Running LMS: 7.9.0-1454098279 on SSOTS 4.14 mod (qpkg)
Glibc: 2.6
Perl-version: 5.10.0 - armv5tel-linux-thread-multi
MySQL-version: 5.1.36
SQLite 1.34_01 (sqlite 3.7.7.1)
------------------------------------------------------------------------
***@hotmail.com's Profile: http://forums.slimdevices.com/member.php?userid=42381
View this thread: http://forums.slimdevices.com/showthread.php?t=108066
pjzzz
2018-11-27 09:57:15 UTC
Permalink
Post by ***@hotmail.com
Please advice what I'm doing wrong.
I probably don't understand what should go here "../../"
Thanks!
Same problem as I still have.
I wish there was some Youtube step-by-step instruction.



LMS 7.9.2 on QNAP 119P+
SB Duet
------------------------------------------------------------------------
pjzzz's Profile: http://forums.slimdevices.com/member.php?userid=18885
View this thread: http://forums.slimdevices.com/showthread.php?t=108066
m_gardo@hotmail.com
2018-11-27 20:44:30 UTC
Permalink
Post by pjzzz
Same problem as I still have.
I wish there was some Youtube step-by-step instruction.
So I managed to get past the perl problem. The perl program? in

I installed through QNAP GUI -> App Center -> Developer Tools -> Perl
5.10.0.2. That resulted in new perl installation in
/share/HDA_DATA/.qpkg/Optware/bin/
I added that to by PATH=$PATH:/share/HDA_DATA/.qpkg/Optware/bin/. Then I
went to dir
/share/HDA_DATA/.qpkg/LogitechMediaServer/tmp/Mozilla-CA-20160104 and
typed:
perl Makefile.pl (as perl in env PATH).



Hard-/Firmware : QNAP TurboStation TS-119 / 4.2.1 build 20160201
Plattformarchitecture : armv5tel-linux
CPU: Marvell 6282 1.6 GHz
Flash: 16MB
RAM: 512MB DDRIII

Running LMS: 7.9.0-1454098279 on SSOTS 4.14 mod (qpkg)
Glibc: 2.6
Perl-version: 5.10.0 - armv5tel-linux-thread-multi
MySQL-version: 5.1.36
SQLite 1.34_01 (sqlite 3.7.7.1)
------------------------------------------------------------------------
***@hotmail.com's Profile: http://forums.slimdevices.com/member.php?userid=42381
View this thread: http://forums.slimdevices.com/showthread.php?t=108066
grzeszek101
2018-12-03 23:27:26 UTC
Permalink
Thanks. It worked for me on my Qnap HS-210.


------------------------------------------------------------------------
grzeszek101's Profile: http://forums.slimdevices.com/member.php?userid=64594
View this thread: http://forums.slimdevices.com/showthread.php?t=108066
edwin2006
2018-05-04 20:20:25 UTC
Permalink
Link please &#128521;



*SqueezeBoxes:* 2x SB2 (Living room and study), 1x Radio (Kitchen), 1x
Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden)
1x OSMC + Squeezelite (Movie room), 1x Touch (Bedroom)
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, D-Link Smart Switch 24p, 3x Ubiquity
------------------------------------------------------------------------
edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=108066
Grumpy Bob
2018-05-05 05:42:53 UTC
Permalink
Post by edwin2006
Link please &#128521;
'This'
(https://forums.slimdevices.com/showthread.php?108292-LogitechMediaServer-for-Qnap-x86_64-with-qts-4-2-or-higher)
may be what's being referred to. (I don't run LMS on my QNAP these days,
I find it much easier with a Raspberry Pi.)

Robert



*Home: *Raspberry Pi 3/piCoreplayer/LMS7.9.1 with files on QNAP
TS-251A
Touch > DacMagic 100 > Naim Audio Nait 3 > Mission 752 (plus Rega
Planar 3 > Rega Fono Mini; Naim CD3)
PiCorePlayer(Pi2) with IQAudIO DAC+>Sennheisers
2 x Squeezebox Radios, 1 X Squeezebox 3 (retired), spare
Pi2/piCorePlayer
*Office:* LMS7.9 running on WiFi MyPassport drive >
piCorePlayer(PiB)/HiFiBerryDAC > Amptastic Amplifier
SqueezePad, iPeng as controllers

last.fm/user/GrumpyBob
------------------------------------------------------------------------
Grumpy Bob's Profile: http://forums.slimdevices.com/member.php?userid=41857
View this thread: http://forums.slimdevices.com/showthread.php?t=108066
edwin2006
2018-05-05 06:08:55 UTC
Permalink
Got it. Also using pi for LMS.



*SqueezeBoxes:* 2x SB2 (Living room and study), 1x Radio (Kitchen), 1x
Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden)
1x OSMC + Squeezelite (Movie room), 1x Touch (Bedroom)
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, D-Link Smart Switch 24p, 3x Ubiquity
------------------------------------------------------------------------
edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=108066
Loading...