[Solved]Debian - sabnzbdplus only runs when manually started
Posted: May 24th, 2013, 5:20 pm
So I am running the below on a stable system
When the system boots, it shows the service starts with an ok. yet when i run ps aux | grep sabnzb, it shows it is not running.
the service is listed as follows
and then as root, when i run /etc/init.d/sabnzbdplus start the daemon starts.
i also have a crontab that checks if sabnzbplus is running
some output from the log file shows
yet when i run the same crontab entry manually the daemon starts.
you may also have noticed above that the start-level is 11. which happens to be before network manager. but no matter what i try, i am unable to change the start level
what am i missing here?
Code: Select all
# apt-cache policy sabnzbdplus
sabnzbdplus:
Installed: 0.6.15-1
Candidate: 0.6.15-1
Version table:
*** 0.6.15-1 0
500 http://debian.mirror.ac.za/debian/ stable/contrib amd64 Packages
100 /var/lib/dpkg/status
the service is listed as follows
Code: Select all
# ls -la /etc/{rc?.d,init.d,default}/*sabnzbdplus
-rw-r--r-- 1 root root 760 May 20 23:57 /etc/default/sabnzbdplus
-rwxr-xr-x 1 root root 3498 Dec 8 2011 /etc/init.d/sabnzbdplus
lrwxrwxrwx 1 root root 21 May 20 23:52 /etc/rc0.d/K01sabnzbdplus -> ../init.d/sabnzbdplus
lrwxrwxrwx 1 root root 21 May 20 23:52 /etc/rc1.d/K01sabnzbdplus -> ../init.d/sabnzbdplus
lrwxrwxrwx 1 root root 21 May 20 23:52 /etc/rc2.d/S11sabnzbdplus -> ../init.d/sabnzbdplus
lrwxrwxrwx 1 root root 21 May 20 23:52 /etc/rc3.d/S11sabnzbdplus -> ../init.d/sabnzbdplus
lrwxrwxrwx 1 root root 21 May 20 23:52 /etc/rc4.d/S11sabnzbdplus -> ../init.d/sabnzbdplus
lrwxrwxrwx 1 root root 21 May 20 23:52 /etc/rc5.d/S11sabnzbdplus -> ../init.d/sabnzbdplus
lrwxrwxrwx 1 root root 21 May 20 23:52 /etc/rc6.d/K01sabnzbdplus -> ../init.d/sabnzbdplus
i also have a crontab that checks if sabnzbplus is running
Code: Select all
*/5 * * * * /usr/local/bin/check-sabnzb >> /root/check-sabnzb.log
Code: Select all
Starting SABnzbd+ binary newsgrabber: failed!
Starting SABnzbd+ binary newsgrabber: failed!
Starting SABnzbd+ binary newsgrabber: failed!
you may also have noticed above that the start-level is 11. which happens to be before network manager. but no matter what i try, i am unable to change the start level
Code: Select all
# update-rc.d sabnzbdplus start 20 2 3 4 5 stop 01 0 1 6
update-rc.d: using dependency based boot sequencing
# ls -la /etc/{rc?.d,init.d,default}/*sabnzbdplus
-rw-r--r-- 1 root root 760 May 20 23:57 /etc/default/sabnzbdplus
-rwxr-xr-x 1 root root 3498 Dec 8 2011 /etc/init.d/sabnzbdplus
lrwxrwxrwx 1 root root 21 May 20 23:52 /etc/rc0.d/K01sabnzbdplus -> ../init.d/sabnzbdplus
lrwxrwxrwx 1 root root 21 May 20 23:52 /etc/rc1.d/K01sabnzbdplus -> ../init.d/sabnzbdplus
lrwxrwxrwx 1 root root 21 May 20 23:52 /etc/rc2.d/S11sabnzbdplus -> ../init.d/sabnzbdplus
lrwxrwxrwx 1 root root 21 May 20 23:52 /etc/rc3.d/S11sabnzbdplus -> ../init.d/sabnzbdplus
lrwxrwxrwx 1 root root 21 May 20 23:52 /etc/rc4.d/S11sabnzbdplus -> ../init.d/sabnzbdplus
lrwxrwxrwx 1 root root 21 May 20 23:52 /etc/rc5.d/S11sabnzbdplus -> ../init.d/sabnzbdplus
lrwxrwxrwx 1 root root 21 May 20 23:52 /etc/rc6.d/K01sabnzbdplus -> ../init.d/sabnzbdplus