Page 1 of 2

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

Posted: March 1st, 2010, 6:30 am
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?

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

Posted: March 1st, 2010, 7:35 am
by rAf
With which port do you have configured SABnzbd ?

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

Posted: March 1st, 2010, 7:51 am
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.

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

Posted: March 1st, 2010, 8:23 am
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?

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

Posted: March 1st, 2010, 9:19 am
by rAf
Do you upgrade from 0.4.x ?

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

Posted: March 1st, 2010, 9:38 am
by antoniong
rAf wrote: Do you upgrade from 0.4.x ?
I first removed everything before installing .5

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

Posted: March 1st, 2010, 9:51 am
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).

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

Posted: March 1st, 2010, 10:16 am
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?)

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

Posted: March 1st, 2010, 11:04 am
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.

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

Posted: March 1st, 2010, 11:48 am
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.

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

Posted: March 1st, 2010, 11:58 am
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. 

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

Posted: March 1st, 2010, 12:42 pm
by rAf
sting7785,

what the result of this command :

Code: Select all

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

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

Posted: March 1st, 2010, 12:59 pm
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)

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

Posted: March 1st, 2010, 2:43 pm
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. 

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

Posted: March 1st, 2010, 3:13 pm
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)