Can't Connect to server 0.5.0Beta6
Forum rules
Help us help you:
Help us help you:
- 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.
-
keepitscottie
- Newbie

- Posts: 18
- Joined: January 3rd, 2010, 10:27 pm
Can't Connect to server 0.5.0Beta6
Hey guys, so on my linux box, ive got the latest beta running, i start up the server, everything runs fine for like 20 seconds, then the server shuts down and I have to restart it.
Any ideas? I dont get any errors in the log either...
Any ideas? I dont get any errors in the log either...
Re: Can't Connect to server 0.5.0Beta6
How did you start it.
Command line parameters?
From /etc/init.d ?
Package install, DIY?
What happens if you start it from a shell prompt?
Command line parameters?
From /etc/init.d ?
Package install, DIY?
What happens if you start it from a shell prompt?
-
keepitscottie
- Newbie

- Posts: 18
- Joined: January 3rd, 2010, 10:27 pm
Re: Can't Connect to server 0.5.0Beta6
from command line using /etc/init.d, its the only way i can, im running minimal ubuntu with no guishypike wrote: How did you start it.
Command line parameters?
From /etc/init.d ?
Package install, DIY?
What happens if you start it from a shell prompt?
Re: Can't Connect to server 0.5.0Beta6
First try running it in non-daemon mode from a terminal session.
Use the same parameters as otherwise, but just leave out the -d option.
Use the same parameters as otherwise, but just leave out the -d option.
-
keepitscottie
- Newbie

