Page 1 of 1

SABnzbd on FreeNAS - No PAR2 program found, repairs not poss

Posted: October 1st, 2011, 6:00 am
by Batou222
Hi Guys,

I have followed this guide: http://sourceforge.net/apps/phpbb/freen ... 618#p53542

And mostly has gone to plan, I now have SABnzbd installed on my new FreeNAS system, however it seems that 3 of the components have not installed:

When Type Warning
2011-10-01 20:37:46,925 WARNING: unzip binary... NOT found!
2011-10-01 20:37:46,925 WARNING: unrar binary... NOT found
2011-10-01 20:37:46,925 ERROR: par2 binary... NOT found!

Here is the system details:
SABnzbd Version: 0.6.9
OS: FreeNAS (FreeBSD)
Install-type: python source
Skin (if applicable): Default, Plush
Firewall Software: None
Are you using IPV6? no
Is the issue reproducible? yes

I'm launching the application via the following script:

Code: Select all

#!/usr/local/bin/bash
#startup.sh
PATH=$PATH:/mnt/Data/downloaders/bin
PYTHONPATH="/mnt/Data/downloaders/lib/python2.7/site-packages" /usr/local/bin/python 
/mnt/Data/downloaders/SABnzbd/SABnzbd.py -d -f /mnt/Data/downloaders/sabconfig/sabnzbd.ini -s 0.0.0.0:8085
/mnt/Data/downloaders/bin contains:
./ cheetah-analyze* par2* par2verify* unzipsfx*
../ cheetah-compile* par2create* unrar* zipgrep*
cheetah* funzip* par2repair* unzip* zipinfo@


I fetched the installers from here:

Code: Select all

fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/py27-cheetah.tbz ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/py27-openssl.tbz ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/py27-yenc.tbz ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/unrar.tbz ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/unzip.tbz ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/par2cmdline.tbz


I also tried:

Code: Select all

pkg_add -r par2cmdline
which gives this result:
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports ... lease/Late
bin/par2: Could not unlink
bin/par2create: Could not unlink
bin/par2repair: Could not unlink
bin/par2verify: Could not unlink
share/licenses/par2cmdline-0.4_3/catalog.mk: Failed to create dir 'share/license hare/licenses/par2cmdline-0.4_3/catalog.mk'
share/licenses/par2cmdline-0.4_3/LICENSE: Failed to create dir 'share/licenses/p e/licenses/par2cmdline-0.4_3/LICENSE'
share/licenses/par2cmdline-0.4_3/GPLv2: Failed to create dir 'share/licenses/par licenses/par2cmdline-0.4_3/GPLv2'
tar: Error exit delayed from previous errors.
pkg_add: leave_playpen: can't chdir back to ''


Any Ideas? Am I using the wrong installers or locations somewhere along the line?

Appreciate any help in advance, complete Linux n00b here.

Cheers,
Batou

Re: SABnzbd on FreeNAS - No PAR2 program found, repairs not

Posted: October 1st, 2011, 6:33 am
by shypike
Did you run the pkg command with the right priviliges?
So, like:
sudo pkg-add .....
after which the system will ask you the root password.

Re: SABnzbd on FreeNAS - No PAR2 program found, repairs not

Posted: October 1st, 2011, 7:12 am
by Batou222
yes I was running logged in as the root
All sorted,
Just updated to FreeNAS-8.0.1-RELEASE from FreeNAS-8.0.1-RC2 and I can now run pkg-add without errors and have added the 3 missing packages!
Downloaded FreeNAS-8.0.1-RC2 yesterday, wish I had seen the upgrade a few hours earlier...
Thanks anyway mate!

Re: SABnzbd on FreeNAS - No PAR2 program found, repairs not

Posted: October 5th, 2011, 3:33 pm
by pmow
Should probably be in the freebsd forum. I'm building one out this week, will make a wiki guide step by step 8)

Re: SABnzbd on FreeNAS - No PAR2 program found, repairs not

Posted: August 1st, 2012, 9:30 am
by Roghog
anyone find a solution to this problem? i just got this while installing freenas last night