RPM for Fedora and RHEL/CentOS/Scientific Linux 5-7

Get help with all aspects of SABnzbd
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
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

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

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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.
Bezerk
Newbie
Newbie
Posts: 4
Joined: December 5th, 2011, 2:38 pm

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

Post 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??
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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?
Bezerk
Newbie
Newbie
Posts: 4
Joined: December 5th, 2011, 2:38 pm

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

Post by Bezerk »

localhost
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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.
Bezerk
Newbie
Newbie
Posts: 4
Joined: December 5th, 2011, 2:38 pm

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

Post 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))]
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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']
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

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

Post by Hansvon »

I deleted 0.6.11 and 12 in the repository. Run "yum downgrade SABnzbd" if you're having problem with these versions...
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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.
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

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

Post by Hansvon »

Where is 0.6.13 available? Anyway, it's better for Bezerk to check...
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post by shypike »

In the location for release testers.
I'll add Bezerk and you.
Bezerk
Newbie
Newbie
Posts: 4
Joined: December 5th, 2011, 2:38 pm

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

Post 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
rominimbourg
Newbie
Newbie
Posts: 2
Joined: September 10th, 2011, 10:39 am

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

Post by rominimbourg »

The Fedora repository seems to be down :-(
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Post 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.
Post Reply