Page 1 of 1

Par2 not found - UNIX

Posted: January 17th, 2012, 3:56 pm
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!

Re: Par2 not found - UNIX

Posted: January 19th, 2012, 8:17 am
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.