sabnzbd terminating when running as a (windows) service when a console user logs

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
spoofy22
Newbie
Newbie
Posts: 4
Joined: July 3rd, 2008, 1:51 am

sabnzbd terminating when running as a (windows) service when a console user logs

Post by spoofy22 »

Hi,
i'm running version 0.4.12 on Windows 2003.
Sabnzbd is running as a service (using srvany.exe... but doesn't matter)
When someone (just anyone, doesn't matter who) logs off from the server console, sabnzbd terminates : it seems to detect "signal 5 ", see this message from the logfile :
WARNING::[sabnzbd] Signal 5 caught, saving and exiting...

When someone uses RDP (mstsc.exe) on the server and logs off, all stays as is (no problem), only when someone logs on at the server console (or uses "mstsc /admin" (or older version : "mstsc /console")) sabnzb terminates (signal 5?) when the user logs off...

Could this be fixed? (so i don't need to restart the windows service from time to time....)
This problem is easy to reproduce...
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: sabnzbd terminating when running as a (windows) service when a console user logs

Post by shypike »

Are you using the -d command line parameter (daemon mode)?
You should.
When you use the -d option, you must also specify an explicit path for the ini file (-f c:\path\to\sabnzbd.ini).
spoofy22
Newbie
Newbie
Posts: 4
Joined: July 3rd, 2008, 1:51 am

Re: sabnzbd terminating when running as a (windows) service when a console user logs

Post by spoofy22 »

wasn't aware of these parameters...
changed it now, works like a charm! thanks a lot guys! case closed.
Post Reply