".... needs a free tcp/ip port ...."

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.
antoniong
Newbie
Newbie
Posts: 12
Joined: March 1st, 2010, 6:28 am

".... needs a free tcp/ip port ...."

Post by antoniong »

I am running a iMac (Intel, OSX 10.6/SL) and I keep getting this error message. I have no firewalls in use.

Anyone a solution?
rAf
Moderator
Moderator
Posts: 546
Joined: April 28th, 2008, 2:35 pm
Location: France
Contact:

Re: ".... needs a free tcp/ip port ...."

Post by rAf »

With which port do you have configured SABnzbd ?
antoniong
Newbie
Newbie
Posts: 12
Joined: March 1st, 2010, 6:28 am

Re: ".... needs a free tcp/ip port ...."

Post by antoniong »

rAf wrote: With which port do you have configured SABnzbd ?
First time I started I used the GUI but everytime I started I got the same problem. Tehn I started using the terminal, defined several differen ports, but all showed same problem.

Latest try I used this "/Applications/_FTP_P2P/SABnzbd.app/Contents/MacOS/SABnzbd --server localhost:12345". Same problem. Between retries I have to stop manually SABnzd using the Activity Monitor. Because it keeps running.

I have no special apps that do tweaks installed.
sting7785
Newbie
Newbie
Posts: 7
Joined: February 12th, 2010, 1:38 am

Re: ".... needs a free tcp/ip port ...."

Post by sting7785 »

I'm having the same problem.  I have SABnzbd configured to port 8080.  It worked fine for me last night.  I didn't change anything on it, and then when I went to open it to download something this morning, I got the error.  No firewalls running or anything like that.  Any advice?
rAf
Moderator
Moderator
Posts: 546
Joined: April 28th, 2008, 2:35 pm
Location: France
Contact:

Re: ".... needs a free tcp/ip port ...."

Post by rAf »

Do you upgrade from 0.4.x ?
antoniong
Newbie
Newbie
Posts: 12
Joined: March 1st, 2010, 6:28 am

Re: ".... needs a free tcp/ip port ...."

Post by antoniong »

rAf wrote: Do you upgrade from 0.4.x ?
I first removed everything before installing .5
rAf
Moderator
Moderator
Posts: 546
Joined: April 28th, 2008, 2:35 pm
Location: France
Contact:

Re: ".... needs a free tcp/ip port ...."

Post by rAf »

There is a big difference between 0.4x and 0.5x.
in 0.4.x settings were stored in ~/.sabnzbd
in 0.5.x settings are now stored in ~/Library/Application Support/SABnzbd

Settings are copied on first run but not deleted.
If you have troubles try to remove the 2 folders and restart SABnzbd, you should have the wizard (backup the folders if you need to keep remember your settings).
antoniong
Newbie
Newbie
Posts: 12
Joined: March 1st, 2010, 6:28 am

Re: ".... needs a free tcp/ip port ...."

Post by antoniong »

rAf wrote: There is a big difference between 0.4x and 0.5x.
in 0.4.x settings were stored in ~/.sabnzbd
in 0.5.x settings are now stored in ~/Library/Application Support/SABnzbd

Settings are copied on first run but not deleted.
If you have troubles try to remove the 2 folders and restart SABnzbd, you should have the wizard (backup the folders if you need to keep remember your settings).
Remoed both but does not make any change. SABnzbd remains in the Activitymonitor and uses quite a bit CPU from time to time doing nothing whatsoever.



(who is so unsmart to save prefs in a hidden file?)
sting7785
Newbie
Newbie
Posts: 7
Joined: February 12th, 2010, 1:38 am

Re: ".... needs a free tcp/ip port ...."

Post by sting7785 »

rAf wrote: There is a big difference between 0.4x and 0.5x.
in 0.4.x settings were stored in ~/.sabnzbd
in 0.5.x settings are now stored in ~/Library/Application Support/SABnzbd

Settings are copied on first run but not deleted.
If you have troubles try to remove the 2 folders and restart SABnzbd, you should have the wizard (backup the folders if you need to keep remember your settings).
I also tried this and didn't have any luck.  I wasn't using 0.4, I was using 0.5.0 rc6 last night, and that's what I also tried this morning which gave me trouble.  I tried downloading 0.5.0 final today and it's giving me the same error.
rAf
Moderator
Moderator
Posts: 546
Joined: April 28th, 2008, 2:35 pm
Location: France
Contact:

Re: ".... needs a free tcp/ip port ...."

Post by rAf »

This command tell you if SABnzbd is running and if yes on which port
Could you open a terminal and type this :

Code: Select all

lsof -iTCP -sTCP:LISTEN -P | grep SABnzbd

if running try this command, this should quit SABnzbd :

Code: Select all

killall -3 SABnzbd
After that try to launch SABnzbd by double-clicking the SABnzbd icon on Applications folder.
sting7785
Newbie
Newbie
Posts: 7
Joined: February 12th, 2010, 1:38 am

Re: ".... needs a free tcp/ip port ...."

Post by sting7785 »

rAf wrote: This command tell you if SABnzbd is running and if yes on which port
Could you open a terminal and type this :

Code: Select all

lsof -iTCP -sTCP:LISTEN -P | grep SABnzbd

if running try this command, this should quit SABnzbd :

Code: Select all

killall -3 SABnzbd
After that try to launch SABnzbd by double-clicking the SABnzbd icon on Applications folder.
No luck.  It just brings me back to the Safari window asking me to try a different port. 
rAf
Moderator
Moderator
Posts: 546
Joined: April 28th, 2008, 2:35 pm
Location: France
Contact:

Re: ".... needs a free tcp/ip port ...."

Post by rAf »

sting7785,

what the result of this command :

Code: Select all

lsof -iTCP -sTCP:LISTEN -P | grep 8080
rAf
Moderator
Moderator
Posts: 546
Joined: April 28th, 2008, 2:35 pm
Location: France
Contact:

Re: ".... needs a free tcp/ip port ...."

Post by rAf »

@antoniong :

SABnzbd is a kind of background software, you launch it and the use the webinterface to control it.
It's normal to see SABnzbd in your activity monitor even when your download is finished.
You don't have to run it multiple times. Once launched just open your browser and go to http://localhost:8080/ (or whatever you've configured)
sting7785
Newbie
Newbie
Posts: 7
Joined: February 12th, 2010, 1:38 am

Re: ".... needs a free tcp/ip port ...."

Post by sting7785 »

rAf wrote: sting7785,

what the result of this command :

Code: Select all

lsof -iTCP -sTCP:LISTEN -P | grep 8080
It doesn't do anything for me because SABnzbd isn't running when I do it.  I have used Terminal to force quit it.  Still doesn't let me connect though, even though the settings haven't been changed since last night when it was working fine. 

Edit:  Just tried that command when SABnzbd was running, and it doesn't seem to return anything.  My guess would be because the program doesn't launch because of the port error. 
Last edited by sting7785 on March 1st, 2010, 2:46 pm, edited 1 time in total.
rAf
Moderator
Moderator
Posts: 546
Joined: April 28th, 2008, 2:35 pm
Location: France
Contact:

Re: ".... needs a free tcp/ip port ...."

Post by rAf »

The command is to see if another program is running on port 8080...
Try to launch the command in terminal to see the result (the command may take several seconds to complete)
Post Reply