Oracle Solaris 11 (11/11) – Sickbeard + SABnzbd Install (Advanced)

Following up on the basic install of Sickbeard and SABnzbd this guide will cover how to install SickBeard and SABnzbd as services so that they start automatically at Solaris start-up.

This guide was done on a fresh install of Oracle Solaris 11 (11/11) – (get it here) – with a basic install performed according to this.

Step 1
Save these two XML documents somewhere:

sabnzbd.xml
sickbeard.xml

** This guide assumes the username: USERNAME the group: other and the install directory: /opt/Sickbeard/ and ‘/opt/SABnzbd/‘ however you can change all of these in the XML documents yourself.

Step 2
Move the XML documents to the ‘/var/svc/manifest/site/’ directory.

$ sudo cp sabnzbd.xml /var/svc/manifest/site/sabnzbd.xml
$ sudo cp sickbeard.xml /var/svc/manifest/site/sickbeard.xml

Step 3
Import the XML documents.

$ sudo svccfg import /var/svc/manifest/site/sabnzbd.xml
$ sudo svccfg import /var/svc/manifest/site/sickbeard.xml

Step 4
Enable the services.

$ sudo svcadm enable sabnzbd
$ sudo svcadm enable sickbeard

Step 5
Verify your logs.

Sickbeard log: ‘/var/svc/log/network-sickbeard:default.log’
[ Dec 10 16:57:47 Enabled. ]
[ Dec 10 16:58:02 Executing start method ("/opt/SickBeard.py --daemon"). ]
[ Dec 10 16:58:04 Method "start" exited with status 0. ]

SABnzbd log: ‘/var/svc/log/network-sabnzbd:default.log’
[ Dec 10 16:57:47 Enabled. ]
[ Dec 10 16:58:02 Executing start method ("/usr/bin/python2.6 /opt/SABnzbd.py -d -f /export/home/USERNAME/.sabnzbd/sabnzbd.ini"). ]
[ Dec 10 16:58:04 Method "start" exited with status 0. ]

Step 6
Reboot and try to visit the respecitve local addresses to see if the service is running and accessible (without you explicitly starting them first).

http://localhost:8080 <--- SABnzbd (replace localhost with the server IP if necessary - Protip: SABnzbd has to be configured from localhost before network access is allowed) http://localhost:8081 <--- Sickbeard (replace localhost with the server IP if necessary)

7 thoughts on “Oracle Solaris 11 (11/11) – Sickbeard + SABnzbd Install (Advanced)

  1. Pingback: Oracle Solaris 11 (11/11) – Sickbeard + SABnzbd Install (Basic) | damox's rambling

  2. Crispin

    Thanks for the tutorial. Worked perfectly except for the -s switch when starting. That is needed if you want to access it from afar.

    Reply
  3. Nate

    I know this post is dated over a year ago but I wanted to thank you for taking the time to post this. I was attempting to do this myself when I stumbled upon your post. Thanks again!

    Reply
  4. Owen

    I found this guide very useful, however the last part about starting the services is not strictly correct:

    https://blogs.oracle.com/SolarisSMF/entry/changes_to_svccfg_import_and

    I accidently did not replace an instance of “USERNAME” with my own username in the sabznbd.xml and then guessed (half-correctly) that the correct way to re-instante the service would be to do an “svccfg delete” – turns out this is not so!

    The delete operation will actually mask (hide) the service and svcadm will tell you that no such service exists if you attempt to restart it.

    Reply

Leave a Reply to Owen Cancel reply

Your email address will not be published. Required fields are marked *