Incorrect (IMH) error message with unbindable IP address
Posted: September 5th, 2011, 6:20 am
I filled out "2.3.4.5" as the SABnzbd Host, and saved the config. On restarting I get an error (good) which is not correct:
So my suggestion for the error message would be:
I have a problem with SABnzbd only mentioning a *port* problem, whereas the problem is with the IP address.SABnzbd.py 0.6.8
SABnzbd needs a free tcp/ip port for its internal web server.
Port 9090 on 2.3.4.5 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/sander/SABnzbd-0.6.8/SABnzbd.py --server 2.3.4.5:9091
If you get this error message again, please try a different number.
Program did not start!
So my suggestion for the error message would be:
Or even better: it looks like there the exception already knows it's an *address* problem (not a port problem). If so, please say so in the SABnzbd error messageSABnzbd.py 0.6.8
SABnzbd needs a free tcp/ip port for its internal web server.
Port 9090 on 2.3.4.5 was tried , but it is not available.
Some other software uses the port, SABnzbd is already running or the IP address is not valid.
Please restart SABnzbd with a different port number and/or different IP address.
Open a Terminal window and type the line (example):
/home/sander/SABnzbd-0.6.8/SABnzbd.py --server 2.3.4.5:9091
or
/home/sander/SABnzbd-0.6.8/SABnzbd.py --server 127.0.0.1:9091
or
/home/sander/SABnzbd-0.6.8/SABnzbd.py --server localhost:9091
If you get this error message again, please try a different port number or IP address.
Program did not start!
Last but not least, I still think it would be best if SABnzbd would auto-correct itself to 127.0.0.1 / localhost with a free port...Exception in thread HTTPServer Thread-9:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/sander/SABnzbd-0.6.8/cherrypy/process/servers.py", line 75, in _start_http_thread
self.httpserver.start()
File "/home/sander/SABnzbd-0.6.8/cherrypy/wsgiserver/__init__.py", line 1644, in start
raise socket.error, msg
error: [Errno 99] Cannot assign requested address