Nas4Free 9.1.0.1 and Sabnzbd 0.7.x

Support for the freeBSD package, created by dbrooks
Post Reply
User avatar
SLeal01
Newbie
Newbie
Posts: 8
Joined: May 28th, 2013, 9:24 am

Nas4Free 9.1.0.1 and Sabnzbd 0.7.x

Post by SLeal01 »

What do I'm doing wrong?

Installed a clean and new one Nas4Free 9.1.0.1, then installed Sabnzbd and can't started.

This is what I'm doing:

setenv PACKAGESITE "ftp://ftp.freebsd.org/pub/FreeBSD/ports ... nt/Latest/
pkg_add -rv python27 py27-sqlite3
pkg_add -rv unzip
pkg_add -rv py27-yenc
pkg_add -rv py27-cheetah
pkg_add -rv py27-openssl
pkg_add -rv py27-feedparser
pkg_add -rv py27-utils
pkg_add -rv py27-configobj
pkg_add -rv py27-dbus
pkg_add -rv unrar
pkg_add -rv par2cmdline


cd /mnt/MyDisk/Apps
md SABConfig
fetch "http://downloads.sourceforge.net/projec ... src.tar.gz"
tar -xzf SABnzbd-0.7.11-src.tar.gz
rm SABnzbd-0.7.11-src.tar.gz

Change in SABnzbd.py the first line, change #!/usr/bin/python to #!/usr/local/bin/python.

Finally:
python /mnt/MyDisk/Apps/SABnzbd-0.7.11/SABnzbd.py -d -f /mnt/MyDisk/Apps/SABConfig/sabnzbd.ini -s 0.0.0.0:8080

And... doesn't works :(

If I do this but with version SABnzbd-0.6.15 it's works well... so, What do I'm doing wrong?

Thanks.
User avatar
sander
Release Testers
Release Testers
Posts: 8808
Joined: January 22nd, 2008, 2:22 pm

Re: Nas4Free 9.1.0.1 and Sabnzbd 0.7.x

Post by sander »

If you don't tell what the response from your NAS4Free system is, it's like shooting in the dark, and then asking why you don't hit anything ...

So: post the sequence of all commands and the system's response.

PS: I have no experience with NAS4Free.
User avatar
SLeal01
Newbie
Newbie
Posts: 8
Joined: May 28th, 2013, 9:24 am

Re: Nas4Free 9.1.0.1 and Sabnzbd 0.7.x

Post by SLeal01 »

Nas4Free 9.1.0.1 - Sandstorm (revision 690) it's base on FreeBSD 9.1-RELEASE-p3 (kern.osreldate: 901000).

When I do this:
python /mnt/MyDisk/Apps/SABnzbd-0.7.11/SABnzbd.py -d -f /mnt/MyDisk/Apps/SABConfig/sabnzbd.ini -s 0.0.0.0:8080
Nothing happend... when I do this one:
python /mnt/MyDisk/Apps/SABnzbd-0.7.11/SABnzbd.py -s 0.0.0.0:8080
It's say:

Code: Select all

