Version: 0.7.0
OS: Mac OS X 10.7.4
Install-type: Mac OS X Universal Binary
Skin (if applicable): Default
Firewall Software: None
Are you using IPV6? no - at least I don't think so
Is the issue reproducible? yes
I installed SABnzbd on my Mac for the first time tonight. Everything worked fine until I tried to enable HHTPS and entered 443 as my new secure port. (Previously I think it had been 8080.)
Now whenever I try to run SABnzbd I get the following error message:
SABnzbd.py 0.7.0
SABnzbd needs a free tcp/ip port for its internal web server.
Port 443 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:444
If you get this error message again, please try a different number.
Program did not start!
I have tried running the Terminal program and manually entering a variety of different ports (e.g. 444, 8080, 9090, 119, 1) all to no avail. How should I fix this problem or get SABnzbd to open so I can change the settings to how they were originally? I have tried restarting and reinstalling several times.
Thanks!
SABnzbd needs a free tcp/ip port for its internal web server
Forum rules
Help us help you:
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.
Re: SABnzbd needs a free tcp/ip port for its internal web se
Cause of the problem: ports below 1024 need root/admin rights.
Solution:
SAB on MAC has some way to safely start it. Can you find that option?
If not: choose a port number above 1024, so:
/Applications/SABnzbd.app/Contents/MacOS/SABnzbd --server localhost:8080
If not: find the file sabnzbd.ini (see http://wiki.sabnzbd.org/faq#toc18 for location), and edit it: replace the 443 with 8080 or something like that.
Solution:
SAB on MAC has some way to safely start it. Can you find that option?
If not: choose a port number above 1024, so:
/Applications/SABnzbd.app/Contents/MacOS/SABnzbd --server localhost:8080
If not: find the file sabnzbd.ini (see http://wiki.sabnzbd.org/faq#toc18 for location), and edit it: replace the 443 with 8080 or something like that.
Re: SABnzbd needs a free tcp/ip port for its internal web se
SAB on MAC has some way to safely start it. Can you find that option?
No, I can't find anything in this forum on how to start SAB in safe mode on a Mac, only for a PC.
If not: choose a port number above 1024, so:
/Applications/SABnzbd.app/Contents/MacOS/SABnzbd --server localhost:8080
Tried this, still get the same error message in FIrefox as in my original post and this response in Terminal:
Joel-Papaks-iMac:~ joelpapak$ /Applications/SABnzbd.app/Contents/MacOS/SABnzbd --server localhost:8080
INFO:root:Console logging for OSX App disabled
2012-06-27 06:22:32,982::INFO::[SABnzbd:1241] Console logging for OSX App disabled
If not: find the file sabnzbd.ini (see http://wiki.sabnzbd.org/faq#toc18 for location), and edit it: replace the 443 with 8080 or something like that.
There is no folder named SABnzbd in the location ~/Library/Application Support/ and when I search for sabnzbd.ini in Finder I get no results.
Thanks again for your help.
No, I can't find anything in this forum on how to start SAB in safe mode on a Mac, only for a PC.
If not: choose a port number above 1024, so:
/Applications/SABnzbd.app/Contents/MacOS/SABnzbd --server localhost:8080
Tried this, still get the same error message in FIrefox as in my original post and this response in Terminal:
Joel-Papaks-iMac:~ joelpapak$ /Applications/SABnzbd.app/Contents/MacOS/SABnzbd --server localhost:8080
INFO:root:Console logging for OSX App disabled
2012-06-27 06:22:32,982::INFO::[SABnzbd:1241] Console logging for OSX App disabled
If not: find the file sabnzbd.ini (see http://wiki.sabnzbd.org/faq#toc18 for location), and edit it: replace the 443 with 8080 or something like that.
There is no folder named SABnzbd in the location ~/Library/Application Support/ and when I search for sabnzbd.ini in Finder I get no results.
Thanks again for your help.
Re: SABnzbd needs a free tcp/ip port for its internal web se
Well, then I'm out of ideas. Sorry.
Oh, wait: Open a terminal, and type:
Example:
Oh, wait: Open a terminal, and type:
Code: Select all
sudo find / -name sabnzbd.ini -print
Code: Select all
Sander--Mac-mini:~ sander$ sudo find / -name sabnzbd.ini -print
find: /dev/fd/3: Not a directory
find: /dev/fd/4: Not a directory
/Users/sander/Library/Application Support/SABnzbd/sabnzbd.ini
Sander--Mac-mini:~ sander$
Re: SABnzbd needs a free tcp/ip port for its internal web se
SABnzbd on OSX has an icon in the top menu bar.
It has the entry Troubleshoot-->Restart - 127.0.0.1
Try that.
It has the entry Troubleshoot-->Restart - 127.0.0.1
Try that.
Re: SABnzbd needs a free tcp/ip port for its internal web se
locate sabnzbd.ini
I still don't find any results for this after building the database in Terminal.
I also changed my settings to show all files in Finder:
defaults write com.apple.Finder AppleShowAllFiles YES
but still don't have a SABnzbd folder in ~/Library/Application Support/
SABnzbd on OSX has an icon in the top menu bar.
It has the entry Troubleshoot-->Restart - 127.0.0.1
Because I can't get SABnzbd to start at all now without the error message in my original post I also can't get it to show an icon on the top menu bar.
Any other ideas? I wish I could just start over from scratch as the initial setup went so smoothly.
I still don't find any results for this after building the database in Terminal.
I also changed my settings to show all files in Finder:
defaults write com.apple.Finder AppleShowAllFiles YES
but still don't have a SABnzbd folder in ~/Library/Application Support/
SABnzbd on OSX has an icon in the top menu bar.
It has the entry Troubleshoot-->Restart - 127.0.0.1
Because I can't get SABnzbd to start at all now without the error message in my original post I also can't get it to show an icon on the top menu bar.
Any other ideas? I wish I could just start over from scratch as the initial setup went so smoothly.
Re: SABnzbd needs a free tcp/ip port for its internal web se
See my edited post with the "sudo find ...". That should show the location of sabnzbd.ini.
Re: SABnzbd needs a free tcp/ip port for its internal web se
Downgrade to release 0.6.15 and wait for 0.7.1
Re: SABnzbd needs a free tcp/ip port for its internal web se
See my edited post with the "sudo find ...". That should show the location of sabnzbd.ini.
With the updated instructions I was able to find the .ini file, delete it and reinstall. Everything is working fine now. Thanks so much for the help!
With the updated instructions I was able to find the .ini file, delete it and reinstall. Everything is working fine now. Thanks so much for the help!
Re: SABnzbd needs a free tcp/ip port for its internal web se
OK, cool. Can you tell us where your sabnzbd.ini was?joelpapak wrote:See my edited post with the "sudo find ...". That should show the location of sabnzbd.ini.
With the updated instructions I was able to find the .ini file, delete it and reinstall. Everything is working fine now. Thanks so much for the help!
Re: SABnzbd needs a free tcp/ip port for its internal web se
The .ini file was located here:
/Users/joelpapak/Library/Application Support/SABnzbd/sabnzbd.ini
I had previously been looking in the wrong location after reading the FAQ (http://wiki.sabnzbd.org/faq#toc18) which said that in OSX the location of the .ini file is:
~/Library/Application Support/SABnzbd/sabnzbd.ini
Maybe this could be updated to say:
/Users/%userprofile%/Library/Application Support/SABnzbd/sabnzbd.ini
for those of us who need things to be spelled out in even more detail. (I was confused because Library/Application Support/ also exists without a SABnzbd folder.)
I also made all files visible in Finder with this command in Terminal:
defaults write com.apple.Finder AppleShowAllFiles YES
I wasn't able to make the correct edits to the .ini file so I just deleted it and reinstalled and now everything is once again working smoothly.
Thanks for the quick and helpful support!
/Users/joelpapak/Library/Application Support/SABnzbd/sabnzbd.ini
I had previously been looking in the wrong location after reading the FAQ (http://wiki.sabnzbd.org/faq#toc18) which said that in OSX the location of the .ini file is:
~/Library/Application Support/SABnzbd/sabnzbd.ini
Maybe this could be updated to say:
/Users/%userprofile%/Library/Application Support/SABnzbd/sabnzbd.ini
for those of us who need things to be spelled out in even more detail. (I was confused because Library/Application Support/ also exists without a SABnzbd folder.)
I also made all files visible in Finder with this command in Terminal:
defaults write com.apple.Finder AppleShowAllFiles YES
I wasn't able to make the correct edits to the .ini file so I just deleted it and reinstalled and now everything is once again working smoothly.
Thanks for the quick and helpful support!
Re: SABnzbd needs a free tcp/ip port for its internal web se
~/Library/Application Support/SABnzbd/sabnzbd.ini
The above notation is correct. ~ is shorthand in Terminal for $HOME
What you suggested is Windows speak and is not going to work for OSX.
The above notation is correct. ~ is shorthand in Terminal for $HOME
What you suggested is Windows speak and is not going to work for OSX.
Re: SABnzbd needs a free tcp/ip port for its internal web se
I am having the identical problem on Yosemite. I have tried all of the commands shown above but still cannot find the .ini file in Finder. I can see its location in terminal when I enter the following sudo find / -name sabnzbd.ini -print, but when I attempt to go to the location in Finder by the Go to Folder command, no such file exists. As such, I am unable to successfully launch the program. Appreciate any insight or additional tips. Thank you.
Re: SABnzbd needs a free tcp/ip port for its internal web se
Finder doesn't show "special" folders.Lancia wrote:I am having the identical problem on Yosemite. I have tried all of the commands shown above but still cannot find the .ini file in Finder. I can see its location in terminal when I enter the following sudo find / -name sabnzbd.ini -print, but when I attempt to go to the location in Finder by the Go to Folder command, no such file exists. As such, I am unable to successfully launch the program. Appreciate any insight or additional tips. Thank you.
This article may help you access them anyway:
http://ianlunn.co.uk/articles/quickly-s ... mavericks/
The alternative is to open a Terminal window and type:
/Applications/SABnzbd.app/Contents/MacOS/SABnzbd --server HOST:PORT
Where HOST is your choice of IP-address and PORT is the port number.