Page 1 of 1

Trouble starting SabNZB :/

Posted: November 10th, 2009, 1:29 pm
by night_Raven
Hi all, hope you can help.

I have edited the "sabnzbdplus" file in etc\default\ -I gave it a username, edited the port to 88, that's it.

then i started the bin\sabnzbdplus @first without the sudo cmd, wich failed.

then i started it using: sudo sabnzbdplus and now it goes to this:

(live)xbmc@XBMCLive:/bin$ sudo sabnzbdplus
2009-11-10 18:15:24,429::INFO::--------------------------------
2009-11-10 18:15:24,430::INFO::sabnzbdplus-0.4.12 (rev=2799)
2009-11-10 18:15:24,431::INFO::Platform = posix
2009-11-10 18:15:24,431::INFO::Python-version = 2.5.4 (r254:67916, Sep 20 2009, 10:05:43)
[GCC 4.4.1]
2009-11-10 18:15:24,438::INFO::[sabnzbd] Loading data for rss_data.sab from /home/xbmc/.sabnzbd/cache/rss_data.sab
2009-11-10 18:15:24,442::INFO::[sabnzbd] Loading data for bytes7.sab from /home/xbmc/.sabnzbd/cache/bytes7.sab
2009-11-10 18:15:24,443::INFO::[sabnzbd] Loading data for queue7.sab from /home/xbmc/.sabnzbd/cache/queue7.sab
2009-11-10 18:15:24,445::WARNING::[downloader] No active primary servers defined, will not download!
2009-11-10 18:15:24,446::INFO::All processes started
2009-11-10 18:15:24,448::INFO::_yenc module... found!
2009-11-10 18:15:24,449::INFO::celementtree module... found!
2009-11-10 18:15:24,450::INFO::par2 binary... found (/usr/bin/par2)
2009-11-10 18:15:24,451::INFO::unrar binary... found (/usr/bin/unrar)
2009-11-10 18:15:24,451::INFO::unzip binary... found (/usr/bin/unzip)
2009-11-10 18:15:24,452::INFO::nice binary... found (/usr/bin/nice)
2009-11-10 18:15:24,453::INFO::ionice binary... found (/usr/bin/ionice)
2009-11-10 18:15:24,454::INFO::pyOpenSSL... found (True)
2009-11-10 18:15:24,457::INFO::Web dir is /usr/share/sabnzbdplus/interfaces/Default
2009-11-10 18:15:24,465::INFO::Starting sabnzbdplus-0.4.12
2009-11-10 18:15:24,466::INFO::[nzbqueue] Saving queue
2009-11-10 18:15:24,469::INFO::[sabnzbd] Saving data for queue7.sab in /home/xbmc/.sabnzbd/cache/queue7.sab
2009-11-10 18:15:24,470::INFO::Starting web-interface on 10.0.0.4:88
10/Nov/2009:18:15:24 CONFIG INFO Server parameters:
10/Nov/2009:18:15:24 CONFIG INFO  server.environment: production
2009-11-10 18:15:24,472::INFO::[sabnzbd.misc] URLGrabber starting up
10/Nov/2009:18:15:24 CONFIG INFO  server.log_to_screen: True
10/Nov/2009:18:15:24 CONFIG INFO  server.log_file: /home/xbmc/.sabnzbd/logs/cherrypy.log
2009-11-10 18:15:24,492::INFO::[sabnzbd] Saving data for bytes7.sab in /home/xbmc/.sabnzbd/cache/bytes7.sab
10/Nov/2009:18:15:24 CONFIG INFO  server.log_tracebacks: True
10/Nov/2009:18:15:24 CONFIG INFO  server.log_request_headers: False
2009-11-10 18:15:24,495::INFO::[sabnzbd] Saving data for rss_data.sab in /home/xbmc/.sabnzbd/cache/rss_data.sab
10/Nov/2009:18:15:24 CONFIG INFO  server.protocol_version: HTTP/1.0
10/Nov/2009:18:15:24 CONFIG INFO  server.socket_host: 10.0.0.4
10/Nov/2009:18:15:24 CONFIG INFO  server.socket_port: 88
10/Nov/2009:18:15:24 CONFIG INFO  server.socket_file:
10/Nov/2009:18:15:24 CONFIG INFO  server.reverse_dns: False
10/Nov/2009:18:15:24 CONFIG INFO  server.socket_queue_size: 5
10/Nov/2009:18:15:24 CONFIG INFO  server.thread_pool: 10
10/Nov/2009:18:15:24 HTTP INFO Serving HTTP on http://10.0.0.4:88/


I hope you can give me some advice on where to go from here?

Re: Trouble starting SabNZB :/

Posted: November 10th, 2009, 4:25 pm
by switch
Looks fine, can you not access http://10.0.0.4:88/sabnzbd/ from the PC that you launched SABnzbd on?

If not try with  0.0.0.0 or blank (with a blank host, access through the local ipv4 address of that machine)

Re: Trouble starting SabNZB :/

Posted: November 10th, 2009, 4:46 pm
by shypike
You need to be root to use low ports, definitely for port 88.
As a normal user you must use a port above 8000.

Re: Trouble starting SabNZB :/

Posted: November 11th, 2009, 3:39 am
by night_Raven
shypike wrote: You need to be root to use low ports, definitely for port 88.
As a normal user you must use a port above 8000.
Thanks!! i now have the Sabnzbdplus applikation running and i am able to connect to the web application (previously i tried accessing http://10.0.0.4:8888 without /sabnzbd)

Now i only need the last thing.  My application is not running as a deamon. What to to?

Re: Trouble starting SabNZB :/

Posted: November 11th, 2009, 4:21 am
by shypike
Daemonizing is very platform specific.
But this may get you started:
http://sabnzbd.wikidot.com/install-as-a-unix-daemon

Re: Trouble starting SabNZB :/

Posted: November 11th, 2009, 5:12 am
by night_Raven
shypike wrote: Daemonizing is very platform specific.
But this may get you started:
http://sabnzbd.wikidot.com/install-as-a-unix-daemon
I now works!!!  just changed the host from 10.0.0.4 to 0.0.0.0, so the service can start without an available ip adress... 0.0.0.0 could be localhost instead.

Re: Trouble starting SabNZB :/

Posted: November 11th, 2009, 6:09 am
by shypike
0.0.0.0 is not a true IP address.
SABnzbd interprets it as "listen on all available IP addresses".
This includes localhost and the true IP address.