2013-05-28 14:27:32,432::INFO::[SABnzbd:1256] --------------------------------
2013-05-28 14:27:32,433::INFO::[SABnzbd:1257] SABnzbd.py-0.7.11 (rev=a50412a32751f4d1d555020dea20a2da43d6a309)
2013-05-28 14:27:32,433::INFO::[SABnzbd:1269] Platform = posix
2013-05-28 14:27:32,434::INFO::[SABnzbd:1270] Python-version = 2.7.3 (default, Apr 12 2013, 14:58:55)
[GCC 4.2.1 20070831 patched [FreeBSD]]
2013-05-28 14:27:32,434::INFO::[SABnzbd:1271] Arguments = /mnt/MyDisk/Apps/SABnzbd-0.7.11/SABnzbd.py -s 0.0.0.0:8080
2013-05-28 14:27:32,434::INFO::[SABnzbd:1284] Read INI file /root/.sabnzbd/sabnzbd.ini
2013-05-28 14:27:32,438::INFO::[__init__:928] Loading data for bookmarks.sab from /root/.sabnzbd/admin/bookmarks.sab
2013-05-28 14:27:32,440::INFO::[__init__:928] Loading data for rss_data.sab from /root/.sabnzbd/admin/rss_data.sab
2013-05-28 14:27:32,441::INFO::[__init__:928] Loading data for totals9.sab from /root/.sabnzbd/admin/totals9.sab
2013-05-28 14:27:32,441::INFO::[__init__:931] /root/.sabnzbd/admin/totals9.sab missing, trying old cache
2013-05-28 14:27:32,442::INFO::[__init__:934] /root/.sabnzbd/cache/totals9.sab missing
2013-05-28 14:27:34,907::INFO::[postproc:90] Loading postproc queue
2013-05-28 14:27:34,908::INFO::[__init__:928] Loading data for postproc1.sab from /root/.sabnzbd/admin/postproc1.sab
2013-05-28 14:27:34,909::INFO::[__init__:928] Loading data for queue9.sab from /root/.sabnzbd/admin/queue9.sab
2013-05-28 14:27:34,911::INFO::[__init__:928] Loading data for watched_data.sab from /root/.sabnzbd/admin/watched_data.sab
2013-05-28 14:27:34,913::INFO::[scheduler:170] Setting schedule for midnight BPS reset
2013-05-28 14:27:34,914::INFO::[downloader:211] Resuming
2013-05-28 14:27:34,923::INFO::[__init__:330] All processes started
2013-05-28 14:27:34,923::INFO::[SABnzbd:334] Web dir is /mnt/MyDisk/Apps/SABnzbd-0.7.11/interfaces/Plush
2013-05-28 14:27:34,944::INFO::[SABnzbd:334] Web dir is /mnt/MyDisk/Apps/SABnzbd-0.7.11/interfaces/Config
2013-05-28 14:27:34,966::INFO::[SABnzbd:463] _yenc module... found!
2013-05-28 14:27:34,966::INFO::[SABnzbd:471] par2 binary... found (/usr/local/bin/par2)
2013-05-28 14:27:34,966::INFO::[SABnzbd:479] unrar binary... found (/usr/local/bin/unrar)
2013-05-28 14:27:34,967::INFO::[SABnzbd:484] unzip binary... found (/usr/local/bin/unzip)
2013-05-28 14:27:34,967::INFO::[SABnzbd:490] nice binary... found (/usr/bin/nice)
2013-05-28 14:27:34,967::INFO::[SABnzbd:496] ionice binary... NOT found!
2013-05-28 14:27:34,968::INFO::[SABnzbd:499] pyOpenSSL... found (True)
2013-05-28 14:27:35,096::INFO::[SABnzbd:1483] Starting web-interface on 0.0.0.0:8080
2013-05-28 14:27:42,370::INFO::[_cplogging:55] [28/May/2013:14:27:42] ENGINE Bus STARTING
2013-05-28 14:27:42,401::INFO::[_cplogging:55] [28/May/2013:14:27:42] ENGINE Started monitor thread '_TimeoutMonitor'.
2013-05-28 14:27:42,513::ERROR::[_cplogging:55] [28/May/2013:14:27:42] ENGINE Error in 'start' listener <bound method ServerAdapter.start of <cherrypy.process.servers.ServerAdapter object at 0x80713ac90>>
Traceback (most recent call last):
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/servers.py", line 62, in start
    self.wait()
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/servers.py", line 97, in wait
    raise self.interrupt
error: [Errno 49] Can't assign requested address

2013-05-28 14:27:42,516::ERROR::[_cplogging:55] [28/May/2013:14:27:42] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/servers.py", line 75, in _start_http_thread
    self.httpserver.start()
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/wsgiserver/__init__.py", line 1644, in start
    raise socket.error, msg
error: [Errno 49] Can't assign requested address

2013-05-28 14:27:42,517::INFO::[_cplogging:55] [28/May/2013:14:27:42] ENGINE Bus STOPPING
2013-05-28 14:27:42,517::INFO::[_cplogging:55] [28/May/2013:14:27:42] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) already shut down
2013-05-28 14:27:42,517::INFO::[_cplogging:55] [28/May/2013:14:27:42] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('208.73.210.205', 8080)) already shut down
2013-05-28 14:27:42,560::INFO::[_cplogging:55] [28/May/2013:14:27:42] ENGINE Stopped thread '_TimeoutMonitor'.
2013-05-28 14:27:42,561::INFO::[_cplogging:55] [28/May/2013:14:27:42] ENGINE Bus STOPPED
2013-05-28 14:27:42,561::INFO::[_cplogging:55] [28/May/2013:14:27:42] ENGINE Bus EXITING
2013-05-28 14:27:42,561::INFO::[_cplogging:55] [28/May/2013:14:27:42] ENGINE Bus EXITED
Exception in thread HTTPServer Thread-9:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/servers.py", line 75, in _start_http_thread
    self.httpserver.start()
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/wsgiserver/__init__.py", line 1644, in start
    raise socket.error, msg
error: [Errno 49] Can't assign requested address

