Page 1 of 1
Re: Tried everything, cannot run as service in XP
Posted: March 3rd, 2008, 10:07 am
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.
Re: Tried everything, cannot run as service in XP
Posted: March 3rd, 2008, 12:51 pm
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