Page 7 of 14

Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-

Posted: December 4th, 2011, 10:30 am
by Hansvon
Mmmh, I'm not a SABnzbd developer so... Maybe shypike or somebody else can help.
At least for me (Fedora 16), 0.6.11 works as usual:

Code: Select all

2011-12-04 16:20:58,975::INFO::[SABnzbd:1202] --------------------------------
2011-12-04 16:20:58,999::INFO::[SABnzbd:1203] SABnzbd.py-0.6.11 (rev=5643b5682f90af5f53e3e6ae6e90e5d3322e8fc7)
2011-12-04 16:20:59,000::INFO::[SABnzbd:1215] Platform = posix
2011-12-04 16:20:59,001::INFO::[SABnzbd:1216] Python-version = 2.7.2 (default, Oct 27 2011, 01:40:22) 
[GCC 4.6.1 20111003 (Red Hat 4.6.1-10)]
...
2011-12-04 16:20:59,146::INFO::[SABnzbd:1397] Starting web-interface on 0.0.0.0:9095
2011-12-04 16:20:59,149::INFO::[_cplogging:55] [04/Dec/2011:16:20:59] ENGINE Bus STARTING
2011-12-04 16:20:59,166::INFO::[_cplogging:55] [04/Dec/2011:16:20:59] ENGINE Started monitor thread '_TimeoutMonitor'.
2011-12-04 16:20:59,271::INFO::[_cplogging:55] [04/Dec/2011:16:20:59] ENGINE Serving on 0.0.0.0:8080
2011-12-04 16:20:59,377::INFO::[_cplogging:55] [04/Dec/2011:16:20:59] ENGINE Serving on ::1:8080
2011-12-04 16:20:59,583::INFO::[_cplogging:55] [04/Dec/2011:16:20:59] ENGINE Serving on ::1:9095
2011-12-04 16:20:59,690::INFO::[_cplogging:55] [04/Dec/2011:16:20:59] ENGINE Serving on 0.0.0.0:9095
2011-12-04 16:20:59,694::INFO::[_cplogging:55] [04/Dec/2011:16:20:59] ENGINE Bus STARTED

Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-

Posted: December 4th, 2011, 10:34 am
by shypike
There's an error in 0.6.11 when it runs on a Linux that has no IPv6 support at all.
It will be addressed in 0.6.12.
In the mean time, don't use 0.0.0.0 but an empty host address.
You won't have binding to "localhost", but only to the public IP.

Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-

Posted: December 5th, 2011, 3:16 pm
by Bezerk
I get the following error on SL 6.1 since version SABnzbd-0.6.11 and SABnzbd-0.6.12:

Code: Select all

Exception in thread HTTPServer Thread-9:
Traceback (most recent call last):
  File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/share/SABnzbd/cherrypy/process/servers.py", line 75, in _start_http_thread
    self.httpserver.start()
  File "/usr/share/SABnzbd/cherrypy/wsgiserver/__init__.py", line 1644, in start
    raise socket.error, msg
error: [Errno 97] Address family not supported by protocol
I downgrade back to: SABnzbd-0.6.10-2 and everything is working oké.
Could it be that i disabled ipv6??

Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-

Posted: December 5th, 2011, 3:19 pm
by shypike
Bezerk wrote:I get the following error on SL 6.1 since version SABnzbd-0.6.11 and SABnzbd-0.6.12:
Could it be that i disabled ipv6??
0.6.12 is supposed to solve the missing IPv6 issue.
Which host address do you use?

Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-

Posted: December 5th, 2011, 3:55 pm
by Bezerk
localhost

Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-

Posted: December 6th, 2011, 2:40 am
by shypike
Strange.
Can you do a little experiment?
Start the python interpreter and type in this small program:

Code: Select all

import socket
socket.getaddrinfo('localhost', None)
What is the output that is produced?

Meanwhile, you can use 127.0.0.1 instead of localhost.

Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-

Posted: December 6th, 2011, 6:42 am
by Bezerk
I also edited the file /etc/sysconfig/SABnzbd to use 127.0.0.1 and other the 192.168.0.2 address, but no luck.

This is the output i get:

Code: Select all

[(2, 1, 6, '', ('127.0.0.1', 0)), (2, 2, 17, '', ('127.0.0.1', 0)), (2, 3, 0, '', ('127.0.0.1', 0)), (10, 1, 6, '', ('::1', 0, 0, 0)), (10, 2, 17, '', ('::1', 0, 0, 0)), (10, 3, 0, '', ('::1', 0, 0, 0))]

Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-

Posted: December 6th, 2011, 1:40 pm
by shypike
OK, your system says it listens to IPv6 addresses for localhost ("::1"), while it doesn't support IPv6.
What kind of madness is that?
I'm not blaming you, of course.

I have a work-around for you:
Open the file SABnzbd.py and go to line 495, which reads:

Code: Select all

def all_localhosts():
    """ Return all unique values of localhost """
Change that to:

Code: Select all

def all_localhosts(): return
    """ Return all unique values of localhost """
    return ['127.0.0.1']

Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-

Posted: December 7th, 2011, 2:04 am
by Hansvon
I deleted 0.6.11 and 12 in the repository. Run "yum downgrade SABnzbd" if you're having problem with these versions...

Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-

Posted: December 7th, 2011, 3:07 am
by shypike
Hans:
Can you check whether the 0.6.13 release resolves the issue?
I gave up and disabled the feature altogether.
So it will listen only to the preferred localhost IP.

Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-

Posted: December 7th, 2011, 5:18 am
by Hansvon
Where is 0.6.13 available? Anyway, it's better for Bezerk to check...

Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-

Posted: December 7th, 2011, 7:27 am
by shypike
In the location for release testers.
I'll add Bezerk and you.

Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-

Posted: December 7th, 2011, 3:45 pm
by Bezerk
I am running Scientific Linux 6.1. I disable ipv6 by creating a config file under /etc/modprobe.d with the following contents:

Code: Select all

options ipv6 disable=1
I will wait for version 0.6.13

Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-

Posted: January 27th, 2012, 2:22 pm
by rominimbourg
The Fedora repository seems to be down :-(

Posted: January 27th, 2012, 2:34 pm
by Hansvon
Files are hosted on my Dropbox account: http://dl.dropbox.com/u/14500830/SABnzbd/index.html
fedora-sabnzbd.dyndns.org should redirect there (WebHop)). I don't know what's wrong now.