2013-05-28 14:27:42,621::INFO::[_cplogging:55] [28/May/2013:14:27:42] ENGINE Serving on 0.0.0.0:8080
2013-05-28 14:27:42,622::ERROR::[_cplogging:55] [28/May/2013:14:27:42] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/wspbus.py", line 184, in start
    self.publish('start')
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/servers.py", line 62, in start
    self.wait()
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/servers.py", line 97, in wait
    raise self.interrupt
error: [Errno 49] Can't assign requested address

2013-05-28 14:27:42,622::INFO::[_cplogging:55] [28/May/2013:14:27:42] ENGINE Bus STOPPING
2013-05-28 14:27:42,640::INFO::[_cplogging:55] [28/May/2013:14:27:42] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) shut down
2013-05-28 14:27:42,641::INFO::[_cplogging:55] [28/May/2013:14:27:42] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('208.73.210.205', 8080)) already shut down
2013-05-28 14:27:42,641::INFO::[_cplogging:55] [28/May/2013:14:27:42] ENGINE No thread running for _TimeoutMonitor.
2013-05-28 14:27:42,642::INFO::[_cplogging:55] [28/May/2013:14:27:42] ENGINE Bus STOPPED
2013-05-28 14:27:42,642::INFO::[_cplogging:55] [28/May/2013:14:27:42] ENGINE Bus EXITING
2013-05-28 14:27:42,642::INFO::[_cplogging:55] [28/May/2013:14:27:42] ENGINE Bus EXITED
2013-05-28 14:27:42,643::ERROR::[SABnzbd:1498] Failed to start web-interface:
Traceback (most recent call last):
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/SABnzbd.py", line 1490, in main
    cherrypy.engine.start()
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/wspbus.py", line 184, in start
    self.publish('start')
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/servers.py", line 62, in start
    self.wait()
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/servers.py", line 97, in wait
    raise self.interrupt
error: [Errno 49] Can't assign requested address
2013-05-28 14:27:42,645::ERROR::[SABnzbd:303] Failed to start web-interface : [Errno 49] Can't assign requested address
2013-05-28 14:27:42,647::INFO::[panic:247] Lauching browser with /tmp/tmp8VXfGu.html
2013-05-28 14:27:42,647::INFO::[__init__:366] SABnzbd shutting down...
2013-05-28 14:27:42,647::INFO::[__init__:904] Saving data for bookmarks.sab in /root/.sabnzbd/admin/bookmarks.sab
2013-05-28 14:27:42,648::INFO::[urlgrabber:72] URLGrabber shutting down
2013-05-28 14:27:42,649::INFO::[__init__:904] Saving data for watched_data.sab in /root/.sabnzbd/admin/watched_data.sab
2013-05-28 14:27:42,649::INFO::[dirscanner:265] Dirscanner shutting down
2013-05-28 14:27:43,160::INFO::[postproc:84] Saving postproc queue
2013-05-28 14:27:43,161::INFO::[__init__:904] Saving data for postproc1.sab in /root/.sabnzbd/admin/postproc1.sab
2013-05-28 14:27:43,161::INFO::[nzbqueue:211] Saving queue
2013-05-28 14:27:43,162::INFO::[__init__:904] Saving data for queue9.sab in /root/.sabnzbd/admin/queue9.sab
2013-05-28 14:27:43,162::INFO::[__init__:904] Saving data for rss_data.sab in /root/.sabnzbd/admin/rss_data.sab
2013-05-28 14:27:43,163::INFO::[__init__:904] Saving data for bookmarks.sab in /root/.sabnzbd/admin/bookmarks.sab
2013-05-28 14:27:43,164::INFO::[__init__:904] Saving data for watched_data.sab in /root/.sabnzbd/admin/watched_data.sab
2013-05-28 14:27:43,164::INFO::[postproc:84] Saving postproc queue
2013-05-28 14:27:43,165::INFO::[__init__:904] Saving data for postproc1.sab in /root/.sabnzbd/admin/postproc1.sab
2013-05-28 14:27:43,165::INFO::[__init__:426] All processes stopped
I don't know if missed some pkg...
User avatar
sander
Release Testers
Release Testers
Posts: 8808
Joined: January 22nd, 2008, 2:22 pm

Re: Nas4Free 9.1.0.1 and Sabnzbd 0.7.x

Post by sander »

What if you replace "-s 0.0.0.0:8080" with

"-s 0.0.0.0:9876"

or (if that does not work either)

"-s 127.0.0.1:9876"
User avatar
SLeal01
Newbie
Newbie
Posts: 8
Joined: May 28th, 2013, 9:24 am