- Posts: 18
- Joined: January 3rd, 2010, 10:27 pm
Re: Can't Connect to server 0.5.0Beta6
ran it using
and i got that rather longer error, running it from init.d is the only thing that seems to get it up and runningroot@XBMCLive:~# sudo sabnzbdplus -b 0
2010-01-20 21:24:54,433::INFO::[sabnzbdplus:930] --------------------------------
2010-01-20 21:24:54,434::INFO::[sabnzbdplus:931] sabnzbdplus-0.5.0Beta6 (rev=3190)
2010-01-20 21:24:54,435::INFO::[sabnzbdplus:941] Platform = posix
2010-01-20 21:24:54,435::INFO::[sabnzbdplus:942] Python-version = 2.6.4rc2 (r264rc2:75497, Oct 20 2009, 02:55:11)
[GCC 4.4.1]
2010-01-20 21:24:54,505::INFO::[__init__:658] Loading data for bookmarks.sab from /root/.sabnzbd/cache/bookmarks.sab
2010-01-20 21:24:54,507::INFO::[__init__:689] /root/.sabnzbd/cache/bookmarks.sab removed
2010-01-20 21:24:54,508::INFO::[__init__:658] Loading data for rss_data.sab from /root/.sabnzbd/cache/rss_data.sab
2010-01-20 21:24:54,509::INFO::[__init__:658] Loading data for bytes9.sab from /root/.sabnzbd/cache/bytes9.sab
2010-01-20 21:24:54,510::INFO::[__init__:658] Loading data for queue9.sab from /root/.sabnzbd/cache/queue9.sab
2010-01-20 21:24:54,511::INFO::[postproc:137] Loading postproc queue
2010-01-20 21:24:54,512::INFO::[__init__:658] Loading data for postproc1.sab from /root/.sabnzbd/cache/postproc1.sab
2010-01-20 21:24:54,513::INFO::[__init__:689] /root/.sabnzbd/cache/postproc1.sab removed
2010-01-20 21:24:54,516::INFO::[__init__:658] Loading data for watched_data.sab from /root/.sabnzbd/cache/watched_data.sab
2010-01-20 21:24:54,518::INFO::[downloader:318] Resuming
2010-01-20 21:24:54,538::INFO::[__init__:242] All processes started
2010-01-20 21:24:54,539::INFO::[sabnzbdplus:266] Web dir is /usr/share/sabnzbdplus/interfaces/Classic
2010-01-20 21:24:54,563::INFO::[sabnzbdplus:995] Starting sabnzbdplus-0.5.0Beta6
2010-01-20 21:24:54,565::INFO::[nzbqueue:91] Saving queue
2010-01-20 21:24:54,566::INFO::[__init__:637] Saving data for queue9.sab in /root/.sabnzbd/cache/queue9.sab
2010-01-20 21:24:54,567::INFO::[__init__:637] Saving data for bytes9.sab in /root/.sabnzbd/cache/bytes9.sab
2010-01-20 21:24:54,569::INFO::[__init__:637] Saving data for rss_data.sab in /root/.sabnzbd/cache/rss_data.sab
2010-01-20 21:24:54,570::INFO::[__init__:637] Saving data for bookmarks.sab in /root/.sabnzbd/cache/bookmarks.sab
2010-01-20 21:24:54,571::INFO::[__init__:637] Saving data for watched_data.sab in /root/.sabnzbd/cache/watched_data.sab
2010-01-20 21:24:54,572::INFO::[postproc:132] Saving postproc queue
2010-01-20 21:24:54,572::INFO::[__init__:637] Saving data for postproc1.sab in /root/.sabnzbd/cache/postproc1.sab
2010-01-20 21:24:54,575::INFO::[dirscanner:366] Dirscanner starting up
2010-01-20 21:24:54,576::INFO::[urlgrabber:102] URLGrabber starting up
2010-01-20 21:24:54,576::INFO::[sabnzbdplus:370] _yenc module... found!
2010-01-20 21:24:54,577::INFO::[sabnzbdplus:378] par2 binary... found (/usr/bin/par2)
2010-01-20 21:24:54,578::INFO::[sabnzbdplus:386] unrar binary... found (/usr/bin/unrar)
2010-01-20 21:24:54,578::INFO::[sabnzbdplus:391] unzip binary... found (/usr/bin/unzip)
2010-01-20 21:24:54,579::INFO::[sabnzbdplus:397] nice binary... found (/usr/bin/nice)
2010-01-20 21:24:54,579::INFO::[sabnzbdplus:401] ionice binary... found (/usr/bin/ionice)
2010-01-20 21:24:54,580::INFO::[sabnzbdplus:406] pyOpenSSL... found (True)
2010-01-20 21:24:54,583::INFO::[sabnzbdplus:1093] Starting web-interface on localhost:8080
[20/Jan/2010:21:24:55] ENGINE Bus STARTING
2010-01-20 21:24:55,586::INFO::[_cplogging:55] [20/Jan/2010:21:24:55] ENGINE Bus STARTING
[20/Jan/2010:21:24:55] ENGINE Started monitor thread '_TimeoutMonitor'.
2010-01-20 21:24:55,596::INFO::[_cplogging:55] [20/Jan/2010:21:24:55] ENGINE Started monitor thread '_TimeoutMonitor'.
[20/Jan/2010:21:24:55] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 75, in _start_http_thread
self.httpserver.start()
File "/usr/share/sabnzbdplus/cherrypy/wsgiserver/__init__.py", line 1629, in start
raise socket.error, msg
error: [Errno 99] Cannot assign requested address
2010-01-20 21:24:55,704::ERROR::[_cplogging:55] [20/Jan/2010:21:24:55] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 75, in _start_http_thread
self.httpserver.start()
File "/usr/share/sabnzbdplus/cherrypy/wsgiserver/__init__.py", line 1629, in start
raise socket.error, msg
error: [Errno 99] Cannot assign requested address
[20/Jan/2010:21:24:55] ENGINE Bus STOPPING
2010-01-20 21:24:55,706::INFO::[_cplogging:55] [20/Jan/2010:21:24:55] ENGINE Bus STOPPING
[20/Jan/2010:21:24:55] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('localhost', 8080)) already shut down
2010-01-20 21:24:55,707::INFO::[_cplogging:55] [20/Jan/2010:21:24:55] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('localhost', 8080)) already shut down
[20/Jan/2010:21:24:55] ENGINE Error in 'start' listener >
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/usr/share/sabnzbdplus/cherrypy/_cpserver.py", line 90, in start
ServerAdapter.start(self)
File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 62, in start
self.wait()
File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 97, in wait
raise self.interrupt
error: [Errno 99] Cannot assign requested address
2010-01-20 21:24:55,709::ERROR::[_cplogging:55] [20/Jan/2010:21:24:55] ENGINE Error in 'start' listener >
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/usr/share/sabnzbdplus/cherrypy/_cpserver.py", line 90, in start
ServerAdapter.start(self)
File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 62, in start
self.wait()
File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 97, in wait
raise self.interrupt
error: [Errno 99] Cannot assign requested address
[20/Jan/2010:21:24:55] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 184, in start
self.publish('start')
File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/usr/share/sabnzbdplus/cherrypy/_cpserver.py", line 90, in start
ServerAdapter.start(self)
File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 62, in start
self.wait()
File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 97, in wait
raise self.interrupt
error: [Errno 99] Cannot assign requested address
2010-01-20 21:24:55,711::ERROR::[_cplogging:55] [20/Jan/2010:21:24:55] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 184, in start
self.publish('start')
File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/usr/share/sabnzbdplus/cherrypy/_cpserver.py", line 90, in start
ServerAdapter.start(self)
File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 62, in start
self.wait()
File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 97, in wait
raise self.interrupt
error: [Errno 99] Cannot assign requested address
[20/Jan/2010:21:24:55] ENGINE Bus STOPPING
2010-01-20 21:24:55,713::INFO::[_cplogging:55] [20/Jan/2010:21:24:55] ENGINE Bus STOPPING
[20/Jan/2010:21:24:55] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('localhost', 8080)) already shut down
2010-01-20 21:24:55,714::INFO::[_cplogging:55] [20/Jan/2010:21:24:55] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('localhost', 8080)) already shut down
[20/Jan/2010:21:24:55] ENGINE Stopped thread '_TimeoutMonitor'.
[20/Jan/2010:21:24:55] ENGINE Stopped thread '_TimeoutMonitor'.
2010-01-20 21:24:55,715::INFO::[_cplogging:55] [20/Jan/2010:21:24:55] ENGINE Stopped thread '_TimeoutMonitor'.
[20/Jan/2010:21:24:55] ENGINE Bus STOPPED
2010-01-20 21:24:55,716::INFO::[_cplogging:55] [20/Jan/2010:21:24:55] ENGINE Stopped thread '_TimeoutMonitor'.
[20/Jan/2010:21:24:55] ENGINE Bus STOPPED
2010-01-20 21:24:55,718::INFO::[_cplogging:55] [20/Jan/2010:21:24:55] ENGINE Bus STOPPED
[20/Jan/2010:21:24:55] ENGINE Bus EXITING
2010-01-20 21:24:55,719::INFO::[_cplogging:55] [20/Jan/2010:21:24:55] ENGINE Bus STOPPED
[20/Jan/2010:21:24:55] ENGINE Bus EXITING
2010-01-20 21:24:55,721::INFO::[_cplogging:55] [20/Jan/2010:21:24:55] ENGINE Bus EXITING
[20/Jan/2010:21:24:55] ENGINE Bus EXITED
2010-01-20 21:24:55,722::INFO::[_cplogging:55] [20/Jan/2010:21:24:55] ENGINE Bus EXITING
[20/Jan/2010:21:24:55] ENGINE Bus EXITED
2010-01-20 21:24:55,724::INFO::[_cplogging:55] [20/Jan/2010:21:24:55] ENGINE Bus EXITED
2010-01-20 21:24:55,725::INFO::[_cplogging:55] [20/Jan/2010:21:24:55] ENGINE Bus EXITED
2010-01-20 21:24:55,726::ERROR::[sabnzbdplus:239] Failed to start web-interface
2010-01-20 21:24:55,728::INFO::[__init__:278] SABnzbd shutting down...
2010-01-20 21:24:55,729::INFO::[__init__:637] Saving data for bookmarks.sab in /root/.sabnzbd/cache/bookmarks.sab
Exception in thread HTTPServer Thread-10:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/threading.py", line 477, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 75, in _start_http_thread
self.httpserver.start()
File "/usr/share/sabnzbdplus/cherrypy/wsgiserver/__init__.py", line 1629, in start
raise socket.error, msg
error: [Errno 99] Cannot assign requested address
2010-01-20 21:24:55,731::INFO::[urlgrabber:97] URLGrabber shutting down
2010-01-20 21:24:55,733::INFO::[__init__:637] Saving data for watched_data.sab in /root/.sabnzbd/cache/watched_data.sab
2010-01-20 21:24:55,734::INFO::[dirscanner:280] Dirscanner shutting down
2010-01-20 21:24:56,579::INFO::[downloader:474] Shutting down
2010-01-20 21:24:56,580::INFO::[assembler:101] Shutting down
2010-01-20 21:24:56,581::INFO::[postproc:132] Saving postproc queue
2010-01-20 21:24:56,582::INFO::[__init__:637] Saving data for postproc1.sab in /root/.sabnzbd/cache/postproc1.sab
2010-01-20 21:24:56,583::INFO::[nzbqueue:91] Saving queue
2010-01-20 21:24:56,584::INFO::[__init__:637] Saving data for queue9.sab in /root/.sabnzbd/cache/queue9.sab
2010-01-20 21:24:56,585::INFO::[__init__:637] Saving data for bytes9.sab in /root/.sabnzbd/cache/bytes9.sab
2010-01-20 21:24:56,586::INFO::[__init__:637] Saving data for rss_data.sab in /root/.sabnzbd/cache/rss_data.sab
2010-01-20 21:24:56,588::INFO::[__init__:637] Saving data for bookmarks.sab in /root/.sabnzbd/cache/bookmarks.sab
2010-01-20 21:24:56,589::INFO::[__init__:637] Saving data for watched_data.sab in /root/.sabnzbd/cache/watched_data.sab
2010-01-20 21:24:56,590::INFO::[postproc:132] Saving postproc queue
2010-01-20 21:24:56,591::INFO::[__init__:637] Saving data for postproc1.sab in /root/.sabnzbd/cache/postproc1.sab
2010-01-20 21:24:56,592::INFO::[__init__:313] All processes stopped
-
keepitscottie
- Newbie

