Page 1 of 1

SABNZBD DON'T START

Posted: January 2nd, 2009, 5:17 pm
by persen61
Can somebody help me. I install SABNZBD and it works. 1 hour later I start SABNZBD and it don't start.
Look at my terminal text.
2009-01-02 23:14:22,695::INFO::--------------------------------
2009-01-02 23:14:22,695::INFO::SABnzbd.py-0.4.5 (rev=1750)
2009-01-02 23:14:22,695::INFO::Platform = posix
2009-01-02 23:14:22,696::INFO::Python-version = 2.5.2 (r252:60911, Oct  5 2008, 19:24:49)
[GCC 4.3.2]
2009-01-02 23:14:22,698::INFO::[sabnzbd] Loading data for rss_data.sab from /home/frandsen/.sabnzbd/cache/rss_data.sab
2009-01-02 23:14:22,699::INFO::[sabnzbd] Loading data for bytes7.sab from /home/frandsen/.sabnzbd/cache/bytes7.sab
2009-01-02 23:14:22,699::INFO::[sabnzbd] Loading data for queue7.sab from /home/frandsen/.sabnzbd/cache/queue7.sab
2009-01-02 23:14:22,700::INFO::[sabnzbd] Loading data for watched_data.sab from /home/frandsen/.sabnzbd/cache/watched_data.sab
2009-01-02 23:14:22,701::INFO::All processes started
2009-01-02 23:14:22,702::INFO::_yenc module... found!
2009-01-02 23:14:22,702::INFO::celementtree module... found!
2009-01-02 23:14:22,702::INFO::par2 binary... found (/usr/bin/par2)
2009-01-02 23:14:22,702::INFO::unrar binary... found (/usr/bin/unrar)
2009-01-02 23:14:22,703::INFO::unzip binary... found (/usr/bin/unzip)
2009-01-02 23:14:22,703::INFO::nice binary... found (/usr/bin/nice)
2009-01-02 23:14:22,703::INFO::ionice binary... found (/usr/bin/ionice)
2009-01-02 23:14:22,703::INFO::pyOpenSSL... found (True)
2009-01-02 23:14:22,704::INFO::Web dir is /home/frandsen/Skrivebord/ SABnzbd/interfaces/Default
2009-01-02 23:14:22,708::INFO::Starting SABnzbd.py-0.4.5
2009-01-02 23:14:22,708::INFO::[nzbqueue] Saving queue
2009-01-02 23:14:22,708::INFO::[sabnzbd] Saving data for queue7.sab in /home/frandsen/.sabnzbd/cache/queue7.sab
2009-01-02 23:14:22,709::INFO::[sabnzbd] Saving data for bytes7.sab in /home/frandsen/.sabnzbd/cache/bytes7.sab
2009-01-02 23:14:22,709::INFO::[sabnzbd] Saving data for rss_data.sab in /home/frandsen/.sabnzbd/cache/rss_data.sab
2009-01-02 23:14:22,709::INFO::[sabnzbd] Saving data for watched_data.sab in /home/frandsen/.sabnzbd/cache/watched_data.sab
2009-01-02 23:14:22,710::INFO::[sabnzbd.misc] Dirscanner starting up
2009-01-02 23:14:22,711::INFO::[sabnzbd.misc] URLGrabber starting up
2009-01-02 23:14:22,713::INFO::Starting web-interface on 192.168.33:8080
02/Jan/2009:23:14:22 CONFIG INFO Server parameters:
02/Jan/2009:23:14:22 CONFIG INFO  server.environment: production
02/Jan/2009:23:14:22 CONFIG INFO  server.log_to_screen: True
02/Jan/2009:23:14:22 CONFIG INFO  server.log_file: /home/frandsen/.sabnzbd/logs/cherrypy.log
02/Jan/2009:23:14:22 CONFIG INFO  server.log_tracebacks: True
02/Jan/2009:23:14:22 CONFIG INFO  server.log_request_headers: False
02/Jan/2009:23:14:22 CONFIG INFO  server.protocol_version: HTTP/1.0
02/Jan/2009:23:14:22 CONFIG INFO  server.socket_host: 192.168.33
02/Jan/2009:23:14:22 CONFIG INFO  server.socket_port: 8080
02/Jan/2009:23:14:22 CONFIG INFO  server.socket_file:
02/Jan/2009:23:14:22 CONFIG INFO  server.reverse_dns: False
02/Jan/2009:23:14:22 CONFIG INFO  server.socket_queue_size: 5
02/Jan/2009:23:14:22 CONFIG INFO  server.thread_pool: 10
Exception in thread CPHTTPServer Thread-9:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/frandsen/ SABnzb/SABnzbd-0.4.5/cherrypy/_cpserver.py", line 114, in _start_http
    self.httpserver.start()
  File "/home/frandsen/ SABnzb/SABnzbd-0.4.5/cherrypy/_cpwsgiserver.py", line 370, in start
    raise socket.error, msg
error: (99, 'Cannot assign requested address')

Waiting for a answer.

Re: SABNZBD DON'T START