Re: Nas4Free 9.1.0.1 and Sabnzbd 0.7.x

Post by SLeal01 »

Actually used this:
python /mnt/MyDisk/Apps/SABnzbd-0.7.11/SABnzbd.py -s 0.0.0.0:8888
and (with no parameters):
python /mnt/MyDisk/Apps/SABnzbd-0.7.11/SABnzbd.py
Tonight I'm going to try with your recomendations... I'll tell you what happend.
User avatar
SLeal01
Newbie
Newbie
Posts: 8
Joined: May 28th, 2013, 9:24 am

Re: Nas4Free 9.1.0.1 and Sabnzbd 0.7.x

Post by SLeal01 »

Same results with -s 0.0.0.0:9876:

Code: Select all

MyNas4Free:~# python /mnt/MyDisk/Apps/SABnzbd-0.7.11/SABnzbd.py -s 0.0.0.0:9876
2013-05-28 19:39:36,421::INFO::[SABnzbd:1256] --------------------------------
2013-05-28 19:39:36,423::INFO::[SABnzbd:1257] SABnzbd.py-0.7.11 (rev=a50412a32751f4d1d555020dea20a2da43d6a309)
2013-05-28 19:39:36,423::INFO::[SABnzbd:1269] Platform = posix
2013-05-28 19:39:36,424::INFO::[SABnzbd:1270] Python-version = 2.7.3 (default, Apr 12 2013, 14:58:55)
[GCC 4.2.1 20070831 patched [FreeBSD]]
2013-05-28 19:39:36,424::INFO::[SABnzbd:1271] Arguments = /mnt/MyDisk/Apps/SABnzbd-0.7.11/SABnzbd.py -s 0.0.0.0:9876
2013-05-28 19:39:36,424::INFO::[SABnzbd:1284] Read INI file /root/.sabnzbd/sabnzbd.ini
2013-05-28 19:39:36,429::INFO::[__init__:928] Loading data for bookmarks.sab from /root/.sabnzbd/admin/bookmarks.sab
2013-05-28 19:39:36,431::INFO::[__init__:928] Loading data for rss_data.sab from /root/.sabnzbd/admin/rss_data.sab
2013-05-28 19:39:36,433::INFO::[__init__:928] Loading data for totals9.sab from /root/.sabnzbd/admin/totals9.sab
2013-05-28 19:39:36,433::INFO::[__init__:931] /root/.sabnzbd/admin/totals9.sab missing, trying old cache
2013-05-28 19:39:36,434::INFO::[__init__:934] /root/.sabnzbd/cache/totals9.sab missing
2013-05-28 19:39:38,631::INFO::[postproc:90] Loading postproc queue
2013-05-28 19:39:38,632::INFO::[__init__:928] Loading data for postproc1.sab from /root/.sabnzbd/admin/postproc1.sab
2013-05-28 19:39:38,633::INFO::[__init__:928] Loading data for queue9.sab from /root/.sabnzbd/admin/queue9.sab
2013-05-28 19:39:38,635::INFO::[__init__:928] Loading data for watched_data.sab from /root/.sabnzbd/admin/watched_data.sab
2013-05-28 19:39:38,637::INFO::[scheduler:170] Setting schedule for midnight BPS reset
2013-05-28 19:39:38,638::INFO::[downloader:211] Resuming
2013-05-28 19:39:38,647::INFO::[__init__:330] All processes started
2013-05-28 19:39:38,647::INFO::[SABnzbd:334] Web dir is /mnt/MyDisk/Apps/SABnzbd-0.7.11/interfaces/Plush
2013-05-28 19:39:38,648::INFO::[SABnzbd:334] Web dir is /mnt/MyDisk/Apps/SABnzbd-0.7.11/interfaces/Config
2013-05-28 19:39:38,656::INFO::[SABnzbd:463] _yenc module... found!
2013-05-28 19:39:38,656::INFO::[SABnzbd:471] par2 binary... found (/usr/local/bin/par2)
2013-05-28 19:39:38,656::INFO::[SABnzbd:479] unrar binary... found (/usr/local/bin/unrar)
2013-05-28 19:39:38,657::INFO::[SABnzbd:484] unzip binary... found (/usr/local/bin/unzip)
2013-05-28 19:39:38,657::INFO::[SABnzbd:490] nice binary... found (/usr/bin/nice)
2013-05-28 19:39:38,657::INFO::[SABnzbd:496] ionice binary... NOT found!
2013-05-28 19:39:38,657::INFO::[SABnzbd:499] pyOpenSSL... found (True)
2013-05-28 19:39:38,757::INFO::[SABnzbd:1483] Starting web-interface on 0.0.0.0:9876
2013-05-28 19:39:46,000::INFO::[_cplogging:55] [28/May/2013:19:39:46] ENGINE Bus STARTING
2013-05-28 19:39:46,005::INFO::[_cplogging:55] [28/May/2013:19:39:46] ENGINE Started monitor thread '_TimeoutMonitor'.
2013-05-28 19:39:46,114::ERROR::[_cplogging:55] [28/May/2013:19:39:46] ENGINE Error in 'start' listener <bound method ServerAdapter.start of <cherrypy.process.servers.ServerAdapter object at 0x80713ac90>>
Traceback (most recent call last):
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/servers.py", line 62, in start
    self.wait()
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/servers.py", line 97, in wait
    raise self.interrupt
