SABnzbd Failes After IP Change

Support for the Debian/Ubuntu package, created by JCFP.
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
codeblue2k
Newbie
Newbie
Posts: 4
Joined: August 27th, 2012, 9:08 am

SABnzbd Failes After IP Change

Post by codeblue2k »

My router changed and I had to replace it. So this lead to my Ubuntu server receiving a new IP address. Now SABnzbd wont start.

When I start the service it says OK, but the web interface does not come up.

If I run "sabnzbdplus" I notice the following:

2012-08-27 07:11:53,231::ERROR::[sabnzbdplus:302] Failed to start web-interface :
2012-08-27 07:11:53,232::INFO::[__init__:325] SABnzbd shutting down...

I am not sure whats going on. Anyone have any suggestions?
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd Failes After IP Change

Post by sander »

In sabnzbd.ini, find the first occurence of 'host' ... What is it?

Here's mine:

Code: Select all

sander@R540:~$ grep host ~/.sabnzbd/sabnzbd.ini | head -1
host = 0.0.0.0
sander@R540:~$
codeblue2k
Newbie
Newbie
Posts: 4
Joined: August 27th, 2012, 9:08 am

Re: SABnzbd Failes After IP Change

Post by codeblue2k »

sander wrote:In sabnzbd.ini, find the first occurence of 'host' ... What is it?

Here's mine:

Code: Select all

sander@R540:~$ grep host ~/.sabnzbd/sabnzbd.ini | head -1
host = 0.0.0.0
sander@R540:~$

Mine shows what I am assuming was my previous IP address. If I change it to 0.0.0.0 and try to start the services it seems to be restored to my previous IP. I am making the changes as root.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd Failes After IP Change

Post by sander »

Did you fully stop SAB before changing anything in the sabnzbd.ini file ... ?
codeblue2k
Newbie
Newbie
Posts: 4
Joined: August 27th, 2012, 9:08 am

Re: SABnzbd Failes After IP Change

Post by codeblue2k »

Yes I did stop the service.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd Failes After IP Change

Post by sander »

From the command line (so not as a daemon / service), start SAB like this:

sabnzbdplus --server 127.0.0.1:8080

(Assuming port 8080 is available)
User avatar
jcfp
Release Testers
Release Testers
Posts: 1032
Joined: February 7th, 2008, 12:45 pm

Re: SABnzbd Failes After IP Change

Post by jcfp »

codeblue2k wrote:Mine shows what I am assuming was my previous IP address. If I change it to 0.0.0.0 and try to start the services it seems to be restored to my previous IP. I am making the changes as root.
If you set the host in /etc/default/sabnzbdplus it will be restored to whatever is set there every time the service starts.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd Failes After IP Change

Post by sander »

jcfp wrote:
codeblue2k wrote:Mine shows what I am assuming was my previous IP address. If I change it to 0.0.0.0 and try to start the services it seems to be restored to my previous IP. I am making the changes as root.
If you set the host in /etc/default/sabnzbdplus it will be restored to whatever is set there every time the service starts.
I advice to only use localhost (127.0.0.1) or 0.0.0.0: that will always work, won't it?
codeblue2k
Newbie
Newbie
Posts: 4
Joined: August 27th, 2012, 9:08 am

Re: SABnzbd Failes After IP Change

Post by codeblue2k »

jcfp wrote:
codeblue2k wrote:Mine shows what I am assuming was my previous IP address. If I change it to 0.0.0.0 and try to start the services it seems to be restored to my previous IP. I am making the changes as root.
If you set the host in /etc/default/sabnzbdplus it will be restored to whatever is set there every time the service starts.
I made the changes you suggested, but now when I start the service it sits at "URLGrabber starting up". Never moves past that line, I have to cancel out of the command.
User avatar
jcfp
Release Testers
Release Testers
Posts: 1032
Joined: February 7th, 2008, 12:45 pm

Re: SABnzbd Failes After IP Change

Post by jcfp »

codeblue2k wrote:
jcfp wrote:I made the changes you suggested, but now when I start the service it sits at "URLGrabber starting up". Never moves past that line, I have to cancel out of the command.
That's the last line in the log with a normal program startup. Time to start feeding it nzbs.
Post Reply