Par2 not found - UNIX

Support for the Debian/Ubuntu package, created by JCFP.
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
larsc
Newbie
Newbie
Posts: 1
Joined: January 17th, 2012, 3:49 pm

Par2 not found - UNIX

Post by larsc »

hi,

for 2 days i am trying to install sabnzbd on my NAS.
Yesterday i got it working, but PAR2, unzip etc won't work... i allways get the following errors:

par2 binary... NOT found!
unrar binary... NOT found
unzip binary... NOT found!


I have been looking around google and this forum for a solutions, but i just can't get it working.
Many times i see a post which says to change the PATH. But i dont know where to do this?

I think i need to change /etc/init.d/sabnzbd but i dont know what to add and where.

Currently i have:

Code: Select all

#!/bin/sh
case "$1" in
start)
  echo "Starting SABnzbd."
  /opt/bin/python2.5 /opt/share/SABnzbd/SABnzbd.py -d -f /etc/SABnzbd/sabnzbd.ini;
stop)
  echo "Shutting down SABnzbd."
  /usr/bin/wget -q --delete-after "http://192.168.1.9:7777/sabnzbd/api?mode=shutdown"
;;
*)
  echo "Usage: $0 {start|stop}"
  exit 1
esac
exit 0
Can someone help me with this problem?

Thanks in advance!
User avatar
jcfp
Release Testers
Release Testers
Posts: 1022
Joined: February 7th, 2008, 12:45 pm

Re: Par2 not found - UNIX

Post by jcfp »

First thing is to make sure par2/unrar/unzip are installed at all, and in what directory. Then you add a line to that init script (near the top), so that the PATH includes that directory by the time the program gets started. Top secret documentation here.
Post Reply