Noob needs help with setting it up as Windows service

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
slattynan
Newbie
Newbie
Posts: 9
Joined: December 24th, 2009, 6:33 pm

Noob needs help with setting it up as Windows service

Post by slattynan »

Hi Guys, i'm migrating from Ninan to SABnzbd. Seems to be a far more used stable platform with a great community. Congrats with that looking forward to becoming part of it.

I am having trouble setting it up as a service Ii have followed the instructions and think the most likely place for a noob error would be in the registery entried can someone take a look and see if there is an obvious error below:-

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SABnzbd\Parameters]
"AppDirectory"="C:\\Program Files\\SABnzbd"
"Application"="C:\\Program Files\\SABnzbd\SABnzbd.exe"
"AppParameters"="-d -f C:\\Program Files\\SABnzbd\\sabnzbd.ini"

Thanks

Trev aka Slatty
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Noob needs help with setting it up as Windows service

Post by shypike »

It's incomplete. Did you install svrany?

Code: Select all

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SABnzbd]
"Type"=dword:00000010
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"="C:\\Program Files\\Windows resource kits\\tools\\srvany.exe"
"DisplayName"="SABnzbd"
"ObjectName"=".\\Services"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SABnzbd\Parameters]
"Application"="C:\\Program Files\\SABnzbd\\SABnzbd.exe"
"AppDirectory"="c:\\program files\\SABnzbd"
"AppParameters"="-d -f PATH-TO-INI\\sabnzbd.ini"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SABnzbd\Security]
"Security"=hex:BLABLA

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SABnzbd\Enum]
"0"="Root\\LEGACY_SABNZBD\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
slattynan
Newbie
Newbie
Posts: 9
Joined: December 24th, 2009, 6:33 pm

Re: Noob needs help with setting it up as Windows service

Post by slattynan »

Hi thanks for the response. I added your code into my registery manually to make sure there were no issues, seems to have resloved my issue.

I am still a little uncertain why http://wiki.sabnzbd.org/windows-service didn't work. Perhaps a WHS security issue, although I can't see how.

Also if I have the SABnzbd.ini file in the SABnzbd directory in program files it creates a folder called program and creates a new ini file in there. Easily solved by moving the directory but still a little annoying.

Thanks

Trev
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Noob needs help with setting it up as Windows service

Post by shypike »

We're working on making SABnzbd a true Windows service.
slattynan
Newbie
Newbie
Posts: 9
Joined: December 24th, 2009, 6:33 pm

Re: Noob needs help with setting it up as Windows service

Post by slattynan »

That would be good, but for now I'm happy :).
Post Reply