Re: Unable to get serviio to run on boot Ubuntu server 11.10
serviio-buddy wrote:I may try your suggestion as I've just installed the 12.04 Desktop Precise Daily Build.
I congratulate

serviio-buddy wrote:Please note that the problem these users reported in this thread was "Unable to get serviio to run on boot Ubuntu server 11.10". They are using the headless Ubuntu Server 11.10 edition, not the desktop edition.
Yes I know, I know the topic.
serviio-buddy wrote:Previously, I posted that I used the wiki install guide for Ubuntu 11.10 Server and Serviio automatically loaded up boot using Ubuntu 11.10 Desktop and Ubuntu 11.10 Server with Gnome installed.
When I tried the wiki install guide again on the Ubuntu 11.10 Server (headless version), Serviio would not automatically start on reboot.
I understand. But no way I can now install a version of 'server' and practice issue. I only gave a proposal to test. Still using a version of dektop I removed the entries from /etc /rc.local, I added /etc/init/serviio.conf, I ran the machine again and it works. My /etc/init/serviio.conf:
- Code:
# Serviio - media server
#
# Serviio is a free media server. It allows you to stream your media files
# (music, video or images) to renderer devices (e.g. a TV set, Bluray player,
# games console or mobile phone) on your connected home network.
description "serviio - media server"
author "Rafał Szkodziński <uid@atnus.com>"
start on (starting network-interface
or starting network-manager
or starting networking)
stop on runlevel [!023456]
script
exec /usr/local/bin/serviio-0.6.2/bin/serviio.sh
end script
- Code:
root@poligon:~# initctl list | grep serviio
serviio start/running, process 818
root@poligon:~# ps aux | grep serviio
root 818 0.0 0.0 4392 604 ? Ss 20:39 0:00 /bin/sh /usr/local/bin/serviio-0.6.2/bin/serviio.sh
root 845 1.3 4.0 1237960 82288 ? Sl 20:39 0:21 java -Xmx384M -Xms20M -XX:+UseParNewGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dderby.system.home=/usr/local/bin/serviio-0.6.2/library -Dserviio.home=/usr/local/bin/serviio-0.6.2 -classpath /usr/local/bin/serviio-0.6.2/lib/*:/usr/local/bin/serviio-0.6.2/config org.serviio.MediaServer
root 2325 0.0 0.0 14820 892 pts/0 S+ 21:06 0:00 grep --color=auto serviio
root@poligon:~# stop serviio
serviio stop/waiting
root@poligon:~# ps aux | grep serviio
root 2335 0.0 0.0 14816 892 pts/0 S+ 21:06 0:00 grep --color=auto serviio
root@poligon:~# start serviio
serviio start/running, process 2337
root@poligon:~# ps aux | grep serviio
root 2337 0.0 0.0 4392 604 ? Ss 21:06 0:00 /bin/sh /usr/local/bin/serviio-0.6.2/bin/serviio.sh
root 2342 146 2.0 1213284 42928 ? Sl 21:06 0:01 java -Xmx384M -Xms20M -XX:+UseParNewGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dderby.system.home=/usr/local/bin/serviio-0.6.2/library -Dserviio.home=/usr/local/bin/serviio-0.6.2 -classpath /usr/local/bin/serviio-0.6.2/lib/*:/usr/local/bin/serviio-0.6.2/config org.serviio.MediaServer
root 2358 0.0 0.0 14816 888 pts/0 S+ 21:06 0:00 grep --color=auto serviio
root@poligon:~#
I propose to test my suggestions - I expect the information that helped