error: [Errno 49] Can't assign requested address

2013-05-28 19:39:46,117::ERROR::[_cplogging:55] [28/May/2013:19:39:46] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/servers.py", line 75, in _start_http_thread
    self.httpserver.start()
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/wsgiserver/__init__.py", line 1644, in start
    raise socket.error, msg
error: [Errno 49] Can't assign requested address

2013-05-28 19:39:46,117::INFO::[_cplogging:55] [28/May/2013:19:39:46] ENGINE Bus STOPPING
2013-05-28 19:39:46,117::INFO::[_cplogging:55] [28/May/2013:19:39:46] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 9876)) already shut down
2013-05-28 19:39:46,118::INFO::[_cplogging:55] [28/May/2013:19:39:46] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('208.73.210.204', 9876)) already shut down
2013-05-28 19:39:46,160::INFO::[_cplogging:55] [28/May/2013:19:39:46] ENGINE Stopped thread '_TimeoutMonitor'.
2013-05-28 19:39:46,161::INFO::[_cplogging:55] [28/May/2013:19:39:46] ENGINE Bus STOPPED
2013-05-28 19:39:46,161::INFO::[_cplogging:55] [28/May/2013:19:39:46] ENGINE Bus EXITING
2013-05-28 19:39:46,161::INFO::[_cplogging:55] [28/May/2013:19:39:46] ENGINE Bus EXITED
Exception in thread HTTPServer Thread-9:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/servers.py", line 75, in _start_http_thread
    self.httpserver.start()
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/wsgiserver/__init__.py", line 1644, in start
    raise socket.error, msg
error: [Errno 49] Can't assign requested address

2013-05-28 19:39:46,221::INFO::[_cplogging:55] [28/May/2013:19:39:46] ENGINE Serving on 0.0.0.0:9876
2013-05-28 19:39:46,222::ERROR::[_cplogging:55] [28/May/2013:19:39:46] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/wspbus.py", line 184, in start
    self.publish('start')
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/servers.py", line 62, in start
    self.wait()
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/servers.py", line 97, in wait
    raise self.interrupt
error: [Errno 49] Can't assign requested address

2013-05-28 19:39:46,222::INFO::[_cplogging:55] [28/May/2013:19:39:46] ENGINE Bus STOPPING
2013-05-28 19:39:46,240::INFO::[_cplogging:55] [28/May/2013:19:39:46] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 9876)) shut down
2013-05-28 19:39:46,241::INFO::[_cplogging:55] [28/May/2013:19:39:46] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('208.73.210.204', 9876)) already shut down
2013-05-28 19:39:46,241::INFO::[_cplogging:55] [28/May/2013:19:39:46] ENGINE No thread running for _TimeoutMonitor.
2013-05-28 19:39:46,242::INFO::[_cplogging:55] [28/May/2013:19:39:46] ENGINE Bus STOPPED
2013-05-28 19:39:46,242::INFO::[_cplogging:55] [28/May/2013:19:39:46] ENGINE Bus EXITING
2013-05-28 19:39:46,243::INFO::[_cplogging:55] [28/May/2013:19:39:46] ENGINE Bus EXITED
2013-05-28 19:39:46,243::ERROR::[SABnzbd:1498] Failed to start web-interface:
Traceback (most recent call last):
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/SABnzbd.py", line 1490, in main
    cherrypy.engine.start()
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/wspbus.py", line 184, in start
    self.publish('start')
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/servers.py", line 62, in start
    self.wait()
  File "/mnt/MyDisk/Apps/SABnzbd-0.7.11/cherrypy/process/servers.py", line 97, in wait
    raise self.interrupt
