Page 1 of 1
par2 error in ARM Linux
Posted: March 1st, 2010, 3:44 pm
by freeze
Hi,
I have been running SABnzbd for ages on my QNAP NAS. I had some problems with the release candidates' par checking (the WindowsError not defined one, that was reported by someone else). Lately I switched to 0.5.0 final and now par checking and repairing seems to be completely broken for me.
The error I get through the Web Interface is:
Reparing failed. [Errno 8] Exec format error
I looked at the logs but couldn't find anything really...do you have any ideas?
Thanks
Re: par2 error in ARM Linux
Posted: March 1st, 2010, 3:50 pm
by shypike
I suspect that is what the OS reports when SABnzbd launches par2 and the OS doesn't like it.
Did you get this from a QNAP repository?
If so, please report this to the QNap package creators,
we are not in a position to support NAS systems.
Re: par2 error in ARM Linux
Posted: March 1st, 2010, 5:02 pm
by freeze
Hello shypike,
thanks for the quick reply...
No, I am actually not using the QNAP package system (QPKG). This was a manual install with python from an optware feed. Did anything change concerning the par2 execution? It used to work quite well until now...
Thanks
freeze
Re: par2 error in ARM Linux
Posted: March 2nd, 2010, 3:59 am
by shypike
Have you tried to run the par2 utility separately?
Re: par2 error in ARM Linux
Posted: March 2nd, 2010, 12:09 pm
by freeze
I actually use par2 quite often from the command line and never had any problems. It also worked without problems in 0.4.x, so I suspected a change in the code that calls the command. I disabled the par2 quick checking yesterday to see if that made any difference, but sadly it didn't
edit:
on a side note:
my par2 is actually a script which calls the original par2 containing
Code: Select all
/share/MD0_DATA/optware/lib/ld-linux.so.3 --library-path /share/MD0_DATA/optware/lib /opt/bin/par2.run "$@"
I use this because of different library versions...could this be the culprit? Would this be fixable?
Many thanks
Re: par2 error in ARM Linux
Posted: March 2nd, 2010, 1:15 pm
by shypike
I hope the first line of the script is the shebang, else the OS won't know what to do with it.
Or something like that.
Don't forget to do a chmod +x
(
http://en.wikipedia.org/wiki/Shebang_%28Unix%29)
Re: par2 error in ARM Linux
Posted: March 2nd, 2010, 2:35 pm
by freeze
no actually that was the complete script I have been using for quite some time now (instead of using a chroot environment for my optware)
I have just switched to another optware feed though which makes it possible to use par2 without these modifications AND without chroot...will report back as soon as I get something downloaded
Re: par2 error in ARM Linux
Posted: March 3rd, 2010, 11:27 am
by freeze
it works when using the alternative par2 without using a chroot environment...
thanks for you help