[SOLVED]4 Errors/No Downloading/More and more instances

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
Chris0706
Newbie
Newbie
Posts: 7
Joined: October 15th, 2014, 6:25 am

[SOLVED]4 Errors/No Downloading/More and more instances

Post by Chris0706 »

Hey there,

I installed sabnzbdplus on my Cubietruck with CubianX (debian) via this http://forums.sabnzbd.org/viewtopic.php?f=16&t=9844 thread.

Then i edited /etc/default/sabnzbplus and added my normal user "cubie" to it. Now started sabnzbd with "sabnzbdplus --server 192.168.1.50:8080" as that is my local adress in the network.

The confusing things start here, i can reach the webinterface via another desktop computer in the LAN but not from the server itself, not via 192.168.1.50:8080 nor localhost:8080 or 127.0.0.1:8080.. strange thing, but maybe the distri is preconfigured to not let localhost connections pass?
Okay then i tried to configure it via desktop pc, that worked fine. But now if i start sabnzbdplus i got this warnings:

Code: Select all

2014-10-15 13:23:51,884 FEHLER: Fehler beim Starten der Weboberfläche. : Port 8080 not bound on '192.168.1.50'
2014-10-15 13:23:51,880 FEHLER: Failed to start web-interface: Traceback (most recent call last): File "/usr/bin/sabnzbdplus", line 1505, in main cherrypy.engine.start() 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 8080 not bound on '192.168.1.50'
2014-10-15 13:23:51,866 FEHLER: [15/Oct/2014:13:23:51] 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 8080 not bound on '192.168.1.50' 
2014-10-15 13:23:51,864 FEHLER: [15/Oct/2014:13:23:51] 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 8080 not bound on '192.168.1.50' 
If i am now looking on the process overview on the server with "htop" i will see alot of instances of "/usr/bin/python -OO /usr/bin/sabnzbdplus --daemon --pudfile /var/run/sabnzdplus/pid ... but i cant kill them, and they are getting more and more ...

Finally downloads won't start, I can add an nzb and it gets imported, but downloading just doenst start.

Any help ?
Last edited by Chris0706 on October 16th, 2014, 9:20 am, edited 1 time in total.
Chris0706
Newbie
Newbie
Posts: 7
Joined: October 15th, 2014, 6:25 am

Re: 4 Errors/No Downloading/More and more instances

Post by Chris0706 »

I tried to "sudo apt-get purge sabnzbdplus" and deleted the ".sabnzbdplus" folder on my user account, but it didn't help :/
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 4 Errors/No Downloading/More and more instances

Post by shypike »

Have you tried 0.0.0.0 as host address? That should bind to the local IP and localhost.
Maybe another port?
Did you define a server in Config->Servers and did you use the Test button?
Chris0706
Newbie
Newbie
Posts: 7
Joined: October 15th, 2014, 6:25 am

Re: 4 Errors/No Downloading/More and more instances

Post by Chris0706 »

shypike wrote:Have you tried 0.0.0.0 as host address? That should bind to the local IP and localhost.
Maybe another port?
Did you define a server in Config->Servers and did you use the Test button?
I did try --server 0.0.0.0, that's what happens then:

Code: Select all

2014-10-16 15:13:36,473::INFO::[sabnzbdplus:1250] --------------------------------
2014-10-16 15:13:36,475::INFO::[sabnzbdplus:1251] sabnzbdplus-0.7.19RC2 (rev=8c2eda4e4b52b92a3029c5f5a5c0e8d729781ee4)
2014-10-16 15:13:36,476::INFO::[sabnzbdplus:1263] Platform = posix
2014-10-16 15:13:36,478::INFO::[sabnzbdplus:1264] Python-version = 2.7.3 (default, Mar 14 2014, 17:55:54)
[GCC 4.6.3]
2014-10-16 15:13:36,480::INFO::[sabnzbdplus:1265] Arguments = /usr/bin/sabnzbdplus --server 0.0.0.0
2014-10-16 15:13:36,482::INFO::[sabnzbdplus:1297] Read INI file /home/cubie/.sabnzbd/sabnzbd.ini
2014-10-16 15:13:36,487::INFO::[__init__:942] Loading data for bookmarks.sab from /home/cubie/.sabnzbd/admin/bookmarks.sab
2014-10-16 15:13:36,490::INFO::[__init__:942] Loading data for rss_data.sab from /home/cubie/.sabnzbd/admin/rss_data.sab
2014-10-16 15:13:36,492::INFO::[__init__:942] Loading data for totals9.sab from /home/cubie/.sabnzbd/admin/totals9.sab
2014-10-16 15:13:36,494::INFO::[__init__:945] /home/cubie/.sabnzbd/admin/totals9.sab missing, trying old cache
2014-10-16 15:13:36,496::INFO::[__init__:948] /home/cubie/.sabnzbd/cache/totals9.sab missing
2014-10-16 15:13:36,556::INFO::[postproc:91] Loading postproc queue
2014-10-16 15:13:36,558::INFO::[__init__:942] Loading data for postproc1.sab from /home/cubie/.sabnzbd/admin/postproc1.sab
2014-10-16 15:13:36,561::INFO::[__init__:942] Loading data for queue9.sab from /home/cubie/.sabnzbd/admin/queue9.sab
2014-10-16 15:13:36,565::INFO::[__init__:942] Loading data for watched_data.sab from /home/cubie/.sabnzbd/admin/watched_data.sab
2014-10-16 15:13:36,568::INFO::[__init__:942] Loading data for Rating.sab from /home/cubie/.sabnzbd/admin/Rating.sab
2014-10-16 15:13:36,570::INFO::[__init__:945] /home/cubie/.sabnzbd/admin/Rating.sab missing, trying old cache
2014-10-16 15:13:36,572::INFO::[__init__:948] /home/cubie/.sabnzbd/cache/Rating.sab missing
2014-10-16 15:13:36,576::INFO::[scheduler:172] Setting schedule for midnight BPS reset
2014-10-16 15:13:36,578::INFO::[downloader:211] Resuming
2014-10-16 15:13:36,622::INFO::[__init__:334] All processes started
2014-10-16 15:13:36,632::INFO::[sabnzbdplus:336] Web dir is /usr/share/sabnzbdplus/interfaces/Plush
2014-10-16 15:13:36,634::INFO::[sabnzbdplus:336] Web dir is /usr/share/sabnzbdplus/interfaces/Config
2014-10-16 15:13:36,663::INFO::[sabnzbdplus:452] _yenc module... found!
2014-10-16 15:13:36,666::INFO::[sabnzbdplus:460] par2 binary... found (/usr/bin/par2)
2014-10-16 15:13:36,668::INFO::[sabnzbdplus:468] unrar binary... found (/usr/local/bin/unrar)
2014-10-16 15:13:36,670::INFO::[sabnzbdplus:473] unzip binary... found (/usr/bin/unzip)
2014-10-16 15:13:36,671::INFO::[sabnzbdplus:479] nice binary... found (/usr/bin/nice)
2014-10-16 15:13:36,673::INFO::[sabnzbdplus:483] ionice binary... found (/usr/bin/ionice)
2014-10-16 15:13:36,675::INFO::[sabnzbdplus:488] pyOpenSSL... found (True)
2014-10-16 15:13:36,687::INFO::[sabnzbdplus:1498] Starting web-interface on 0.0.0.0:8080
2014-10-16 15:13:36,691::ERROR::[sabnzbdplus:1513] Failed to start web-interface:
Traceback (most recent call last):
  File "/usr/bin/sabnzbdplus", line 1504, in main
    cherrypy.process.servers.check_port(browserhost, cherryport)
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 228, in check_port
    socket.SOCK_STREAM):