- Posts: 18
- Joined: January 3rd, 2010, 10:27 pm
Re: Can't Connect to server 0.5.0Beta6
so i re-isntalled it, now i dont get any errors when i run it out of daemon mode, but it still gives me the same problem as before; it starts up for a little bit then shuts off...
Re: Can't Connect to server 0.5.0Beta6
It looks like the OS just doesn't want you to open the web port.
Are you using a low port (below 8000) while running as a restricted user?
Only root can access lower port numbers.
Does localhost resolve to a usable address?
Which host did you set?
Are you using a low port (below 8000) while running as a restricted user?
Only root can access lower port numbers.
Does localhost resolve to a usable address?
Which host did you set?
-
keepitscottie
- Newbie

- Posts: 18
- Joined: January 3rd, 2010, 10:27 pm
Re: Can't Connect to server 0.5.0Beta6
im running on port 8080, and as root...
ive also switched from "localhost" to 192.168.1.199 (which is the box's ip) and the same thing still happens, sab loads up then shuts off after 30 seconds or so.
ive also switched from "localhost" to 192.168.1.199 (which is the box's ip) and the same thing still happens, sab loads up then shuts off after 30 seconds or so.
Re: Can't Connect to server 0.5.0Beta6
Well something is locking your port.
Have you tried other ones?
Have you tried other ones?
-
keepitscottie
- Newbie

- Posts: 18
- Joined: January 3rd, 2010, 10:27 pm
Re: Can't Connect to server 0.5.0Beta6 - now rc3
i've tried a bunch of ports, still get the "port not bound" error
im now rocking rc3, btw...
what are you thoughts?[21/Jan/2010:23:05:46] ENGINE Error in 'start' listener >
Traceback (most recent call last):
File "/root/SABnzbd-0.5.0RC3/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/root/SABnzbd-0.5.0RC3/cherrypy/_cpserver.py", line 90, in start
ServerAdapter.start(self)
File "/root/SABnzbd-0.5.0RC3/cherrypy/process/servers.py", line 62, in start
self.wait()
File "/root/SABnzbd-0.5.0RC3/cherrypy/process/servers.py", line 103, in wait
wait_for_occupied_port(host, port)
File "/root/SABnzbd-0.5.0RC3/cherrypy/process/servers.py", line 275, in wait_for_occupied_port
raise IOError("Port %r not bound on %r" % (port, host))
IOError: Port 8080 not bound on '192.168.1.199'
im now rocking rc3, btw...
Re: Can't Connect to server 0.5.0Beta6
What happens if you run this little Python program?
If this gives an error, you have a serious system problem.
Code: Select all
# Echo server program
import socket
HOST = '192.168.1.199' # Symbolic name meaning the local host
PORT = 8080 # Arbitrary non-privileged port
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind((HOST, PORT))
s.listen(1)
conn, addr = s.accept()
print 'Connected by', addr
while 1:
data = conn.recv(1024)
if not data: break
conn.send(data)
conn.close()
-
keepitscottie
- Newbie

- Posts: 18
- Joined: January 3rd, 2010, 10:27 pm
Re: Can't Connect to server 0.5.0Beta6
^CTraceback (most recent call last):
File "test.py", line 9, in
conn, addr = s.accept()
File "/usr/lib/python2.6/socket.py", line 195, in accept
sock, addr = self._sock.accept()
KeyboardInterrupt
is what i get.. cuz i let it do wtvr it was doing for like....10 mins, and got no output so i crtl+c'd it.
good or bad?
File "test.py", line 9, in
conn, addr = s.accept()
File "/usr/lib/python2.6/socket.py", line 195, in accept
sock, addr = self._sock.accept()
KeyboardInterrupt
is what i get.. cuz i let it do wtvr it was doing for like....10 mins, and got no output so i crtl+c'd it.
good or bad?
Re: Can't Connect to server 0.5.0Beta6
Your not supposed to get any output.
You saw the correct behavior of the program.
Looks like an incompatibility between SABnzbd's internal web-server
(a third-party module called CherryPy) and your system.
What exactly are you using?
Where did you get Python and the required Cheetah and yEnc modules from?
How did you install SABnzbd (and from which source)?
You saw the correct behavior of the program.
Looks like an incompatibility between SABnzbd's internal web-server
(a third-party module called CherryPy) and your system.
What exactly are you using?
Where did you get Python and the required Cheetah and yEnc modules from?
How did you install SABnzbd (and from which source)?
-
keepitscottie
- Newbie

- Posts: 18
- Joined: January 3rd, 2010, 10:27 pm
Re: Can't Connect to server 0.5.0Beta6
I've got an ASROCK ION 330, running the latest ubuntu minimal.
i used this guide: http://wiki.sabnzbd.org/install-ubuntuserver804
installed everything using apt-get.
installed the release candidate from the sf location.
then: python -OO SABnzbd.py -v
./SABnzbd.py -s 0.0.0.0:8080 -d -f ~/sabnzbd/sabnzbd.ini
as per the instructions on the guide...
i used this guide: http://wiki.sabnzbd.org/install-ubuntuserver804
installed everything using apt-get.
installed the release candidate from the sf location.
then: python -OO SABnzbd.py -v
./SABnzbd.py -s 0.0.0.0:8080 -d -f ~/sabnzbd/sabnzbd.ini
as per the instructions on the guide...
Re: Can't Connect to server 0.5.0Beta6
I have no idea, unless it's caused by having "minimal".
What's "minimal" for Ubuntu? And what is "latest".
I test with Ubuntu 9.10 Desktop and Linux Mint.
You could try the unofficial package (see Debian/Ububtu Board on this forum).
What's "minimal" for Ubuntu? And what is "latest".
I test with Ubuntu 9.10 Desktop and Linux Mint.
You could try the unofficial package (see Debian/Ububtu Board on this forum).
