Failed to restart, no settings were altered

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
ghostcorps
Newbie
Newbie
Posts: 47
Joined: September 10th, 2009, 6:39 pm

Failed to restart, no settings were altered

Post by ghostcorps »

Hi Guys,

I needed to restart my fully functioning installation of SABnzbd last nigh. When I tried to start it again, after shutting it down via the console, it would run for about 20 seconds before shutting itself down again. I looked through the logs, but nothing jumped out at me. I restarted the machine and now SABnzbd seems to start, but the web client is 'not available'.

Should I try changing the log level? Has anyone had this issue before? What could cause the configuration to become corrupted by simply shutting down the program? All connections were paused btw.

Please tell me which details I need to look at to determine the cause.  

OS: FreeBSD 7.0 Release
SABnzbd: 0.4.11
CPU: Core2 Duo E7500 (2.93ghz)
HDDs: System Disk=1x15k 75GB SCSI (Seagate)
         Storage Disk=8x500GB SATAII (Seagate) RAID5


Thanks in advance

:)

[EDIT]
I just found this in the printout after shutting down, I don't know if it will help, but it looks unusual.:

Code: Select all

Exception in thread Thread-6:
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/threading.py", line 460, in __bootstrap
    self.run()
  File "/usr/local/lib/python2.5/site-packages/sabnzbd/newzbin.py", line 109, in run
    filename, data, newzbin_cat = _grabnzb(msgid, self.nzbun, self.nzbpw)
  File "/usr/local/lib/python2.5/site-packages/sabnzbd/newzbin.py", line 171, in _grabnzb
    data = response.read()
  File "/usr/local/lib/python2.5/httplib.py", line 509, in read
    return self._read_chunked(amt)
  File "/usr/local/lib/python2.5/httplib.py", line 552, in _read_chunked
    value += self._safe_read(chunk_left)
  File "/usr/local/lib/python2.5/httplib.py", line 600, in _safe_read
    raise IncompleteRead(s)
IncompleteRead: []
Last edited by ghostcorps on November 23rd, 2009, 5:05 pm, edited 1 time in total.
Version: 0.4.12_2
OS: FreeBSD 7.0 Rel
Install-type: Install from Ports
Firewall: On router
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Failed to restart, no settings were altered

Post by switch »

How was it shut down again?

How is sabnzbd.py launched (and what options passed).

Have you tried using a different port, or clearing the cache folder (-c or delete ~/.sabnzbd/cache/).

Could you post your startup logs? (post on http://pastebin.com or http://pastebin.ca)
ghostcorps
Newbie
Newbie
Posts: 47
Joined: September 10th, 2009, 6:39 pm

Re: Failed to restart, no settings were altered

Post by ghostcorps »

Hi Switch,

After following up on your suggestions and questions, I went to try setting the host to "0.0.0.0" as per another suggestion, and for some bizarre reason, the host in the .ini was set to "hutdown"  ??!!  Obviously this was the problem, and I have since set it back to the correct number but how could this have been changed in the course of normal use? 

Thanks again for your quick response :)
Version: 0.4.12_2
OS: FreeBSD 7.0 Rel
Install-type: Install from Ports
Firewall: On router
Post Reply