Tried everything, cannot run as service in XP
Forum rules
Help us help you:
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.
Re: Tried everything, cannot run as service in XP
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.
Re: Tried everything, cannot run as service in XP
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
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