error: [Errno 49] Can't assign requested address
2013-05-28 19:39:46,245::ERROR::[SABnzbd:303] Failed to start web-interface : [Errno 49] Can't assign requested address
2013-05-28 19:39:46,248::INFO::[panic:247] Lauching browser with /tmp/tmpdC_o1s.html
2013-05-28 19:39:46,248::INFO::[__init__:366] SABnzbd shutting down...
2013-05-28 19:39:46,249::INFO::[__init__:904] Saving data for bookmarks.sab in /root/.sabnzbd/admin/bookmarks.sab
2013-05-28 19:39:46,249::INFO::[urlgrabber:72] URLGrabber shutting down
2013-05-28 19:39:46,250::INFO::[__init__:904] Saving data for watched_data.sab in /root/.sabnzbd/admin/watched_data.sab
2013-05-28 19:39:46,251::INFO::[dirscanner:265] Dirscanner shutting down
2013-05-28 19:39:46,760::INFO::[postproc:84] Saving postproc queue
2013-05-28 19:39:46,761::INFO::[__init__:904] Saving data for postproc1.sab in /root/.sabnzbd/admin/postproc1.sab
2013-05-28 19:39:46,761::INFO::[nzbqueue:211] Saving queue
2013-05-28 19:39:46,762::INFO::[__init__:904] Saving data for queue9.sab in /root/.sabnzbd/admin/queue9.sab
2013-05-28 19:39:46,762::INFO::[__init__:904] Saving data for rss_data.sab in /root/.sabnzbd/admin/rss_data.sab
2013-05-28 19:39:46,763::INFO::[__init__:904] Saving data for bookmarks.sab in /root/.sabnzbd/admin/bookmarks.sab
2013-05-28 19:39:46,764::INFO::[__init__:904] Saving data for watched_data.sab in /root/.sabnzbd/admin/watched_data.sab
2013-05-28 19:39:46,764::INFO::[postproc:84] Saving postproc queue
2013-05-28 19:39:46,765::INFO::[__init__:904] Saving data for postproc1.sab in /root/.sabnzbd/admin/postproc1.sab
2013-05-28 19:39:46,765::INFO::[__init__:426] All processes stopped
MyNas4Free:~# 
But with "-s 127.0.0.1:9876" never end, I mean, start the process but wont run it:

Code: Select all

