Right. For everyone who struggles with this, I got it working under freenas 9.10.2 tonight after fiddling a bit. To sort of summarize i'll be stealing a lot from get.amped. All credits go to him & all others in this tread for helping me figure out what was happening. Turns out slimserver-vendor is updated for perl 5.24.1 right now.
Create two jails: one to build LMS and one to run it. Use Advanced mode, enter the IPv4 default gateway and check VIMAGE. btw, you can enter freenas jails through ssh as follows: Code: -------------------- jls ## to check jail number jexec "jailnumber" -------------------- In build_LMS jail: Code: -------------------- pkg update pkg upgrade pkg install bash pkg install gmake pkg install rsync pkg install nasm pkg install wget pkg install libgd pkg install gcc mkdir /tmp/LMS cd /tmp/LMS wget h t t p : //downloads. slimdevices. com/nightly/7.9/sc/481dece/logitechmediaserver-7.9.0-1485931015-FreeBSD.tgz tar xf logitechmediaserver-7.9.0-1485931015-FreeBSD git clone https://github.com/Logitech/slimserver-vendor -b public/7.9 ln -s -f /usr/local/bin/perl5.24.1 /usr/bin/perl ln -s -f /usr/local/bin/perl5.24.1 /usr/bin/perl5 cd /tmp/LMS/slimserver-vendor/CPAN ./buildme.sh | tee /tmp/LMS/buildme.sh.log cd /tmp/LMS/logitechmediaserver-7.9.0-1485931015-FreeBSD/CPAN/arch/5.24 cp -Rp /tmp/LMS/slimserver-vendor/CPAN/build/arch/5.24/amd64-freebsd-thread-multi . cd .. rm -rf 5.8 rm -rf 5.10 rm -rf 5.12 rm -rf 5.14 rm -rf 5.16 rm -rf 5.18 rm -rf 5.20 rm -rf 5.22 cd /tmp/LMS tar cf logitechmediaserver-7.9.0-1485931015-FreeBSD logitechmediaserver-7.9.0-1485931015-FreeBSD -------------------- Then, in freenas shell (move the tar between jails): Code: -------------------- cp /mnt/SSD/jails/build_jail/tmp/LMS/logitechmediaserver-7.9.0-1485931015-FreeBSD.tar /mnt/SSD/jails/LMS/tmp -------------------- In LMS jail: Code: -------------------- pkg update pkg upgrade pw groupadd -n lms -g 30001 pw useradd -n lms -u 30001 -g lms -s /usr/sbin/nologin -c "Logitech Media Server" -d /nonexistent mkdir /usr/local/lms tar xf /tmp/logitechmediaserver-7.9.0-1485931015-FreeBSD.tar -C /usr/local/lms mv /usr/local/lms/logitechmediaserver-7.9.0-1485931015-FreeBSD/* /usr/local/lms rmdir /usr/local/lms/logitechmediaserver-7.9.0-1485931015-FreeBSD chown -R lms:lms /usr/local/lms rm /usr/bin/perl rm /usr/bin/perl5 ln -s -f /usr/local/bin/perl5.24.1 /usr/bin/perl ln -s -f /usr/local/bin/perl5.24.1 /usr/bin/perl5 -------------------- I created an additional storage source /mnt/SSD/lms_data with destination /mnt/lmsdata and set permissions: Code: -------------------- chown -R lms:lms /mnt/lms_data/cache chown -R lms:lms /mnt/lms_data/prefs -------------------- Create startup file: lms This is trickier than it looks because it can't have any extra white space. I suggest getting it here: pastebin.com(icantpostlinks)/download.php?i=jtuvqvEJ Follow the instructions in the file. Finally, while still in LMS jail, within the folder the lms startup file is located: Code: -------------------- mv lms /usr/local/etc/rc.d/ chown root:wheel /usr/local/etc/rc.d/lms chmod 555 /usr/local/etc/rc.d/lms echo 'lms_enable="YES"' >> /etc/rc.conf echo 'lms_cachedir="/mnt/lms_data/cache"' >> /etc/rc.conf echo 'lms_prefsdir="/mnt/lms_data/prefs"' >> /etc/rc.conf echo 'lms_playlistdir="/mnt/Playlists"' >> /etc/rc.conf -------------------- restart your jail, or: Code: -------------------- service lms start/code] and try to connect to your jail : 9000 ------------------------------------------------------------------------ coredalae's Profile: http://forums.slimdevices.com/member.php?userid=66571 View this thread: http://forums.slimdevices.com/showthread.php?t=104122 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix