Help with unrar on Fedora12 arm5vtel
Forum rules
Help us help you:
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.
Help with unrar on Fedora12 arm5vtel
Hi guys,
you are my last beacon of hope. I am pretty much a noob with linux, and i have a problem i just can t figure out on my own.
I m running a NAS (Silverstone DC01) with ARM11 CPU and Fedora12. My goal is sichbeard and sabnzbd and with my limited skills i got pretty far.
- ssh with root
- YUM is running
- Python
- Cheetah
- Sickbeard is running great
- SABnzbd runs
But one last problem. UNRAR. And as you can imagine, the whole setup is pretty useless without unrar.
I can t find a matching packet of unrar for my system. YUM doesn t have it. My source for rpms (http://ftp.linux.org.uk/pub/linux/arm/f ... /Packages/) has no unrar ether.
Next thing i tried was the rarlab site. There is a ARM version available (http://www.rarlab.com/rar_add.htm), but that just quits with "lib/ld-linux.so.2: bad ELF interpreter", so i guess it s not compatible to my Fedora12 setup.
I also tried to compile it myself but since it is a small NAS i have only 20MB free space on the 200MB Flash drive and the packets to compile use at least 20MB ...
So i am stuck and i don t know what to do now. I got so far and now give up because unrar? No way. So i need your help. Any ideas?
you are my last beacon of hope. I am pretty much a noob with linux, and i have a problem i just can t figure out on my own.
I m running a NAS (Silverstone DC01) with ARM11 CPU and Fedora12. My goal is sichbeard and sabnzbd and with my limited skills i got pretty far.
- ssh with root
- YUM is running
- Python
- Cheetah
- Sickbeard is running great
- SABnzbd runs
But one last problem. UNRAR. And as you can imagine, the whole setup is pretty useless without unrar.
I can t find a matching packet of unrar for my system. YUM doesn t have it. My source for rpms (http://ftp.linux.org.uk/pub/linux/arm/f ... /Packages/) has no unrar ether.
Next thing i tried was the rarlab site. There is a ARM version available (http://www.rarlab.com/rar_add.htm), but that just quits with "lib/ld-linux.so.2: bad ELF interpreter", so i guess it s not compatible to my Fedora12 setup.
I also tried to compile it myself but since it is a small NAS i have only 20MB free space on the 200MB Flash drive and the packets to compile use at least 20MB ...
So i am stuck and i don t know what to do now. I got so far and now give up because unrar? No way. So i need your help. Any ideas?
Re: Help with unrar on Fedora12 arm5vtel
In March this year, I had a FCxyz running on QEMU emulating the Raspi. I then created a unrar in the virtual machine. See the result here: http://www.appelboor.com/dump/unrar-rpm ... berry-arm/
So ... does that work on your ARM machine ... ?
So ... does that work on your ARM machine ... ?
Re: Help with unrar on Fedora12 arm5vtel
I get "illegal instruction" as the result.
Re: Help with unrar on Fedora12 arm5vtel
No ideas? 
Re: Help with unrar on Fedora12 arm5vtel
Are you really looking for "ideas"? If so, read the words in the first line of my post; they should give you hints.Flakes wrote:No ideas?
But based on your short reply on 24 Oct 2012, I got the idea you're not too cooperative.
Re: Help with unrar on Fedora12 arm5vtel
Well, it s not that i am not trying. To be exact, i am trying two weeks now.
I considered QEMU but i have zero experience with linux. It is a bit over my head. I don t even know where to start with that. So i was hoping for another solution.
I m willing to try anything but if theres not a good tutorial i will probably fail.
I considered QEMU but i have zero experience with linux. It is a bit over my head. I don t even know where to start with that. So i was hoping for another solution.
I m willing to try anything but if theres not a good tutorial i will probably fail.
Re: Help with unrar on Fedora12 arm5vtel
I see that you already posted in a Fedora forum. I think that's a better forum than here in SABnzbd's.
Re: Help with unrar on Fedora12 arm5vtel
I finally found a working rpm, so if anyone else encounters the same problem, here you go: http://c.dyndns.org/repo/bs/el5/armv5tel/
Thanks for the help guys!
----
edit
Oh well, it seems i was too quick. Now i get "WARNING::[newsunpack:611] ERROR: Unknown option" whenever sabnzbd tries to unrar anything.
This is just great.
This is the unrar version that works. Don t tell me it s too old.
https://dl.dropbox.com/u/20115178/unrar2.PNG
Thanks for the help guys!
----
edit
Oh well, it seems i was too quick. Now i get "WARNING::[newsunpack:611] ERROR: Unknown option" whenever sabnzbd tries to unrar anything.
This is just great.
This is the unrar version that works. Don t tell me it s too old.
https://dl.dropbox.com/u/20115178/unrar2.PNG
Re: Help with unrar on Fedora12 arm5vtel
Which version of unrar does it claim to be?
Re: Help with unrar on Fedora12 arm5vtel
The file is "unrar-3.9.4-1.rf.armv5tel.rpm"
When i type unrar it says "Unrar 3.90 Beta 3"
When i type unrar it says "Unrar 3.90 Beta 3"
Re: Help with unrar on Fedora12 arm5vtel
A few things to do:
The most 'easy' thing: find unrar 4.10.
If you can't:
Turn on +Debug in the logging SABnzbd, and run the download again. With Debug on, the sabnzbd.log will show the exact unrar command that SABnzbd is trying to run (see line 555 of newsunpack.py).
Then try that command from the command line. Post the output here. See if it fails, or that SAB just *thinks* it fails. If it really fails, change the command line option to something that does work. Report it here. From line 520 unwards in newsunpack,py find the failing option. Change it in the source, and see if it works.
The most 'easy' thing: find unrar 4.10.
If you can't:
Turn on +Debug in the logging SABnzbd, and run the download again. With Debug on, the sabnzbd.log will show the exact unrar command that SABnzbd is trying to run (see line 555 of newsunpack.py).
Then try that command from the command line. Post the output here. See if it fails, or that SAB just *thinks* it fails. If it really fails, change the command line option to something that does work. Report it here. From line 520 unwards in newsunpack,py find the failing option. Change it in the source, and see if it works.
Re: Help with unrar on Fedora12 arm5vtel
PS:
As a test, I'm now running SABnzbd 0.7.4 on Ubuntu 8.04 LTS which has UNRAR 3.71, and SAB's main screen says:
EDIT:
I downloaded a 500 MB post with SAB 0.7.4 with mentioned UNRAR 3.71 beta 1 freeware, and ... no problem at all.
So ... can you try other posts, and see if they work OK with your unrar 3.9?
As a test, I'm now running SABnzbd 0.7.4 on Ubuntu 8.04 LTS which has UNRAR 3.71, and SAB's main screen says:
Don't you get that warning?Your UNRAR version is not recommended, get it from http://www.rarlab.com/rar_add.htm
EDIT:
I downloaded a 500 MB post with SAB 0.7.4 with mentioned UNRAR 3.71 beta 1 freeware, and ... no problem at all.
So ... can you try other posts, and see if they work OK with your unrar 3.9?
Re: Help with unrar on Fedora12 arm5vtel
Hey.
First: thanks for your help. I really appreciate it.
The problem seems to be unrar, not sabnzdb. If i try to unrar anything from the command line unrar quits with "segmentation fault". So my unrar seems either to be broken or not compatible at all.
"unrar --help" works fine but as soon as i am trying to unpack anything i get the segmentation fault error.
Back to square one, i guess. :/
First: thanks for your help. I really appreciate it.
The problem seems to be unrar, not sabnzdb. If i try to unrar anything from the command line unrar quits with "segmentation fault". So my unrar seems either to be broken or not compatible at all.
"unrar --help" works fine but as soon as i am trying to unpack anything i get the segmentation fault error.
Back to square one, i guess. :/
Re: Help with unrar on Fedora12 arm5vtel
Pity.
Can't upgrade the whole NAS to a more recent Fedora that has a supported unrar version?
Can't upgrade the whole NAS to a more recent Fedora that has a supported unrar version?
Re: Help with unrar on Fedora12 arm5vtel
Phew... I did it. Qemu after all.
I am so happy now. Sander do you have paypal? I want to buy you a beer.
I am so happy now. Sander do you have paypal? I want to buy you a beer.