MyNas4Free:~# python /mnt/MyDisk/Apps/SABnzbd-0.7.11/SABnzbd.py -s 127.0.0.1:9876
2013-05-28 19:43:06,181::INFO::[SABnzbd:1256] --------------------------------
2013-05-28 19:43:06,182::INFO::[SABnzbd:1257] SABnzbd.py-0.7.11 (rev=a50412a32751f4d1d555020dea20a2da43d6a309)
2013-05-28 19:43:06,183::INFO::[SABnzbd:1269] Platform = posix
2013-05-28 19:43:06,183::INFO::[SABnzbd:1270] Python-version = 2.7.3 (default, Apr 12 2013, 14:58:55)
[GCC 4.2.1 20070831 patched [FreeBSD]]
2013-05-28 19:43:06,183::INFO::[SABnzbd:1271] Arguments = /mnt/MyDisk/Apps/SABnzbd-0.7.11/SABnzbd.py -s 127.0.0.1:9876
2013-05-28 19:43:06,184::INFO::[SABnzbd:1284] Read INI file /root/.sabnzbd/sabnzbd.ini
2013-05-28 19:43:06,186::INFO::[__init__:928] Loading data for bookmarks.sab from /root/.sabnzbd/admin/bookmarks.sab
2013-05-28 19:43:06,187::INFO::[__init__:928] Loading data for rss_data.sab from /root/.sabnzbd/admin/rss_data.sab
2013-05-28 19:43:06,188::INFO::[__init__:928] Loading data for totals9.sab from /root/.sabnzbd/admin/totals9.sab
2013-05-28 19:43:06,188::INFO::[__init__:931] /root/.sabnzbd/admin/totals9.sab missing, trying old cache
2013-05-28 19:43:06,189::INFO::[__init__:934] /root/.sabnzbd/cache/totals9.sab missing
2013-05-28 19:43:08,023::INFO::[postproc:90] Loading postproc queue
2013-05-28 19:43:08,024::INFO::[__init__:928] Loading data for postproc1.sab from /root/.sabnzbd/admin/postproc1.sab
2013-05-28 19:43:08,025::INFO::[__init__:928] Loading data for queue9.sab from /root/.sabnzbd/admin/queue9.sab
2013-05-28 19:43:08,026::INFO::[__init__:928] Loading data for watched_data.sab from /root/.sabnzbd/admin/watched_data.sab
2013-05-28 19:43:08,028::INFO::[scheduler:170] Setting schedule for midnight BPS reset
2013-05-28 19:43:08,028::INFO::[downloader:211] Resuming
2013-05-28 19:43:08,038::INFO::[__init__:330] All processes started
2013-05-28 19:43:08,038::INFO::[SABnzbd:334] Web dir is /mnt/MyDisk/Apps/SABnzbd-0.7.11/interfaces/Plush
2013-05-28 19:43:08,039::INFO::[SABnzbd:334] Web dir is /mnt/MyDisk/Apps/SABnzbd-0.7.11/interfaces/Config
2013-05-28 19:43:08,048::INFO::[SABnzbd:463] _yenc module... found!
2013-05-28 19:43:08,048::INFO::[SABnzbd:471] par2 binary... found (/usr/local/bin/par2)
2013-05-28 19:43:08,049::INFO::[SABnzbd:479] unrar binary... found (/usr/local/bin/unrar)
2013-05-28 19:43:08,049::INFO::[SABnzbd:484] unzip binary... found (/usr/local/bin/unzip)
2013-05-28 19:43:08,050::INFO::[SABnzbd:490] nice binary... found (/usr/bin/nice)
2013-05-28 19:43:08,050::INFO::[SABnzbd:496] ionice binary... NOT found!
2013-05-28 19:43:08,050::INFO::[SABnzbd:499] pyOpenSSL... found (True)
2013-05-28 19:43:08,154::INFO::[SABnzbd:1483] Starting web-interface on 127.0.0.1:9876
2013-05-28 19:43:08,155::INFO::[_cplogging:55] [28/May/2013:19:43:08] ENGINE Bus STARTING
2013-05-28 19:43:08,160::INFO::[_cplogging:55] [28/May/2013:19:43:08] ENGINE Started monitor thread '_TimeoutMonitor'.
2013-05-28 19:43:08,272::INFO::[_cplogging:55] [28/May/2013:19:43:08] ENGINE Serving on 127.0.0.1:9876
2013-05-28 19:43:08,273::INFO::[_cplogging:55] [28/May/2013:19:43:08] ENGINE Bus STARTED
2013-05-28 19:43:08,273::INFO::[panic:247] Lauching browser with http://127.0.0.1:9876/sabnzbd
2013-05-28 19:43:09,108::INFO::[SABnzbd:1552] Starting SABnzbd.py-0.7.11
2013-05-28 19:43:09,110::INFO::[dirscanner:274] Dirscanner starting up
2013-05-28 19:43:09,111::INFO::[urlgrabber:77] URLGrabber starting up
And stay there, no more messages and don't run it.

Any ideas?
User avatar
sander
Release Testers
Release Testers
Posts: 8808
Joined: January 22nd, 2008, 2:22 pm

Re: Nas4Free 9.1.0.1 and Sabnzbd 0.7.x

Post by sander »

So:
0.0.0.0 (meaning: listen to LAN) does not work
127.0.0.1 (meaning: only listen to requests from local device) does work, and SAB is running.

On computer OSes this can be caused by a firewall. So: is there a firewall running on your NAS?
Or there might be something wrong with name resolving. It's trial-and-error to find that out. Try: "-s 0.0.0.0:9876 --no_ipv6"

PS: is the old SAB 0.6.x still running?
User avatar
SLeal01
Newbie
Newbie
Posts: 8
Joined: May 28th, 2013, 9:24 am

Re: Nas4Free 9.1.0.1 and Sabnzbd 0.7.x

Post by SLeal01 »

With 127.0.0.1 "running" but doesn't work.

And with SABnzbd 0.6.x running very well.

Any version 0.7.x doesn't work.

I don't have any problem with other software: SickBeard and CouchPotato.

This NAS has no firewall, or at least, I didn't install.
User avatar
sander
Release Testers
Release Testers
Posts: 8808
Joined: January 22nd, 2008, 2:22 pm

Re: Nas4Free 9.1.0.1 and Sabnzbd 0.7.x

Post by sander »

SickBeard and CouchPotato use "0.0.0.0"?
You tried "-s 0.0.0.0:9876 --no_ipv6"?

If so, I have no further suggestions.
User avatar
SLeal01
Newbie
Newbie
Posts: 8
Joined: May 28th, 2013, 9:24 am

Re: Nas4Free 9.1.0.1 and Sabnzbd 0.7.x

Post by SLeal01 »

I'll check this out later today and tell you what happens.

Thanks.
User avatar
sander
Release Testers
Release Testers
Posts: 8808
Joined: January 22nd, 2008, 2:22 pm

Re: Nas4Free 9.1.0.1 and Sabnzbd 0.7.x

