Post Tue May 02, 2023 8:32 pm

Serviio does not exist in /etc/rc.d

Hello All,
I just installed Serviio from the BSD Ports Collection in a jail on TrueNAS
Both the jail and TrueNAS are running 13.2-Release.

When I start Serviio:
root@serviioj:/usr/ports/ports-mgmt/portmaster # service serviio start

I get this error:
serviio does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable

I am a 40 year DOS/Windows man who is quite challenged in the TrueNAS/BSD world.
Please help me understand how to do to fix this.
I will be happy to provide any additional information.
Please, any help is appreciated.

Thank You

This is what I did.
Created a new jail named serviioj (Base, 13.2-Release, DHCP, VNET)
Start then Stop the Jail
Set MAC Address on third page of settings to match MAC reservation to 192.168.2.18 in router.
serviioj MAC a2423f07207f a2423f07197f
Host Jail

Open host shell: (not Jail Shell)
iocage stop serviioj
iocage set mount_fdescfs=1 serviioj
iocage set mount_procfs=1 serviioj
iocage start serviioj

Open Serviioj jail shell:
pkg update
pkg upgrade
pkg install openjdk8-jre
java -version (replies "openjdk version "1.8.0_362"")
portsnap fetch
portsnap extract
portsnap fetch update
cd /usr/ports/ports-mgmt/portmaster
make install clean
portmaster /usr/ports/multimedia/ffmpeg
portmaster /usr/ports/graphics/dcraw
portmaster /usr/ports/net/serviio

pw usermod dlna -m -d /var/dlna (replies "pw: no such user `dlna'")
There is a "dlna" user account on the TrueNAS box.

echo serviio_args=\'-Dserviio.advertisementDuration=\"45\" -Dserviio.remoteHost=\"192.168.2.5\"\' >> /etc/rc.conf
sysrc serviio_enable="YES"
service serviio start
Serviio replies:
serviio does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable

All for now