Effective UID is not root . Please try reinstalling VB.

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Akshayj
Posts: 4
Joined: 22. Mar 2016, 13:03

Effective UID is not root . Please try reinstalling VB.

Post by Akshayj »

I had been using VirtualBox for last two months, and do not know much in detail. I somehow installed it in Ubuntu 14.04 LTS.
I installed Winodws7 in the Virtual box.

Now I required to use the USB ports, so was trying to install the extension pack.
While extension packs installation I was getting following error

Code: Select all

failed to load the main module ('/usr/lib/virtualbox/extensionpacks/oracle_vm_virtualbox_extension_pack/linux.amd64/vboxpuelmain.so')
 verr_file_not_found - /usr/lib/virtualbox/extensionpacks/oracle_vm_virtualbox_extension_pack/linux.amd64/vboxpuelmain.so undefined symbol rtlogrelgetdefaultinstanceex
I googled it, and found, it had something to do with root permissions.
So, I checked that /usr/lib/virtualbox was set to root permissions, and thus I was not able to install the extension pack.

Then I did a blunder by doing the following:

Code: Select all

chown -R akki /usr/lib/virtualbox/
Now, when I open the virtualbox it shows me the following error.

Code: Select all

Effective UID is not root (euid=1001 egid=1001 uid=1001 gid=1001) (rc=-10)
Please try reinstalling VirtualBox.

where: SUPR3HardenedMain
what:  2
VERR_PERMISSION_DENIED (-10) - Permission denied.
Please help me! I have a lot of my codes in the Virtual Box Windows7 OS. I need to recover them.
Also, When I open Virtualbox as a root from the terminal, It opens, but there is no Windows7 virtual machine visible.

PLEASE HELP. :(
Akshayj
Posts: 4
Joined: 22. Mar 2016, 13:03

Re: Effective UID is not root . Please try reinstalling VB.

Post by Akshayj »

I was looking for a way to solve the problem. I came across a solution and did the following,

Code: Select all

chmod 4711 /usr/lib/virtualbox/Virtualbox
It worked. Now I am able to open VirtualBox with Windows7 in it.
But, still I am not able to install the extension pack.
Please Help.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Effective UID is not root . Please try reinstalling VB.

Post by Perryg »

Post the guests log file ( as an attachment ). Right click on the guest in the Main Manager then click show log. Save and post as an attachment. Compress if it is too large to post.
Akshayj
Posts: 4
Joined: 22. Mar 2016, 13:03

Re: Effective UID is not root . Please try reinstalling VB.

Post by Akshayj »

Thanks for your reply.
Please find the log file as an attachment.
Attachments
akki-2016-03-22-17-35-37.log
Log file
(57.48 KiB) Downloaded 142 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Effective UID is not root . Please try reinstalling VB.

Post by Perryg »

Code: Select all

00:00:00.155755 Package type: LINUX_64BITS_GENERIC (OSE)
You are running the Ubuntu fork of VirtualBox which we do not support. You have two choices here. Seek assistance from them or remove theirs and install the official build from virtualbox.org.
Akshayj
Posts: 4
Joined: 22. Mar 2016, 13:03

Re: Effective UID is not root . Please try reinstalling VB.

Post by Akshayj »

Okay. :(

I will try to get a response from Ubuntu forums in that case.
In case the problem still remains I will reinstall the official build.

Meanwhile if by chance you find a solution for the Ubuntu build, please let me know.
Thanks a lot.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Effective UID is not root . Please try reinstalling VB.

Post by Perryg »

Well that's the real trick isn't it. Only they know what they have changed in the official source to do what ever it is they wanted to achieve. That's the reason we can't support it. No idea what to tell you to do.
Post Reply