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

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
Batou222
Newbie
Newbie
Posts: 2
Joined: October 1st, 2011, 5:48 am

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

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

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

Post 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.
Batou222
Newbie
Newbie
Posts: 2
Joined: October 1st, 2011, 5:48 am

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

Post 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!
pmow
Release Testers
Release Testers
Posts: 57
Joined: May 15th, 2009, 6:09 pm
Location: Florida

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

Post 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)
Roghog
Newbie
Newbie
Posts: 1
Joined: August 1st, 2012, 9:27 am

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

Post by Roghog »

anyone find a solution to this problem? i just got this while installing freenas last night
Post Reply