Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Senior Member
    Join Date
    Jun 2009
    Posts
    195

    My fix for IO::Socket::SSL error with LMS installed on QNAP ARM NAS (219P+)

    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_O...Fetc.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/...0160104.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/...ay-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/...L-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

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Location
    Milwaukee, WI USA
    Posts
    587
    Optware link is invalid. No longer available?

  3. #3

    Server is crashing with an error

    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

  4. #4

    found it!!!

    Quote Originally Posted by boomdijk View Post
    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

    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

  5. #5
    Senior Member
    Join Date
    Apr 2005
    Location
    Milwaukee, WI USA
    Posts
    587
    Quote Originally Posted by boomdijk View Post
    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
    Stop using SSODS. See QLMS by DigiMaster.

  6. #6
    Senior Member
    Join Date
    May 2017
    Posts
    274
    Link please 😉
    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

  7. #7
    Quote Originally Posted by edwin2006 View Post
    Link please 😉
    This 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.2 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.2 running on WiFi MyPassport drive > piCorePlayer(PiB)/HiFiBerryDAC > Amptastic Amplifier
    SqueezePad, iPeng as controllers

    last.fm/user/GrumpyBob

  8. #8
    Senior Member
    Join Date
    May 2017
    Posts
    274
    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

  9. #9
    Senior Member
    Join Date
    Jun 2009
    Posts
    195

    ARM based processors

    Quote Originally Posted by earthbased View Post
    Stop using SSODS. See QLMS by DigiMaster.
    unfortunately, you have to use SSODS on an ARM based processor. The QLMS is just for x86. I am going to be updating my NAS in the next year or so and then I won't have to screw with SSODS 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

  10. #10
    Senior Member
    Join Date
    Apr 2005
    Location
    Milwaukee, WI USA
    Posts
    587
    Quote Originally Posted by dhallag View Post
    unfortunately, you have to use SSODS on an ARM based processor. The QLMS is just for x86. I am going to be updating my NAS in the next year or so and then I won't have to screw with SSODS anymore.
    Bite bullet and get a TS-251A. Its very quiet and QNAP support is A1.

Posting Permissions

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