Fails to start web-interface

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
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.
Post Reply
bbking
Newbie
Newbie
Posts: 5
Joined: March 8th, 2010, 6:16 am

Fails to start web-interface

Post by bbking »

Hi all,

Anyone willing to help me out.
I keep getting the following problem.

I've tried several different ports but all results into same error.
Perhaps there's a simple fix for this which I can't seem to find.

Running Sabnzbdplus v0.5.4 on Ubuntu 9.11 (XBMC Live)

Sabnzbdplus starts but stops after a few minutes.

Help is much appreciated.

Thx

BB
2010-09-27 16:50:53,049::INFO::[sabnzbdplus:961] --------------------------------
2010-09-27 16:50:53,049::INFO::[sabnzbdplus:962] sabnzbdplus-0.5.4 (rev=2467)
2010-09-27 16:50:53,050::INFO::[sabnzbdplus:972] Platform = posix
2010-09-27 16:50:53,050::INFO::[sabnzbdplus:973] Python-version = 2.6.4rc2 (r264rc2:75497, Oct 20 2009, 02:55:11)
[GCC 4.4.1]
2010-09-27 16:50:53,073::INFO::[__init__:702] /home/alinab/.sabnzbd/cache/bookmarks.sab removed
2010-09-27 16:50:53,074::INFO::[postproc:139] Loading postproc queue
2010-09-27 16:50:53,074::INFO::[__init__:702] /home/alinab/.sabnzbd/cache/postproc1.sab removed
2010-09-27 16:50:53,075::INFO::[downloader:334] Resuming
2010-09-27 16:50:53,077::INFO::[__init__:251] All processes started
2010-09-27 16:50:53,078::INFO::[sabnzbdplus:270] Web dir is /usr/share/sabnzbdplus/interfaces/Plush
2010-09-27 16:50:53,082::INFO::[sabnzbdplus:1026] Starting sabnzbdplus-0.5.4
2010-09-27 16:50:53,084::INFO::[dirscanner:374] Dirscanner starting up
2010-09-27 16:50:53,084::INFO::[urlgrabber:103] URLGrabber starting up
2010-09-27 16:50:53,084::INFO::[sabnzbdplus:378] _yenc module... found!
2010-09-27 16:50:53,085::INFO::[sabnzbdplus:386] par2 binary... found (/usr/bin/par2)
2010-09-27 16:50:53,085::INFO::[sabnzbdplus:394] unrar binary... found (/usr/bin/unrar)
2010-09-27 16:50:53,085::INFO::[sabnzbdplus:399] unzip binary... found (/usr/bin/unzip)
2010-09-27 16:50:53,085::INFO::[sabnzbdplus:405] nice binary... found (/usr/bin/nice)
2010-09-27 16:50:53,085::INFO::[sabnzbdplus:409] ionice binary... found (/usr/bin/ionice)
2010-09-27 16:50:53,085::INFO::[sabnzbdplus:414] pyOpenSSL... found (True)
2010-09-27 16:50:53,086::INFO::[sabnzbdplus:1124] Starting web-interface on 192.168.1.25:9999
2010-09-27 16:50:54,087::INFO::[_cplogging:55] [27/Sep/2010:16:50:54] ENGINE Bus STARTING
2010-09-27 16:50:54,090::INFO::[_cplogging:55] [27/Sep/2010:16:50:54] ENGINE Started monitor thread '_TimeoutMonitor'.
2010-09-27 16:51:49,417::ERROR::[_cplogging:55] [27/Sep/2010:16:51:49] 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 103, in wait
    wait_for_occupied_port(host, port)
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 275, in wait_for_occupied_port
    raise IOError("Port %r not bound on %r" % (port, host))
IOError: Port 9999 not bound on '192.168.1.25'

2010-09-27 16:51:49,418::ERROR::[_cplogging:55] [27/Sep/2010:16:51:49] 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 103, in wait
    wait_for_occupied_port(host, port)
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 275, in wait_for_occupied_port
    raise IOError("Port %r not bound on %r" % (port, host))
IOError: Port 9999 not bound on '192.168.1.25'