Posted: January 2nd, 2009, 5:52 pm
by sander
persen61 wrote:
2009-01-02 23:14:22,713::INFO::Starting web-interface on 192.168.33:8080

02/Jan/2009:23:14:22 CONFIG INFO   server.socket_host: 192.168.33

error: (99, 'Cannot assign requested address')

Waiting for a answer.
That's an illegal IPv4 address: only 3 bytes, instead of 4. I guess you've edited the Host setting by hand?

Correct this by editing ~/.sabnzbd/sabnzbd.ini (you use Linux, right?) and replace 192.168.33 in that file by 0.0.0.0 (four bytes!). Save and exit the file. Then start SABnzbd.

Re: SABNZBD DON'T START

Posted: January 2nd, 2009, 6:14 pm
by persen61
Correct this by editing ~/.sabnzbd/sabnzbd.ini (you use Linux, right?) and replace 192.168.33 in that file by 0.0.0.0 (four bytes!). Save and exit the file.

/.sabnzb/ini I can find the ini fil only with the name _ init_.py

Are we in the install map ?
Home/sabnzbd/sabnzbd

Re: SABNZBD DON'T START

Posted: January 2nd, 2009, 6:41 pm
by sander
persen61 wrote: Correct this by editing ~/.sabnzbd/sabnzbd.ini (you use Linux, right?) and replace 192.168.33 in that file by 0.0.0.0 (four bytes!). Save and exit the file.

/.sabnzb/ini I can find the ini fil only with the name _ init_.py

Are we in the install map ?
Home/sabnzbd/sabnzbd
No. Go to /home/frandsen/.sabnzbd/ (copy paste this! Note the dot before .sabnzbd)
There should be the file sabnzbd.ini. Edit that file.

Or in one step: edit /home/frandsen/.sabnzbd/sabnzbd.ini.

Just checking: you're on (a Scandinavian) Linux, aren't you? The above is only true for Linux (maybe Mac), not for Windows.

Re: SABNZBD DON'T START

Posted: January 2nd, 2009, 6:43 pm
by sander
pair of dimes wrote:
Whoop, good catch sander... read the below for your answer.
Thanks. You know how this problem could have been prevented, as discussed in our other thread ... ;-(

Re: SABNZBD DON'T START

Posted: January 2nd, 2009, 6:52 pm
by persen61
Yes Im  a Scandinavian and use Linux. I reinstall. But then I start I have the same problem.
My IP is 192.168.1.33 and not 192.168.33 as in the terminal. Can we change this IP to 192.168.1.33 ? in sabnzbd ?

There most be a file someplaces with the old settings, because the same fail come up in the terminal or what ?

Re: SABNZBD DON'T START

Posted: January 2nd, 2009, 7:06 pm
by sander
persen61 wrote: Yes Im  a Scandinavian and use Linux. I reinstall. But then I start I have the same problem.
My IP is 192.168.1.33 and not 192.168.33 as in the terminal. Can we change this IP to 192.168.1.33 ? in sabnzbd ?

There most be a file someplaces with the old settings, because the same fail come up in the terminal or what ?
You could fill out that IP address, but it is not needed. However, an incorrect IP address will prohibit usage SABnzbd, as you are experiencing.

So let's stick to the basics first.

Can you open a terminal / command line? For example ALT - F2, then 'xterm' (or 'konsole' if on KDE).
If so, can you find /home/frandsen/.sabnzbd/sabnzbd.ini with this command:

Code: Select all

ls -al /home/frandsen/.sabnzbd/sabnzbd.ini
It's very important to copy this line: the dot is important.

If so, you can edit that file, like

Code: Select all

gedit /home/frandsen/.sabnzbd/sabnzbd.ini
and fill out 0.0.0.0 where it says 192.168.33 now. Then Save, Exit and start SABnzbd.

Or, if that doesn't work, start clean, and remove the ini file with:

Code: Select all

rm /home/frandsen/.sabnzbd/sabnzbd.ini
Then start SABnzbd, and fill things out again.

And, please, don't fill out the "Host" entry. Leave it on "localhost". Eventually you could use "0.0.0.0".

First, get SABnzbd working again.

Re: SABNZBD DON'T START

Posted: January 3rd, 2009, 1:48 am
by persen61
Thanks you for  help. I will do the  things you write. :)

Re: SABNZBD DON'T START

Posted: January 3rd, 2009, 1:57 am
by persen61
It works thanks again.  :)

Re: SABNZBD DON'T START

Posted: January 3rd, 2009, 3:39 am
by sander
persen61 wrote: It works thanks again.  :)
Good to hear. I've a question for you: why did you change the value of the webserver's "Host"? What were you trying to achieve?

(I'm asking this because, in another thread, I'm stating that it's a strange option, that should be made easier)

Re: SABNZBD DON'T START

Posted: January 4th, 2009, 12:28 pm
by persen61
Good to hear. I've a question for you: why did you change the value of the webserver's "Host"? What were you trying to achieve?

I Can remember it, why, maybe from the  program Ninan  and therefore I maybe think it's the same in SABnzbd :)

Thanks again ;D