SAB broke after restart

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
Dead_Lemon
Newbie
Newbie
Posts: 3
Joined: September 17th, 2012, 1:29 pm

SAB broke after restart

Post by Dead_Lemon »

Hi All

I have an odd issue

I've been running SAB for 4 or 5 months, on my freeBSD server, with no issue, been happy as can be (An amazing program, congrats to the devs)

So I clicked restart in options in my browser, as I do now and then if something seems odd, like now, a package was stuck trying to download missing blocks, restarting SAB normally fixes it

Except this time, the program never came back, I cannot access it

The program seems to be running on the server, I can stop and start it, without error, but can no longer reach it via my browser
I even tried reinstalling it, deleting all config files and what not, and still did the same thing

I'm stumped, I really dont know how to proceed

Help would be much appreciated

Edit:
Here is the sabnzbd.log

Code: Select all

2012-09-17 20:42:19,232::INFO::[SABnzbd:1275] Arguments = /usr/local/bin/SABnzbd.py --daemon -f /usr/local/sabnzbd/sabnzbd.ini
2012-09-17 20:42:19,232::INFO::[SABnzbd:1288] Read INI file /usr/local/sabnzbd/sabnzbd.ini
2012-09-17 20:42:19,234::INFO::[__init__:919] Loading data for bookmarks.sab from /usr/local/sabnzbd/admin/bookmarks.sab
2012-09-17 20:42:19,234::INFO::[__init__:919] Loading data for rss_data.sab from /usr/local/sabnzbd/admin/rss_data.sab
2012-09-17 20:42:19,235::INFO::[__init__:919] Loading data for totals9.sab from /usr/local/sabnzbd/admin/totals9.sab
2012-09-17 20:42:19,235::INFO::[postproc:90] Loading postproc queue
2012-09-17 20:42:19,235::INFO::[__init__:919] Loading data for postproc1.sab from /usr/local/sabnzbd/admin/postproc1.sab
2012-09-17 20:42:19,236::INFO::[__init__:919] Loading data for queue9.sab from /usr/local/sabnzbd/admin/queue9.sab
2012-09-17 20:42:19,237::INFO::[__init__:919] Loading data for watched_data.sab from /usr/local/sabnzbd/admin/watched_data.sab
2012-09-17 20:42:19,238::INFO::[downloader:208] Resuming
2012-09-17 20:42:19,238::INFO::[__init__:318] All processes started
2012-09-17 20:42:19,238::INFO::[SABnzbd:336] Web dir is /usr/local/share/sabnzbdplus/interfaces/Plush
2012-09-17 20:42:19,239::INFO::[SABnzbd:336] Web dir is /usr/local/share/sabnzbdplus/interfaces/Config
2012-09-17 20:42:19,276::INFO::[SABnzbd:465] _yenc module... found!
2012-09-17 20:42:19,277::INFO::[SABnzbd:473] par2 binary... found (/usr/local/bin/par2)
2012-09-17 20:42:19,277::INFO::[SABnzbd:481] unrar binary... found (/usr/local/bin/unrar)
2012-09-17 20:42:19,277::INFO::[SABnzbd:486] unzip binary... found (/usr/bin/unzip)
2012-09-17 20:42:19,277::INFO::[SABnzbd:492] nice binary... found (/usr/bin/nice)
2012-09-17 20:42:19,277::INFO::[SABnzbd:498] ionice binary... NOT found!
2012-09-17 20:42:19,278::INFO::[SABnzbd:501] pyOpenSSL... found (True)
2012-09-17 20:42:19,281::INFO::[SABnzbd:1471] Starting web-interface on 127.0.0.1:8080
2012-09-17 20:42:19,291::INFO::[_cplogging:55] [17/Sep/2012:20:42:19] ENGINE Bus STARTING
2012-09-17 20:42:19,325::INFO::[_cplogging:55] [17/Sep/2012:20:42:19] ENGINE Started monitor thread '_TimeoutMonitor'.
2012-09-17 20:42:19,529::INFO::[_cplogging:55] [17/Sep/2012:20:42:19] ENGINE Serving on 127.0.0.1:8080
2012-09-17 20:42:19,530::INFO::[_cplogging:55] [17/Sep/2012:20:42:19] ENGINE Bus STARTED
2012-09-17 20:42:19,531::INFO::[notifier:87] Sending registration to localhost:23053
2012-09-17 20:42:21,146::INFO::[SABnzbd:1540] Starting SABnzbd.py-0.7.3
2012-09-17 20:42:21,149::INFO::[dirscanner:265] Dirscanner starting up
2012-09-17 20:42:21,150::INFO::[urlgrabber:77] URLGrabber starting up

User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: SAB broke after restart

Post by sander »

Your log says "127.0.0.1:8080", which means SABnzbd is only listening on the local / internal interface. So it's not reachable from other system on your LAN (or Internet)
Your post says "running on the server", so my guess is that you're trying to access it from some client PC (and not from the server). Right?

Solutions:
1) start a webbrowser on your FreeBSD server, go to 127.0.0.1:8080, and in Config -> General change Host to 0.0.0.0. Restart SABnzbd. Done
or
2) login on your server with SSH, stop SABnzbd, find sabnzbd.ini, open it for editing, at the first occurence of 'host', change the value from 127.0.0.1 to 0.0.0.0. Then start SABnzbd

HTH
Dead_Lemon
Newbie
Newbie
Posts: 3
Joined: September 17th, 2012, 1:29 pm

Re: SAB broke after restart

Post by Dead_Lemon »

Awesome, that worked :D

Except now I lost all my settings and download ques when deleting everything :/ lol

Thanks so much :D
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: SAB broke after restart

Post by sander »

Dead_Lemon wrote:Awesome, that worked :D

Except now I lost all my settings and download ques when deleting everything :/ lol

Thanks so much :D
Hmmm. That should not happen from changing the listening host. So maybe something else happened, like losing sabnzbd.ini completely? And even it's hard to loose your queue; the queue is in a separate file.
Dead_Lemon
Newbie
Newbie
Posts: 3
Joined: September 17th, 2012, 1:29 pm

Re: SAB broke after restart

Post by Dead_Lemon »

I did hunt down most of the locations that SAB installs to and delete them, possibly why, not much of an issue, I'm more happy that it's up and running again

Thanks again
jessedegenerate
Newbie
Newbie
Posts: 1
Joined: December 16th, 2012, 5:08 pm

Re: SAB broke after restart

Post by jessedegenerate »

Just wanted to say thanks to Sanders ~ i came across this post after updating my installation on OS X (10.8.2) from .7.6 to .7.7, and sab for some reason automatically did the same thing. Thanks for the super easy fix.
Post Reply