2010-09-27 16:51:49,418::INFO::[_cplogging:55] [27/Sep/2010:16:51:49] ENGINE Bus STOPPING
2010-09-27 16:51:49,418::INFO::[_cplogging:55] [27/Sep/2010:16:51:49] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('192.168.1.25', 9999)) already shut down
2010-09-27 16:51:49,423::INFO::[_cplogging:55] [27/Sep/2010:16:51:49] ENGINE Stopped thread '_TimeoutMonitor'.
2010-09-27 16:51:49,423::INFO::[_cplogging:55] [27/Sep/2010:16:51:49] ENGINE Bus STOPPED
2010-09-27 16:51:49,423::INFO::[_cplogging:55] [27/Sep/2010:16:51:49] ENGINE Bus EXITING
2010-09-27 16:51:49,423::INFO::[_cplogging:55] [27/Sep/2010:16:51:49] ENGINE Bus EXITED
2010-09-27 16:51:49,424::ERROR::[sabnzbdplus:243] Failed to start web-interface
2010-09-27 16:51:49,424::INFO::[__init__:287] SABnzbd shutting down...
2010-09-27 16:51:49,424::INFO::[urlgrabber:98] URLGrabber shutting down
2010-09-27 16:51:49,425::INFO::[dirscanner:288] Dirscanner shutting down
2010-09-27 16:51:50,147::INFO::[downloader:490] Shutting down
2010-09-27 16:51:50,148::INFO::[assembler:102] Shutting down
2010-09-27 16:51:50,148::INFO::[postproc:134] Saving postproc queue
2010-09-27 16:51:50,149::INFO::[nzbqueue:92] Saving queue
2010-09-27 16:51:50,149::INFO::[postproc:134] Saving postproc queue
2010-09-27 16:51:50,150::INFO::[__init__:322] All processes stopped
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Fails to start web-interface

Post by shypike »

Doublecheck that 192.168.1.25 is indeed your system's local IP addresss.
You might want to use 0.0.0.0, so that SABnzbd will automatically pick the correct address.
The other possibility is that port 9999 is not available.
bbking
Newbie
Newbie
Posts: 5
Joined: March 8th, 2010, 6:16 am

Re: Fails to start web-interface

Post by bbking »

Hi
Thanks for your advice.
I'm using static ip which is correctly set. So the IP is correct.
Port 9999 is free, but I've tried several other ports such as 8080, 8081, 8085, 8090 and a few others.
Also tried localhast, 0.0.0.0 and 127.0.0.1 as IP.

All these settings result in same error.

Rgds
BB
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Fails to start web-interface

Post by shypike »

Do you have some software firewall installed?
Other than that I don't get it, because setting up a server port is rather straightforward.
SABnzbd is tested on Ubuntu (9.04 and 10.04), there's even an official package (alas only 0.5.0).
bbking
Newbie
Newbie
Posts: 5
Joined: March 8th, 2010, 6:16 am

Re: Fails to start web-interface

Post by bbking »

Hi
As far as I'm aware there's no firewall installed.
Using standard XBMClive 9.11 install without any adjustments at all.
Really awkward problem here.

Used to run Sabnzbd v0.4.3 on the system which worked. However thought it was a good idea to give it an upgrade to v0.5.4 and after this situation arised.

Very unfortunate here. Tried a reinstall few times of complete XBMClive system few times, but keep running into this.

Rgds
BB
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Fails to start web-interface

Post by shypike »

I have no idea what's going on on your system.
I just installed XBMClive 9.11 in a VMWare session.
Installed python-cheetah, python-yenc and python-openssl.
Then I got the tar.gz SABnzbd distro from sourceforget.net and unpacked it.

I had to force the host:port, because I don't a graphical browser on XMBC.
./SABnzbd.py -s 0.0.0.0:8080 -b0
This was sufficient to get the Wizard started.
bbking
Newbie
Newbie
Posts: 5
Joined: March 8th, 2010, 6:16 am

Re: Fails to start web-interface

Post by bbking »

Hi
Unfortunetaly I have no clue either.
I've installed the jfcp repository as described on the homepage:

http://wiki.sabnzbd.org/install-ubuntu-repo

Perhaps have to give a try like you did it. Might have more luck then

Rgds

BB
beanian
Newbie
Newbie
Posts: 9
Joined: October 26th, 2009, 2:37 pm

Re: Fails to start web-interface

Post by beanian »

i'm getting the exact same error however it loads the web interface and  crashes when i click 'Test Server' on the screen where you enter your server details. this is after an upgrae from 0.4.x to the latest version. I have tried several complete uninstalls and reinstalls to no avail and tried a few different port numbers.
Any ideas?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Fails to start web-interface

Post by shypike »

What kind of crash occurs?
What do you see in the browser, what in the log files?
beanian
Newbie
Newbie
Posts: 9
Joined: October 26th, 2009, 2:37 pm

Re: Fails to start web-interface

Post by beanian »

i get a 404 error in the browser and my log file is identical to the OP's. As soon as any interaction occurs with the newsgroup servers( eg test connection, or queue a download) it bombs out.
Post Reply