Page 1 of 1

fedora 19 /etc/init.d/SABnzbd status fails

Posted: November 3rd, 2013, 1:41 pm
by geolaw
Searched but do not find a mention of this.

The script /etc/init.d/SABnzbd contains :
nc -z $host $port ...

For some reason, the -z option appears to have been dropped from nc

Running the command interactively returns :

glaw@fedora home $ sudo nc -z 192.168.1.6 8082
nc: invalid option -- 'z'
Ncat: Try `--help' or man(1) ncat for more information, usage options and help. QUITTING.

This is in the following package :
glaw@fedora home $ rpm -qf `which nc`
nmap-ncat-6.40-2.fc19.x86_64


One work around that I found uses tcping instead :
I have replaced the nc line with this one :
/usr/bin/tcping -t 1 $host $port &> /dev/null

Hope this helps someone :)

Re: fedora 19 /etc/init.d/SABnzbd status fails

Posted: November 4th, 2013, 6:10 am
by shypike
Thanks for the tip.
Can you report this to the the Fedora packager of SABnzbd too?
We have no involvement with those packages.