Page 1 of 2

desperately need help...cant figure out what happened!

Posted: September 3rd, 2010, 11:38 pm
by maussimo010
SO Ive been using SAB on my Mac with Verizon FIOS in tampa florida for a couple years with no problems...

I am now in boston, using Comcast since yesterday. I also updated to the latest version of SAB because an update was available and I hadnt had time to do it lately because of my move.

So now, after the update, I get the

'SABnzbd needs a free tcp/ip port for its internal web server.
Port 8080 on localhost was tried , but it is not available.
Some other software uses the port or SABnzbd is already running.

Please restart SABnzbd with a different port number.

Open a Terminal window and type the line (example):
    /Applications/SABnzbd.app/Contents/MacOS/SABnzbd --server localhost:8081

If you get this error message again, please try a different number.' message

I can't find a fix t this issue like I usually can, so what happened?

An ideas? I have gone into the .ini file and changed it to :8080 (I was using :8094 just because), and I am still getting it...

anyone? anyone?

thanks in advance to any and all thoughts and comments...

Re: desperately need help...cant figure out what happened!

Posted: September 4th, 2010, 12:58 am
by sander
What's the output of

Code: Select all

grep -i host ~/.sabnzbd/sabnzbd.ini
Especially the first of occurence of host is interesting.

Furthermore: can you use "netstat" to show all listening processes? On Linux it's "netstat -plnt", but on Mac those parameters could be different. Please try, or just post the full output here.


What happens in you move/rename ~/.sabnzbd/sabnzbd.in, and the start up SABnzbd? It should give you the setup wizard.

Re: desperately need help...cant figure out what happened!

Posted: September 4th, 2010, 6:59 am
by maussimo010
Netstat results:


Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp4       0      0  *.kerberos             *.*                    LISTEN
tcp6       0      0  *.kerberos             *.*                    LISTEN
tcp4       0      0  10.0.1.3.51289         qw-in-f109.1e100.imaps ESTABLISHED
tcp4       0      0  10.0.1.3.50954         qy-in-f109.1e100.imaps CLOSE_WAIT
tcp4       0      0  10.0.1.3.50596         qw-in-f109.1e100.imaps CLOSE_WAIT
tcp4      37      0  10.0.1.3.50590         174.36.30.73-sta.https CLOSE_WAIT
tcp4       0      0  10.0.1.3.50543         nk11b01-mail1.me.imaps ESTABLISHED
tcp4       0      0  10.0.1.3.50542         qw-in-f109.1e100.imaps ESTABLISHED
tcp4       0      0  10.0.1.3.50516         174.36.30.99-sta.http  ESTABLISHED
tcp4       0      0  10.0.1.3.50513         app10.logmeinres.https ESTABLISHED
tcp4       0      0  10.0.1.3.50456         sip23.voice.re2..https ESTABLISHED
tcp4       0      0  10.0.1.3.50444         nk11b01-mail1.me.imaps ESTABLISHED
tcp4       0      0  10.0.1.3.50432         nk11b01-mail1.me.imaps ESTABLISHED
tcp4       0      0  10.0.1.3.50431         bos-d088e-rdr4.b.aol   ESTABLISHED
tcp4       0      0  *.talarian-tcp         *.*                    LISTEN
tcp4       0      0  10.0.1.3.50412         aosnotify.me.com.5223  ESTABLISHED
tcp4       0      0  10.0.1.3.50410         cs209p3.msg.ac4..mmcc  ESTABLISHED
tcp4      37      0  10.0.1.3.49193         174.36.30.73-sta.https CLOSE_WAIT
tcp4       0      0  localhost.26164        localhost.49187        ESTABLISHED
tcp4       0      0  localhost.49187        localhost.26164        ESTABLISHED
tcp4      37      0  10.0.1.3.49186         174.36.30.90-sta.https CLOSE_WAIT
tcp4       0      0  localhost.26164        *.*                    LISTEN
tcp4       0      0  *.17500                *.*                    LISTEN
tcp4      37      0  10.0.1.3.49181         www.dropbox.com.https  CLOSE_WAIT
tcp4       0      0  localhost.globe        localhost.49179        ESTABLISHED
tcp4       0      0  localhost.49179        localhost.globe        ESTABLISHED
tcp46      0      0  *.vnc-server           *.*                    LISTEN
tcp4       0      0  localhost.amx-rms      *.*                    LISTEN
tcp4       0      0  *.ipp                  *.*                    LISTEN
tcp6       0      0  *.ipp                  *.*                    LISTEN
tcp4       0      0  *.globe                *.*                    LISTEN
tcp4       0      0  *.ssh                  *.*                    LISTEN
tcp6       0      0  *.ssh                  *.*                    LISTEN
tcp4       0      0  *.netbios-ssn          *.*                    LISTEN
tcp4       0      0  *.microsoft-ds         *.*                    LISTEN
tcp4       0      0  *.ftp                  *.*                    LISTEN
tcp6       0      0  *.ftp                  *.*                    LISTEN
tcp4       0      0  *.afpovertcp           *.*                    LISTEN
tcp6       0      0  *.afpovert             *.*                    LISTEN
tcp4       0      0  localhost.ipp          *.*                    LISTEN
tcp6       0      0  localhost.ipp          *.*                    LISTEN
udp4       0      0  10.0.1.3.kerberos      *.*                    
udp6       0      0  *.kerberos             *.*                    
udp4       0      0  10.0.1.3.ntp           *.*                    
udp4       0      0  localhost.54748        localhost.54748        


