Tried everything, cannot run as service in XP

Report & discuss bugs found in 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
Usenet
Jr. Member
Jr. Member
Posts: 87
Joined: February 12th, 2008, 6:04 pm

Re: Tried everything, cannot run as service in XP

Post by Usenet »

I had one mayor issue with SAB and that was user rights. I just downloaded the exe files and not the setup. I had to change the user right on all files used bu SAB to allow my service-user to access and write to the folders used. Give it a try and see if it helps.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Tried everything, cannot run as service in XP

Post by shypike »

I have SABnzbd.exe 0.3.1 running as a service, following the Wiki guideline.
It just works. Make sure you have the -d option.

Try to start SABnzbd-console.exe from the commandline, exactly they way you start it as a service.
(This way I found out that I had a incorrect INI file.)

This is the relevant content of the register:

Windows Registry Editor Version 5.00

[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"=".\\user"
"DependOnService"=hex(7):54,00,63,00,70,00,69,00,70,00,00,00,00,00
"DependOnGroup"=hex(7):00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SABnzbd\Parameters]
"AppDirectory"="D:\\bin\\sabnzbd-0.3.1"
"Application"="D:\\bin\\sabnzbd-0.3.1\\sabnzbd.exe"
"AppParameters"="-d -f d:\\Usenet\\sabnzbd.ini"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SABnzbd\Enum]
"0"="Root\\LEGACY_SABNZBD\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
Post Reply