Search found 9 matches

by diedjee
March 12th, 2014, 5:39 pm
Forum: General Help
Topic: SABnzbd 0.7.16 and Fedora 20 updated init scripts
Replies: 7
Views: 5375

Re: SABnzbd 0.7.16 and Fedora 20 updated init scripts

That is correct, liquefry.

Code: Select all

systemctl enable SABnzbd@john.service
will install the service.

You can see the status of the process using

Code: Select all

systemctl status SABnzbd@john.service
.

Fedora also has a GUI for configuring your services called Service configuration.
The binary is named

Code: Select all

serviceconf
.
by diedjee
February 13th, 2014, 7:57 am
Forum: Bug Reports
Topic: Unrar Zombie Process - Fedora 19 - v0.7.16
Replies: 11
Views: 9309

Re: Unrar Zombie Process - Fedora 19 - v0.7.16

Yep, totally a race condition. Check this snippet without a wait. No zombie process while waiting for stdin: import subprocess import re import sys def unrar_check(rar): """ Return True if correct version of unrar is found """ if rar: try: p = subprocess.Popen(rar, stdo...
by diedjee
February 12th, 2014, 9:55 am
Forum: Bug Reports
Topic: Unrar Zombie Process - Fedora 19 - v0.7.16
Replies: 11
Views: 9309

Re: Unrar Zombie Process - Fedora 19 - v0.7.16

Yes, replace the subprocess line with the three-liner: p = subprocess.Popen(rar, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) version = p.stdout.read() p.wait() This will block if the process refuses to close. That behavior is already present: most probably the read on stdout would al...
by diedjee
February 12th, 2014, 9:07 am
Forum: Bug Reports
Topic: Unrar Zombie Process - Fedora 19 - v0.7.16
Replies: 11
Views: 9309

Re: Unrar Zombie Process - Fedora 19 - v0.7.16

Adding a wait fixes rar-test.py: import subprocess import re import sys def unrar_check(rar): """ Return True if correct version of unrar is found """ if rar: try: p = subprocess.Popen(rar, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) version = p.stdout.r...
by diedjee
February 12th, 2014, 8:38 am
Forum: Bug Reports
Topic: Unrar Zombie Process - Fedora 19 - v0.7.16
Replies: 11
Views: 9309

Re: Unrar Zombie Process - Fedora 19 - v0.7.16

Output is # sudo -u sabnzbd python rar-test.py `which unrar` 4 20 True No zombie process is running afterwards. This is normal behavior: the calling process has finished execution. (Check the wikipedia entry for the definition of zombie process) When I modify your python script as follows, the zombi...
by diedjee
February 12th, 2014, 7:36 am
Forum: Bug Reports
Topic: Unrar Zombie Process - Fedora 19 - v0.7.16
Replies: 11
Views: 9309

Re: Unrar Zombie Process - Fedora 19 - v0.7.16

Already using the one from rpmfusion: $ yum info unrar Installed Packages Name : unrar Arch : x86_64 Version : 4.2.4 Release : 4.fc19 Size : 217 k Repo : installed From repo : rpmfusion-nonfree-updates Summary : Utility for extracting, testing and viewing RAR archives URL : http://www.rarlab.com/rar...
by diedjee
February 12th, 2014, 12:29 am
Forum: Bug Reports
Topic: Unrar Zombie Process - Fedora 19 - v0.7.16
Replies: 11
Views: 9309

Unrar Zombie Process - Fedora 19 - v0.7.16

Immediately after launching sabnzbd 0.7.16, a zombie unrar process appears in my process list. No downloads were scheduled in my queue. Sabnzbd is idling. I'm running Fedora 19, kernel 3.12.9. process list: # ps aux | grep sabnzbd | grep -v grep root 7087 0.0 0.0 206872 3420 pts/4 S+ 06:20 0:00 sudo...
by diedjee
October 17th, 2013, 1:09 pm
Forum: General Help
Topic: SOLVED - Unable to find sabnzbd in Fedora repo
Replies: 4
Views: 3485

Re: SOLVED - Unable to find sabnzbd in Fedora repo

I also got SABnzbd running on Fedora using the instructions on the wiki. In addition, I made some changes to the daemon scripts to make things more robust/simpler. I noticed that starting/stopping the SABnzbd daemon didn't work (anymore) since nc -z for port scanning is not supported anymore. Additi...
by diedjee
December 22nd, 2010, 2:04 pm
Forum: Bug Reports
Topic: [minor bug] sab crashes when launched from within non-existing directory
Replies: 1
Views: 1919

[minor bug] sab crashes when launched from within non-existing directory

Version: 0.5.6 OS: Ubuntu Linux (2.6.32-26-generic #48-Ubuntu SMP Wed Nov 24 09:00:03 UTC 2010 i686 GNU/Linux) Install-type: linux repository Skin: Smpl (n/a) Firewall Software: None Are you using IPV6? no Is the issue reproducible? yes When sabnzbd is started from the console from a deleted directo...