Page 1 of 1

Cannot start SABnzbd after power outage

Posted: July 18th, 2017, 9:00 pm
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.

Re: Cannot start SABnzbd after power outage

Posted: July 19th, 2017, 12:08 am
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.

Re: Cannot start SABnzbd after power outage

Posted: July 19th, 2017, 5:42 am
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! :)

Re: Cannot start SABnzbd after power outage

Posted: July 19th, 2017, 6:08 am
by safihre
Now go and switch to Glitter skin, 0.7 is veryyy old! :)

Re: Cannot start SABnzbd after power outage

Posted: July 19th, 2017, 9:48 am
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.

Re: Cannot start SABnzbd after power outage

Posted: August 19th, 2017, 3:34 pm
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

Re: Cannot start SABnzbd after power outage

Posted: August 19th, 2017, 3:37 pm
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?

Re: Cannot start SABnzbd after power outage

Posted: August 19th, 2017, 3:46 pm
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

Re: Cannot start SABnzbd after power outage

Posted: August 19th, 2017, 3:58 pm
by skube
Awesome.
Appreciate the tip!