Unrar and Errno 8 issues

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
DonDon
Newbie
Newbie
Posts: 3
Joined: April 20th, 2019, 4:10 pm

Unrar and Errno 8 issues

Post by DonDon »

All of my downloads keep failing. I have tried to update Unrar as Sabnzbd keeps telling me that I need a new version. I now keep getting the following message:

Your UNRAR version is 0.00, we recommend version 5.00 or higher.

And today, this started happening:

Error "[Errno 8] Exec format error" while running rar_unpack on


I'm a total noob when it comes to this stuff so any help will be greatly appreciated!
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Unrar and Errno 8 issues

Post by sander »

On what OS?
DonDon
Newbie
Newbie
Posts: 3
Joined: April 20th, 2019, 4:10 pm

Re: Unrar and Errno 8 issues

Post by DonDon »

Raspbian
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Unrar and Errno 8 issues

Post by sander »

DonDon wrote: April 21st, 2019, 9:17 amRaspbian
Ah. And how did you install "unrar"? You need "unrar-nonfree" from raspbian.

(this is for debian: https://packages.debian.org/search?sear ... ar-nonfree )

"Exec error" means you downloaded an unrar for another platform/architecture, for example the intel version, which you try to run on your ARM based Raspi. Not good.


After that, check the unrar version you have like this:

Code: Select all

$ unrar | head -3

UNRAR 5.30 beta 2 freeware      Copyright (c) 1993-2015 Alexander Roshal
... that is a good version.
DonDon
Newbie
Newbie
Posts: 3
Joined: April 20th, 2019, 4:10 pm

Re: Unrar and Errno 8 issues

Post by DonDon »

I get the following:

-bash: /usr/bin/unrar: cannot execute binary file: Exec format error


I couldn't find any version of unrar other than the unrar-nonfree version. I can't remember the guide that I used to try an install the nonfree version (I think the guide was outdated) but clearly I either missed a step or I did something incorrectly.

Can you recommend a guide to correctly install this version?
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Unrar and Errno 8 issues

Post by sander »

This is a Raspbian problem, so probably best to get help on the Raspi / Raspbian forum.

unrar-nonfree on Raspbian is quite hard (google it), because of fundamental problems of Debian people with unrar-nonfree.

On Ubuntu, unrar-nonfree is just available with one command. That's why I left Raspi/Raspbian, and switched to ARM-boards with Armbian (=Ubuntu based)
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Unrar and Errno 8 issues

Post by safihre »

Could be a 32bit / 64bit problem?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply