service start failed

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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
terrible1
Newbie
Newbie
Posts: 5
Joined: March 18th, 2011, 2:23 pm

service start failed

Post by terrible1 »

i installed sabnzbd on a whs box following the instructions to install as a service etc which worked fine :) how ever i played with some https settings and did a manual restart of sabnzbd.  at this point it never came back alive.  So after playing around to no avail i delete sabnzbd everything in the program files and in my documents and deleted both services.  I reinstalled sabnzbd and now when I try to start the service i get the following

"the sabnzbd binary newsreader service could not be started"

it says the service quit with out reporting any errors so im at a loss atm

This is driving me MAD! plz help :)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: service start failed

Post by shypike »

Check the Windows Event log, section Applications, for error messages regarding SABnzbd.
terrible1
Newbie
Newbie
Posts: 5
Joined: March 18th, 2011, 2:23 pm

Re: service start failed

Post by terrible1 »

so i get two errors when i try and start the service as follows:

The instance's SvcRun() method failed
Traceback (most recent call last):
  File "win32serviceutil.pyo", line 806, in SvcRun
  File "SABnzbd.pyo", line 1512, in SvcDoRun
  File "SABnzbd.pyo", line 996, in main
  File "SABnzbd.pyo", line 304, in Bail_Out
  File "sabnzbd\misc.pyo", line 888, in exit_sab
SystemExit: 2
%2: %3

and:

The description for Event ID ( 4100 ) in Source ( SABnzbd Binary Newsreader ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: SABnzbd, Panic exit.


Any ideas?
terrible1
Newbie
Newbie
Posts: 5
Joined: March 18th, 2011, 2:23 pm

Re: service start failed

Post by terrible1 »

ok to add some more info to this i disabled the windows firewall to see it that was the issue but that had no effect.  sabnzbd it self runs fine if i just load it as normal but the service just fails to start :( also the sabnzbd helper service seems to run fine.
Last edited by terrible1 on March 21st, 2011, 1:23 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: service start failed

Post by shypike »

Is there anything in SABnzbd's own log file?
Under which account does it run?
Does that account have full rights to all paths used by SABnzbd?
terrible1
Newbie
Newbie
Posts: 5
Joined: March 18th, 2011, 2:23 pm

Re: service start failed

Post by terrible1 »

the log file says nothing of any use it seems and im running everything as admin including the service.
terrible1
Newbie
Newbie
Posts: 5
Joined: March 18th, 2011, 2:23 pm

Re: service start failed

Post by terrible1 »

ok so i have for now used AnyServiceInstaller.exe to install sabnzbd as a service on my windows home server box and that seems to run fine as a service.  Not sure why it will not using the proper method.  I would prefer to get it fixed proper but this will do till then.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: service start failed

Post by shypike »

There's nothing to fix on our side.
It runs perfectly on multiple WHS systems, including my own.
minimeh
Newbie
Newbie
Posts: 34
Joined: March 26th, 2010, 12:42 pm

Re: service start failed

Post by minimeh »

terrible1 wrote: so i get two errors when i try and start the service as follows:

The instance's SvcRun() method failed
Traceback (most recent call last):
  File "win32serviceutil.pyo", line 806, in SvcRun
  File "SABnzbd.pyo", line 1512, in SvcDoRun
  File "SABnzbd.pyo", line 996, in main
  File "SABnzbd.pyo", line 304, in Bail_Out
  File "sabnzbd\misc.pyo", line 888, in exit_sab
SystemExit: 2
%2: %3
So, just for grins, I looked at line 996 in SABnzbd.py in main to see what I could see. This appears to be an IOError exception thrown when checking for the https port availability, suggesting that the specified https port is in use already.

Maybe you have the desktop sabnzbd running and configured for https on the same port when the service starts? Does task manager show any instances of sabznbd running? Or maybe something else is using that port on your system?

I see that all your problems began when:
how ever i played with some https settings and did a manual restart of sabnzbd....
So after playing around to no avail i delete sabnzbd everything in the program files and in my documents and deleted both services.  I reinstalled sabnzbd and now when I try to start the service i get the following...
When you reinstalled, did you also delete the old ini file as pointed to in the service installation command?

Code: Select all

SABnzbd-service.exe -f <path> install
I think you have to force its deletion for a clean reinstall.

Anyway, it looks like you're looking at the sabnzb service wants to use https and that the https port specified is in use. I'm guessing that if you correct that you'll be good to go. Or not... :)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: service start failed

Post by shypike »

minimeh wrote: So, just for grins, I looked at line 996 in SABnzbd.py in main to see what I could see. This appears to be an IOError exception thrown when checking for the https port availability, suggesting that the specified https port is in use already.
Ouch, I thought I had fixed that some time ago.
Thanks for the tip, I will follow this up.
Post Reply