Page 1 of 1

Migrating to the official sabnzbd package - Ubuntu Jaunty 9.04

Posted: July 19th, 2009, 6:22 pm
by Schrodinger
G'day guys,

I've used Sabnzbd for almost a year now, and I've absolutely loved it. Today I stupidly decided to install the new sabnzbdplus package on Ubuntu, after doing an apt-get remove of my previous sabnzbd package. I've modified the /etc/defaults/sabnzbdplus to link to the right user (dan) and directly link to the sabnzbd.ini file in my home directory.

I run the /etc/init.d/sabnzbdplus start
command and it says that it's started but I can't access it locally or remotely on url:8080/sabnzbd/ it just kind of sits there.

I tried launching the sab daemon on the machine by using the command:
sabnzbdplus

And I got the following output:

20/Jul/2009:09:14:19 HTTP INFO Port 8080 not free on 'localhost'

I've restarted the machine twice but I still can't figure out what the go is.

How do I remove the old startup /etc/init.d/sabnzbd script from startup and put the new /etc/init.d/sabnzbdplus script in?

Re: Migrating to the official sabnzbd package - Ubuntu Jaunty 9.04

Posted: July 28th, 2009, 12:51 am
by bobsmith
I'm no expert, but I see nobody has responded yet, so I'll give it a try. I had the same error messages in Ubuntu Jaunty. I finally got things to work by doing this:

1) First I edited the "/etc/hosts"  file and changed the localhost to my static IP address (for me that is 192.168.1.103). When I opened the "/etc/hosts" file there was this line in there:
          127.0.0.1 localhost 
I changed it to this:
          192.168.1.103 localhost
However, note that I'm using a static IP which I set up using WICD (which I use instead of the standard network manager).

2) Next I edited the ~/.sabnzbd/sabnzbd.ini file. I changed this line:
          host = localhost
to this:
          host = 192.168.1.103

That fixed it for me.

I tried one other thing that worked also - and it was even simpler:

1) I opened the ~/.sabnzbd/sabnzbd.ini file and changed this line:
        "host = localhost"
to this:
        "host = 0.0.0.0".

Both ways got sabnzbd+ to work for me, but I ended up going with the first one. That was over two months ago and I haven't had any problems with it. I hope this helps.

Re: Migrating to the official sabnzbd package - Ubuntu Jaunty 9.04

Posted: July 28th, 2009, 1:40 am
by shypike
To which IP does "localhost" map?
I have seen so many Linux systems with bad name resolving.

Re: Migrating to the official sabnzbd package - Ubuntu Jaunty 9.04

Posted: July 28th, 2009, 5:05 am
by sander
Schrodinger wrote:
And I got the following output:

20/Jul/2009:09:14:19 HTTP INFO Port 8080 not free on 'localhost'

I've restarted the machine twice but I still can't figure out what the go is.

How do I remove the old startup /etc/init.d/sabnzbd script from startup and put the new /etc/init.d/sabnzbdplus script in?
So there's already something running/listerning on port 8080. It could be (another) SABnzbd, or a completely other program (like a web proxy). Easy way to check: connect to http://127.0.0.1:8080/sabnzbd and http://127.0.0.1:8080/ and see what screen you get