gaierror: [Errno -2] Der Name oder der Dienst ist nicht bekannt
2014-10-16 15:13:36,698::ERROR::[sabnzbdplus:305] Failed to start web-interface : [Errno -2] Der Name oder der Dienst ist nicht bekannt
2014-10-16 15:13:36,702::INFO::[panic:247] Lauching browser with /tmp/tmps1J8J0.html
2014-10-16 15:13:36,704::INFO::[__init__:372] SABnzbd shutting down...
2014-10-16 15:13:36,706::INFO::[__init__:918] Saving data for bookmarks.sab in /home/cubie/.sabnzbd/admin/bookmarks.sab
2014-10-16 15:13:36,710::INFO::[urlgrabber:72] URLGrabber shutting down
2014-10-16 15:13:36,713::INFO::[__init__:918] Saving data for watched_data.sab in /home/cubie/.sabnzbd/admin/watched_data.sab
2014-10-16 15:13:36,717::INFO::[dirscanner:268] Dirscanner shutting down
2014-10-16 15:13:37,221::INFO::[postproc:85] Saving postproc queue
2014-10-16 15:13:37,222::INFO::[__init__:918] Saving data for postproc1.sab in /home/cubie/.sabnzbd/admin/postproc1.sab
2014-10-16 15:13:37,227::INFO::[nzbqueue:214] Saving queue
2014-10-16 15:13:37,229::INFO::[__init__:918] Saving data for queue9.sab in /home/cubie/.sabnzbd/admin/queue9.sab
2014-10-16 15:13:37,233::INFO::[__init__:918] Saving data for rss_data.sab in /home/cubie/.sabnzbd/admin/rss_data.sab
2014-10-16 15:13:37,237::INFO::[__init__:918] Saving data for bookmarks.sab in /home/cubie/.sabnzbd/admin/bookmarks.sab
2014-10-16 15:13:37,242::INFO::[__init__:918] Saving data for watched_data.sab in /home/cubie/.sabnzbd/admin/watched_data.sab
2014-10-16 15:13:37,247::INFO::[postproc:85] Saving postproc queue
2014-10-16 15:13:37,248::INFO::[__init__:918] Saving data for postproc1.sab in /home/cubie/.sabnzbd/admin/postproc1.sab
2014-10-16 15:13:37,252::INFO::[__init__:439] All processes stopped
I did define a server and the Test did work well. I already used sabnzbdplus with an ubuntu derivate on the cb, which worked fine, despite downloading errors due to encrypted device..
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 4 Errors/No Downloading/More and more instances

Post by shypike »

Try the IP address again, but this time start with the extra parameter --no_ipv6
You may have to edit SABnzbd's startup script.
Chris0706
Newbie
Newbie
Posts: 7
Joined: October 15th, 2014, 6:25 am

Re: 4 Errors/No Downloading/More and more instances

Post by Chris0706 »

Tried that too, because i looked in the python script. "sabnzbdplus --sever 192.168.1.50 --no_ipv6" started the server on 8081. Then i did the wizzard but same thing as in first posts happens again :/

Still cant access it via the server itself.. only via LAN

May this thread be a help ?

https://bitbucket.org/cherrypy/cherrypy ... error-when
Chris0706
Newbie
Newbie
Posts: 7
Joined: October 15th, 2014, 6:25 am

Re: 4 Errors/No Downloading/More and more instances

Post by Chris0706 »

Shame on a linux noob, editing /etc/network/interfaces and adding
auto lo
iface lo inet loopback

did it :X
Post Reply