Post by sander »

FWIW:

I installed NAS4Free i386 in a virtual machine, and I got SABnzbd working with the method you posted.

I will see what happens when I disable IPv6 on the NAS. UPDATE: no problems with IPv6 disabled. So I can't reproduce your problem.

Code: Select all

2013-05-29 19:02:54,023::INFO::[_cplogging:55] [29/May/2013:19:02:54] ENGINE Serving on ::1:8080
2013-05-29 19:02:54,242::INFO::[_cplogging:55] [29/May/2013:19:02:54] ENGINE Serving on 0.0.0.0:8080
2

Code: Select all

setenv PACKAGESITE 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-current/Latest/'
pkg_add -rv python27 py27-sqlite3
pkg_add -rv unzip
pkg_add -rv py27-yenc
pkg_add -rv py27-cheetah
pkg_add -rv py27-openssl
pkg_add -rv py27-feedparser
pkg_add -rv py27-utils
pkg_add -rv py27-configobj
pkg_add -rv py27-dbus
pkg_add -rv unrar
pkg_add -rv par2cmdline
fetch "http://downloads.sourceforge.net/project/sabnzbdplus/sabnzbdplus/sabnzbd-0.7.11/SABnzbd-0.7.11-src.tar.gz"
fetch 'http://downloads.sourceforge.net/project/sabnzbdplus/sabnzbdplus/0.7.12/SABnzbd-0.7.12-src.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fsabnzbdplus%2Ffiles%2Fsabnzbdplus%2F0.7.12%2F&ts=1369854001&use_mirror=surfnet'
mv SABnzbd-0.7.12-src.tar.gz\?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fsabnzbdplus%2Ffiles%2Fsabnzbdplus%2F0.7.12%2F\&ts=1369854001\&use_mirror=surfnet SABnzbd-0.7.12-src.tar.gz
tar xvzf SABnzbd-0.7.12-src.tar.gz
cd SABnzbd-0.7.12
/usr/local/bin/python SABnzbd.py -s 0.0.0.0:8080
/usr/local/bin/python SABnzbd.py
/usr/local/bin/python SABnzbd.py -s 0.0.0.0:8080 --no_ipv6
PS2:

I do get (probably unrelated):

Code: Select all

/usr/local/lib/python2.7/site-packages/Cheetah-2.4.4-py2.7.egg/Cheetah/Compiler.py:1509: UserWarning: 
You don't have the C version of NameMapper installed! I'm disabling Cheetah's useStackFrames option as it is painfully slow with the Python version of NameMapper. You should get a copy of Cheetah with the compiled C version of NameMapper.
  "\nYou don't have the C version of NameMapper installed! "
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Nas4Free 9.1.0.1 and Sabnzbd 0.7.x

Post by shypike »

The Cheetah contains a compiled C part.
If your system doesn't have C compiler, it cannot generate the .so file.
The result is just this error, all will work fine.
(The speed of the Web UI might be a bit less.)
User avatar
SLeal01
Newbie
Newbie
Posts: 8
Joined: May 28th, 2013, 9:24 am

Re: Nas4Free 9.1.0.1 and Sabnzbd 0.7.x

Post by SLeal01 »

Well, with " --no_ipv6" was same issue, still no working.

I was trying with diff versions of Nas4Free with same results, Do you think this problem is hardware related???

Cheetah message I suppose not my problem.
User avatar
sander
Release Testers
Release Testers
Posts: 8808
Joined: January 22nd, 2008, 2:22 pm

Re: Nas4Free 9.1.0.1 and Sabnzbd 0.7.x

Post by sander »

No, I don't think it is hardware related. I think it is system/network related.

If you search "error: [Errno 49] Can't assign requested address" you will it is a common problem, with the work-arounds I gave you above (which don't seem to work for you).
User avatar
SLeal01
Newbie
Newbie
Posts: 8
Joined: May 28th, 2013, 9:24 am

Re: Nas4Free 9.1.0.1 and Sabnzbd 0.7.x

Post by SLeal01 »

Now it's working... thanks for your hint, so Ive search about that error (Errno 49) and find a thread that discuss the same issue and the way they solved: http://forums.sabnzbd.org/viewtopic.php?t=10993#p66809

So, I did it and works :)

In /etc/host its a link to /var/etc/host so I changed it an empty file to:

Code: Select all

127.0.0.1   localhost
255.255.255.255   broadcasthost
::1             localhost
BUT, now Ive another problem hahaha, every time that reboot the system, this file (/var/etc/host) change to empty again.... why???

Now I need to figure it out to how this file goes to empty file...
Post Reply