Page 1 of 1

Unrar works fine, until I reboot

Posted: March 10th, 2013, 12:42 am
by Retral
So, using Ubuntu 12.04 with sabnzbdplus + unrar-nonfree.. Sabnzbd+ works great until the server reboots.

When I install:

Code: Select all

Setting up sabnzbdplus (0.7.11-0ubuntu1~jcfp1~precise) ...
 * Starting SABnzbd+ binary newsgrabber                                                      [ OK ]
Setting up sabnzbdplus-theme-classic (0.7.11-0ubuntu1~jcfp1~precise) ...
Setting up sabnzbdplus-theme-smpl (0.7.11-0ubuntu1~jcfp1~precise) ...
Setting up unrar (1:4.0.3-1) ...
update-alternatives: using /usr/bin/unrar-nonfree to provide /usr/bin/unrar (unrar) in auto mode.
update-alternatives: warning: not replacing /usr/bin/unrar with a link.
Fully configured and everything, sabnzbd is accessible from browser & functions 100%. No unrar error messages.

Then, after the server reboots:

1 Warnings ⋅ No UNRAR program found, unpacking RAR files is not possible

If I remove/reinstall unrar & sabnzbdplus, it works just fine; until the server reboots again. I'm guessing/hoping this is a simple fix related to "update-alternatives: warning: not replacing /usr/bin/unrar with a link."

Could I get some help please? :)

Re: Unrar works fine, until I reboot

Posted: March 10th, 2013, 1:48 am
by sander
What is the output of

Code: Select all

ll /usr/bin/unrar*
post it here

Re: Unrar works fine, until I reboot

Posted: March 10th, 2013, 3:10 am
by Retral
sander wrote:What is the output of

Code: Select all

ll /usr/bin/unrar*
post it here

Code: Select all

-rw-r--r-- 1 root root 201144 Mar 10 08:55 /usr/bin/unrar
-rwxr-xr-x 1 root root 200496 Jan  4  2011 /usr/bin/unrar-nonfree*

Re: Unrar works fine, until I reboot

Posted: March 10th, 2013, 3:14 am
by sander
Assuming /usr/bin/unrar is the free, not-so-good version (hey, strange: it is non-executable?), you could do this:

Code: Select all

sudo mv /usr/bin/unrar /usr/bin/unrar-notwanted
sudo cp /usr/bin/unrar-nonfree /usr/bin/unrar
and try again

Re: Unrar works fine, until I reboot

Posted: March 10th, 2013, 3:30 am
by Retral
Fixed it! You're awesome - thanks!

Still pretty new to linux