Help! SABnzbd not starting - running as 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
Ronald Pagan
Newbie
Newbie
Posts: 8
Joined: January 28th, 2010, 12:26 pm

Help! SABnzbd not starting - running as service

Post by Ronald Pagan »

Hello,

First, long-time user of SAB love it, and am fairly panicked because I can't get it to start-up. 

Here is my setup, I am running SAB v5.0 on my WHS server as a service, it has been working peachy up until last night.  I used this guide to install as service: http://forum.wegotserved.com/index.php? ... eee6e55707

When I tried to start it up this morning, I could not open the web interface.  I did not change any settings related to SAB.  My only suspicion is that I shut down the server before the it stopped working and that SAB did not shut down properly. 

When I try to start SABnzbd from the server's desktop I get the browser window that a program is already using the port or that Sab is already running. 

Remediation I have attempted so far is:

Restart my installed sabnzbd service - did not work

Stopped the installed sabnzbd service from starting automatically at windows logon then starting sabnzbd from the desktop - did not work - got the port use window in the browser

Uninstalled SAB and installed 5.02 - did not work, get the same error window in the browser

Completely deleted SAB director and installed fresh - same as above

Tried to run SAB as indicated in the error window with a new port - not working no ports work

This has lead me to believe that somehow SABnzbd still thinks its running as a service even though the service is disabled.  I have looked through all of the services running on the machine and it is not there. 

The only other thing I can think of is deleting the data in the local settings folders.  I am fairly panicked because I can't seem to remove the damn thing from my server and start over.  Any help is appreciated. 

Will post py logs tonight. 
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Help! SABnzbd not starting - running as service

Post by shypike »

You should at least set the service to disabled.
Data corruption is the most likely cause, so start up once with the --clean parameter.
Check the content of your sabnzbd.ini file or remove it if you have no special settings.
Ronald Pagan
Newbie
Newbie
Posts: 8
Joined: January 28th, 2010, 12:26 pm

Re: Help! SABnzbd not starting - running as service

Post by Ronald Pagan »

Thanks alot shy.  I should have clarified, I have disabled the service entirely.  Will go so far as to delete this service tonight. 

However, I don't think it's an issue with the service.  I think that when I start SAB up, it somehow thinks that there's another copy running when there isn't.  I think it is data corruption because I think I accidentally did a hard shut down of the server right before SAB stopped working. 

My question for you is that I have the logs and cache in the user/local settings/application data folder.  Is it possible that that data is corrupt and that that's the problem?  Because I have compeletely uninstalled and reinstalled SAB I doubt it has anythign to do with the sab.ini in the Program Files folder.  If so is it okay to delete the local settings data?  Will SAB startup with no cache data? 
Ronald Pagan
Newbie
Newbie
Posts: 8
Joined: January 28th, 2010, 12:26 pm

Re: Help! SABnzbd not starting - running as service

Post by Ronald Pagan »

When I try to launch Sabnzbd with the --clean parameter I get the follow error log in sabnzbd.exe.log

ERROR DURING SCHEDULER EXECUTION list index out of range
Traceback (most recent call last):
  File "sabnzbd\utils\kronos.pyo", line 277, in _run
  File "sched.pyo", line 108, in run
  File "sabnzbd\utils\kronos.pyo", line 104, in __delayfunc
  File "sabnzbd\utils\kronos.pyo", line 269, in _getqueuetoptime
IndexError: list index out of range

--------------------
Exception in thread Thread-6:
Traceback (most recent call last):
  File "threading.pyo", line 488, in __bootstrap_inner
  File "sabnzbd\newzbin.pyo", line 213, in run
  File "sabnzbd\misc.pyo", line 855, in bad_fetch
  File "sabnzbd\nzbstuff.pyo", line 736, in set_original_dirname
AttributeError: 'int' object has no attribute 'strip'
Ronald Pagan
Newbie
Newbie
Posts: 8
Joined: January 28th, 2010, 12:26 pm

Re: Help! SABnzbd not starting - running as service

Post by Ronald Pagan »

Furthermore, when I try to run SABnzbd.exe I get the error message of the program already running window however when I run SABnzbd-console, sab starts just fine. 

I have removed the settings from the application data folders and that has not worked. 
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Help! SABnzbd not starting - running as service

Post by shypike »

There's a problem in the sabnzbd.ini file.
Look for "schedlines =" and remove it.
Post Reply