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

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
geolaw
Newbie
Newbie
Posts: 1
Joined: November 3rd, 2013, 1:34 pm

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

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

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

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