Problems setting sabnzbd to run as a 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
tylor
Newbie
Newbie
Posts: 23
Joined: March 11th, 2010, 2:25 am

Problems setting sabnzbd to run as a service!

Post by tylor »

Hi Guys,

I have been following the below guide to try and get sabnzbd to run as a windows service on my Windws 7 Pc.
http://wiki.sabnzbd.org/windows-service

I have managed to setup the service ok but when I then try to access it from a web url redirect I get the page cannot be displayed. Accessing from localhost does work but I am not convinced it is bringing up the correct sab queue, as it was bringing up a move I added/deleted sometime ago!

So for the moment I have reverted to using sabnzbd via the shortcut/.exe file, just wondered if anybod else experienced issues in trying to set this up. Ideally this would allow me to ensure sab would run after a reboot and not automatically launch the webpage upong starting the .exe.

Any suggestions would be greatly appreciated..

Kind Regards
Tylor
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Problems setting sabnzbd to run as a service!

Post by shypike »

What data is used, is determined by the -f parameter.
If you run it as a service, it will not try to find the sabnzbd.ini file in the user profile.
Check your "AppParameters".
tylor
Newbie
Newbie
Posts: 23
Joined: March 11th, 2010, 2:25 am

Re: Problems setting sabnzbd to run as a service!

Post by tylor »

Apologies, I am still quite new to this so didn't quite follow..

How do I check the parameters, I simply copied the example reg script so I will be using -f
(is there a list I can refer to)?

Also if this is incorrect, could this be stopping me access sabnzbdfrom my redirect url?

Thanks again
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Problems setting sabnzbd to run as a service!

Post by shypike »

The -f points to the sabnzbd.ini file and that also determines
where all relatively specified folders are.
I assume you entered this into the registry:

Code: Select all

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SABnzbd\Parameters]
"AppDirectory"="d:\\bin\\SABnzbd"
"Application"="D:\\bin\\SABnzbd\\SABnzbd.exe"
"AppParameters"="-d -f d:\\MyWorkDir\\sabnzbd.ini"
In the last line it says where SABnzbd should look for the INI file.
You change this by uding the regedit program.
All values above should be modified to match the locations on your system.

When you run it as a service, the web browser cannot be started automatically
and you will have to use a favourite/shortcut.
tylor
Newbie
Newbie
Posts: 23
Joined: March 11th, 2010, 2:25 am

Re: Problems setting sabnzbd to run as a service!

Post by tylor »

Thanks for the info shypike

Much appreciated
:)
Post Reply