Migrating to the official sabnzbd package - Ubuntu Jaunty 9.04

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
Schrodinger
Newbie
Newbie
Posts: 3
Joined: July 19th, 2009, 6:12 pm

Migrating to the official sabnzbd package - Ubuntu Jaunty 9.04

Post 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?
bobsmith
Newbie
Newbie
Posts: 8
Joined: May 29th, 2009, 7:29 pm

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

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post by shypike »

To which IP does "localhost" map?
I have seen so many Linux systems with bad name resolving.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

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

Post 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
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply