Unrar works fine, until I reboot

Support for the Debian/Ubuntu package, created by JCFP.
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
Retral
Newbie
Newbie
Posts: 3
Joined: March 10th, 2013, 12:31 am

Unrar works fine, until I reboot

Post 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? :)
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: Unrar works fine, until I reboot

Post by sander »

What is the output of

Code: Select all

ll /usr/bin/unrar*
post it here
Retral
Newbie
Newbie
Posts: 3
Joined: March 10th, 2013, 12:31 am

Re: Unrar works fine, until I reboot

Post 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*
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: Unrar works fine, until I reboot

Post 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
Retral
Newbie
Newbie
Posts: 3
Joined: March 10th, 2013, 12:31 am

Re: Unrar works fine, until I reboot

Post by Retral »

Fixed it! You're awesome - thanks!

Still pretty new to linux
Post Reply