Page 1 of 1

Sabnzbd service

Posted: September 2nd, 2011, 2:06 pm
by bry
I am not able to get the sab service to run. Once I log off the account in which it was installed on I am not able to access at all.
the SABnzbd service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.
above is the error I receive when i attempt to start the service from services.msc

I have looked through the wiki services section and attempted the fixes to no avail. Any help would be greatly appreciated.

Re: Sabnzbd service

Posted: September 2nd, 2011, 3:03 pm
by MadGenius
I have the same exact issue. I have installed the SABnzbd-helper.exe and SABnzbd-service.exe, helper runs fine but SABnzbd service fails to start. I get the exact same error message as in the previous post.I noticed that before the 0.6 versions began coming out, the only way to make SABnzbd a service was to use Windows 2003 Resource Toolkit and there were settings in that process for identifying the location of the sabnzbd.ini file; that might be a clue. even on the description on how to make SABnzbd a service for 0.6 and greater, it makes mention of other possible parameters for the installation; I would like to know what those are.

Re: Sabnzbd service

Posted: September 2nd, 2011, 4:23 pm
by shypike
If you follow the Wiki instructions carefully, it should just work.
Check the Windows event log for clues.
Also take care that the account under which SABnzbd-service.exe has access
to the folders that you are using.

Re: Sabnzbd service

Posted: September 4th, 2011, 10:49 am
by MadGenius
We did fo;;ow the instructions carefully and I have changed the accoutn SABnzbd-serve.exe starts with to administrator.

Re: Sabnzbd service

Posted: September 4th, 2011, 11:40 am
by shypike
Have you checked SABnzbd's log file and (probably more useful) the Windows event log?

Re: Sabnzbd service

Posted: September 4th, 2011, 11:47 am
by MadGenius
I figured it out. Read this:
Install the service

Because SABnzbd runs embedded, it cannot run the complete Setup Wizard.
Therefore you have to decide now on which IP address and port it will run.
In this instruction we'll assume you will use the generic 0.0.0.0 address, which will let
SABnzbd determine the externally accessible IP address by itself.
The port number will be 8080.
Port 80 will not be possible because of the WHS's own web server.

In the command prompt, type:

cd /d "c:\program files\SABnzbd"
SABnzbd-service.exe -f d:\usenet --server 0.0.0.0:8080 install
SABnzbd-helper.exe install

Now you need to set some service properties.
Open the Windows Service Manager and find the SABnzbd service and open its properties.
By default, SABnzbd will run as "Local System".
Modify SABnzbd to run as another account that has write-access to the shares where you want to store the final results.
The account "administrator" will always work (you'll need to enter the password of the account twice).
An another user account is fine too, as long as it has write access to the used shares and the d:\usenet folder.


NOTE!!!
The "d:\usenet" parameter in the second command is the location where SABnzbd will store the AppData. For some reason this cannot be the SABnzbd folder in program files. I used c:\Downloads\NZB\Incomplete\AppData and I just hid the folder once created.