Cannot start SABnzbd after power outage

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
skube
Newbie
Newbie
Posts: 12
Joined: April 1st, 2010, 8:13 pm

Cannot start SABnzbd after power outage

Post by skube »

I came home today to discover there was a power failure in my apartment. :-\

I was running SABnzbd 0.7 on a macOS 10.11.6. When I restarted my machine, I was greeted with an error and SAB would just not start anymore.

Poking around it seemed the error was something to with SAB not being able to reference some file: `/usr/lib/libobjc.A.dylib`

I gave up and decided time to upgrade anyway, so I downloaded the latest SABnzbd 2.1.0...Trying to start that up, again nothing seemed to happen. I manually checked the existing `sabnzbd.ini` file and it's still there with port 8080 specified.

The only other relevant error I could find in the console was a somewhat unhelpful error:

Code: Select all

 com.apple.xpc.launchd[1]: (org.sabnzbd.team.57312[468]) Service exited with abnormal code: 70
I never had a problem before and I'm at a loss as to what to try next. Any help would be appreciated.
User avatar
safihre
Administrator
Administrator
Posts: 5521
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Cannot start SABnzbd after power outage

Post by safihre »

In the location where you found sabnzbd.ini, there should also be a log file. Can you see if there's info in there?

Or run from the console:

/Applications/SABnzbd.app/Content/MacOS/SABnzbd --console -l 2

This will set logging to Debug to hopefully see an error of some kind. Later you should disable Debug logging again.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
skube
Newbie
Newbie
Posts: 12
Joined: April 1st, 2010, 8:13 pm

Re: Cannot start SABnzbd after power outage

Post by skube »

I checked the log and it looks like the culprit was:

Code: Select all

error: No socket could be created -- (('10.0.1.2', 8080): [Errno 49] Can't assign requested address)
I checked my network and sure enough, my IP address had shuffled after the power outage. I modified the `sabnzbd.ini` file to reflect the new IP and started up SAB successfully!

Thanks for your help! :)
User avatar
safihre
Administrator
Administrator
Posts: 5521
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Cannot start SABnzbd after power outage

Post by safihre »

Now go and switch to Glitter skin, 0.7 is veryyy old! :)
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Cannot start SABnzbd after power outage

Post by sander »

skube wrote: July 19th, 2017, 5:42 am I checked the log and it looks like the culprit was:

Code: Select all

error: No socket could be created -- (('10.0.1.2', 8080): [Errno 49] Can't assign requested address)
I checked my network and sure enough, my IP address had shuffled after the power outage. I modified the `sabnzbd.ini` file to reflect the new IP

Better to use 0.0.0.0 in that field.
skube
Newbie
Newbie
Posts: 12
Joined: April 1st, 2010, 8:13 pm

Re: Cannot start SABnzbd after power outage

Post by skube »

safihre wrote: July 19th, 2017, 6:08 am Now go and switch to Glitter skin, 0.7 is veryyy old! :)
Updated now to 2.2.0 O0
skube
Newbie
Newbie
Posts: 12
Joined: April 1st, 2010, 8:13 pm

Re: Cannot start SABnzbd after power outage

Post by skube »

sander wrote: July 19th, 2017, 9:48 am Better to use 0.0.0.0 in that field.
If I do that, won't it be impossible to access SAB from other devices on my network?
User avatar
safihre
Administrator
Administrator
Posts: 5521
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Cannot start SABnzbd after power outage

Post by safihre »

No, 0.0.0.0 is exactly the setting to make it accessible to devices in the network:
https://sabnzbd.org/wiki/configuration/2.2/general
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
skube
Newbie
Newbie
Posts: 12
Joined: April 1st, 2010, 8:13 pm

Re: Cannot start SABnzbd after power outage

Post by skube »

Awesome.
Appreciate the tip!
Post Reply