I had to trim that list as full printout was way to long for this post, and didnt think it was necessary, but if needed ill put it into a .txt file and upload it...

I can use 'killall' in terminal to end SAB, otherwise my indicator arrow in my menu bar at the top of my screen that shows SAB is running will just be its usual downward facing arrow. but if i hover my pointer over it, the spinning beach ball comes up.

I also ran the grep command, but dont think i did it right since I have a Mac...the output was 'no such file or directory'

I deleted the .ini file for SAB, and the wizard didnt happen; all it did was give me the 'port already in use' error again...

Re: desperately need help...cant figure out what happened!

Posted: September 4th, 2010, 12:40 pm
by sander
About sabnzbd.ini: can you run a file search for "sabnzbd.ini" on your Mac? Hopefully you will find it. If so, rename it (to "sabnzbd.ini.OLD" or so), and then start SABnzbd again. Hopefully you'll get the SABnzbd setup wizard.


Could you post the full netstat output as .txt attachment? I'm writing a tool to help in situation like yours. I want to complete the tool with MacOSX functionality.
On Mac, can you do "netstat -n" (so add the n option) to get only numerical output?

Re: desperately need help...cant figure out what happened!

Posted: September 4th, 2010, 2:47 pm
by maussimo010
Is it possible to do a COMPLETE uninstall of SAB then a restate, then a reinstall to see if that clears up the issue instead of trying to troubleshoot it?

If so, how do I go about making sure it's 100% removed?

Re: desperately need help...cant figure out what happened!

Posted: September 4th, 2010, 4:59 pm
by shypike
If you remove all files in /home/user/Library/Application Support/SABnzbd
all traces are gone.
The installed program doesn't need to be uninstalled.

Re: desperately need help...cant figure out what happened!

Posted: September 5th, 2010, 12:15 am
by maussimo010
I have totally removed all SAB files from my Mac, then repaired permissions, then restarted, then reinstalled SAB (latest version), and I STILL am getting the 'port in use' page error message, and i cannot figure out why...

here is my Netstat log as requested:

http://www.mediafire.com/?nn9w2nypoah7w6f

I am having a huge problem trying to fathom what the deal is as to why this issue is still there after  complete removal, permission repair and a restart...

once again, thanks in advance!

Scott

Re: desperately need help...cant figure out what happened!

Posted: September 5th, 2010, 2:24 am
by sander
I'm able to reproduce the error message about the port number ... when using a incorrect/unbindable IP address (44.44.44.44). So maybe your port is not the problem. Let's check that:

@maussimo010:
Can you ping localhost?
Can you run  /Applications/SABnzbd.app/Contents/MacOS/SABnzbd/SABnzbd.py --server 0.0.0.0:8080
Can you run  /Applications/SABnzbd.app/Contents/MacOS/SABnzbd/SABnzbd.py --server 127.0.0.1 :8090
Can you run  /Applications/SABnzbd.app/Contents/MacOS/SABnzbd/SABnzbd.py -f newinifile.ini

@shypike
If the IP address is the problem, mentioning the port as the problem is misleading. The CLI gives the correct reason: "error: [Errno 99] Cannot assign requested address"


Code: Select all

Welcome to SABnzbd.py 0.5.4

 
SABnzbd needs a free tcp/ip port for its internal web server.
Port 8080 on 44.44.44.44 was tried , but it is not available.
Some other software uses the port or SABnzbd is already running.

Please restart SABnzbd with a different port number.

Open a Terminal window and type the line (example):
    /home/ubuntu/SABnzbd-0.5.4/SABnzbd.py --server 44.44.44.44:8081

If you get this error message again, please try a different number.

Program did not start!

Re: desperately need help...cant figure out what happened!

Posted: September 5th, 2010, 7:46 am
by maussimo010
ok, so...the testing is getting a bit over my head now, and im not sure h0w to run some of these tests...If someone would want to either explain them to me, or grab teamviewer and remote control my computer and run them so that they could se the results directly that would be ok with me...

I have a sneaking suspicion that even though my internet is working at what 'appears' to be properly, the issue lies within the settings in my apple airport extreme router.

when I got cable installed three days ago, I had to set the Airport to its default factory settings and make a couple of changes to get Comcast's cable to work properly.

Re: desperately need help...cant figure out what happened!

Posted: September 5th, 2010, 12:16 pm
by maussimo010
UPDATE:
This problem happens independently of the Apple Airport, as I disconnected it from the mix and hooked my laptop directly to the modem. STILL no go. Meanwhile, with the router hooked back up and using it wirelessly, my girlfriend and use SAB no problems at all on her laptop, so it LOOKS like its just isolated to my laptop only...

Re: desperately need help...cant figure out what happened!

Posted: September 5th, 2010, 1:58 pm
by shypike
maussimo010 wrote: my girlfriend and use SAB no problems at all on her laptop, so it LOOKS like its just isolated to my laptop only...
I'd say: keep the girlfriend and replace the laptop :)

Re: desperately need help...cant figure out what happened!

Posted: September 5th, 2010, 2:21 pm
by maussimo010
I think you may be on to something...

Re: desperately need help...cant figure out what happened!

Posted: September 5th, 2010, 4:25 pm
by sander
Last attempt: find sabnzbd.ini and rename it. Then start SABnzbd again

Maybe http://support.apple.com/kb/HT2350?viewlocale=en_US can help. Especially read the last paragraph about hidden/invisible files, as sabnzbd.ini could be in a hidden directory.

Re: desperately need help...cant figure out what happened!

Posted: September 5th, 2010, 5:40 pm
by maussimo010
I'm not sure what youre getting at with the 'hidden' files/directories...I can see all my SAB files exactly where they are supposed to be, including the log and the .ini file...no matter what though, whether I remove SAB completely, restart laptop, install a previous version, change port numbers in the .ini file, etc...NOTHING changes it and i STILL get the

SABnzbd needs a free tcp/ip port for its internal web server.
Port 8080 on localhost was tried , but it is not available.
Some other software uses the port or SABnzbd is already running.

error message....

this is just befuddling to me...

Re: desperately need help...cant figure out what happened!

Posted: September 5th, 2010, 5:55 pm
by sander
So you did remove sabnzbd.ini, and still get the error message?

Then the final attempt: You haven't a firewall activated on your Mac, have you? See http://kb.iu.edu/data/aozg.html how to deactivate Mac's firewall.