You are not logged in.
Today I proceeded with the upgrade to virtualbox-ose-2.0.2, only to find out that it is not working anymore.
I initially got this error:
$> VirtualBox
VirtualBox: SUPR3HardenedMain: effective uid is not root (euid=1001 egid=100 uid=1001 gid=100)
But even if I sudo the command or if I chmod 4511 the executable, id doesn't start, but the error is now this:
$> sudo VirtualBox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: /usr/lib/virtualbox/VirtualBox.so: cannot open shared object file: No such file or directory
I checked inside /usr/lib/virtualbox and the files are indeed missing:
$> ls -la /usr/lib/virtualbox
total 3576
drwxr-xr-x 3 root root 4096 2008-09-18 02:43 .
drwxr-xr-x 120 root root 73728 2008-09-18 11:33 ..
-rwxr-xr-x 1 root root 16856 2008-09-18 02:43 VBoxBFE
lrwxrwxrwx 1 root root 13 2008-09-18 02:43 VBoxBFE.so -> ../VBoxBFE.so
lrwxrwxrwx 1 root root 12 2008-09-18 02:43 VBoxDD.so -> ../VBoxDD.so
lrwxrwxrwx 1 root root 13 2008-09-18 02:43 VBoxDD2.so -> ../VBoxDD2.so
-rw-r--r-- 1 root root 9610 2008-09-18 02:43 VBoxDD2GC.gc
-rw-r--r-- 1 root root 9679 2008-09-18 02:43 VBoxDD2R0.r0
-rw-r--r-- 1 root root 42681 2008-09-18 02:43 VBoxDDGC.gc
-rw-r--r-- 1 root root 42112 2008-09-18 02:43 VBoxDDR0.r0
lrwxrwxrwx 1 root root 13 2008-09-18 02:43 VBoxDDU.so -> ../VBoxDDU.so
lrwxrwxrwx 1 root root 22 2008-09-18 02:43 VBoxGuestPropSvc.so -> ../VBoxGuestPropSvc.so
-rwxr-xr-x 1 root root 16856 2008-09-18 02:43 VBoxHeadless
lrwxrwxrwx 1 root root 18 2008-09-18 02:43 VBoxHeadless.so -> ../VBoxHeadless.so
lrwxrwxrwx 1 root root 18 2008-09-18 02:43 VBoxKeyboard.so -> ../VBoxKeyboard.so
lrwxrwxrwx 1 root root 19 2008-09-18 02:43 VBoxKeyboard3.so -> ../VBoxKeyboard3.so
-rwxr-xr-x 1 root root 699628 2008-09-18 02:43 VBoxManage
lrwxrwxrwx 1 root root 16 2008-09-18 02:43 VBoxPython.so -> ../VBoxPython.so
lrwxrwxrwx 1 root root 13 2008-09-18 02:43 VBoxREM.so -> ../VBoxREM.so
lrwxrwxrwx 1 root root 16 2008-09-18 02:43 VBoxREMImp.so -> ../VBoxREMImp.so
lrwxrwxrwx 1 root root 12 2008-09-18 02:43 VBoxRT.so -> ../VBoxRT.so
-rwxr-xr-x 1 root root 16856 2008-09-18 02:43 VBoxSDL
lrwxrwxrwx 1 root root 13 2008-09-18 02:43 VBoxSDL.so -> ../VBoxSDL.so
-rwxr-xr-x 1 root root 1372908 2008-09-18 02:43 VBoxSVC
lrwxrwxrwx 1 root root 18 2008-09-18 02:43 VBoxSettings.so -> ../VBoxSettings.so
lrwxrwxrwx 1 root root 25 2008-09-18 02:43 VBoxSharedClipboard.so -> ../VBoxSharedClipboard.so
lrwxrwxrwx 1 root root 23 2008-09-18 02:43 VBoxSharedFolders.so -> ../VBoxSharedFolders.so
lrwxrwxrwx 1 root root 22 2008-09-18 02:43 VBoxSharedOpenGL.so -> ../VBoxSharedOpenGL.so
-rwxr-xr-x 1 root root 5804 2008-09-18 02:43 VBoxTunctl
lrwxrwxrwx 1 root root 13 2008-09-18 02:43 VBoxVMM.so -> ../VBoxVMM.so
lrwxrwxrwx 1 root root 15 2008-09-18 02:43 VBoxXPCOM.so -> ../VBoxXPCOM.so
-rwxr-xr-x 1 root root 23772 2008-09-18 02:43 VBoxXPCOMIPCD
-rw-r--r-- 1 root root 405278 2008-09-18 02:43 VMMGC.gc
-rw-r--r-- 1 root root 508236 2008-09-18 02:43 VMMR0.r0
-rwxr-xr-x 1 root root 16956 2008-09-18 02:43 VirtualBox
drwxr-xr-x 2 root root 40 2008-09-18 02:43 components
-rwxr-xr-x 1 root root 11896 2008-09-18 02:43 vditool
-rwxr-xr-x 1 root root 76496 2008-09-18 02:43 xpidl
BTW shouldn't the directory be /opt/virtualbox?
I also tried to uninstall virtualbox with all its dependencies, check for resident files on the hd (a "locate -ie virtualbox" only showed my ~/.VirtualBox files) and reinstall and I'm still stuck at the same point.
PS: I am in the vboxusers group and I also tried to reboot.
Thanks in advance.
Offline
Same problem here actually.
Offline
Yep, same here too.
Offline
I've got exactly the same problem described by ryosaeba83
Offline
At least the closed source edition works fine.
arch(3) adj amused because you think you understand something better than other people ;P
Offline
same here ...
Offline
me too
Offline
When I start VirtualBox:
VirtualBox: SUPR3HardenedMain: effective uid is not root (euid=1000 egid=100 uid=1000 gid=100)
When started as root:
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: /usr/lib/virtualbox/VirtualBox.so: cannot open shared object file: No such file or directory
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Offline
if you are getting this error while running virtualbox2:
VirtualBox: SUPR3HardenedMain: effective uid is not root (euid=1000 egid=100 uid=1000 gid=100)
then do chmod 4511 to /path/virtualbox/VirtualBox, VBoxSDL and VBoxHeadless within that directory.
notice that is a feature not a bug.
Last edited by wonder (2008-09-19 08:15:18)
Give what you have. To someone, it may be better than you dare to think.
Offline
if you are getting this error while running virtualbox2:
VirtualBox: SUPR3HardenedMain: effective uid is not root (euid=1000 egid=100 uid=1000 gid=100)
then do chmod 4511 to /path/virtualbox/VirtualBox, VBoxSDL and VBoxHeadless within that directory.
notice that is a feature not a bug.
I thought that was a solution and upgraded Virtualbox. Now it doesn't work anymore D: (same error as OP)
Offline
Offline
This is still unsolved, I switched to virtualbox_bin for now...
Why is it unsolved? Use virtualbox_bin instead of virtualbox-ose, what is difference between both packages?
Sorry for my bad English.
Offline
They don't have the same license, you have to manually rebuild the vboxdrv module at every kernel upgrade since there isn't a separated virtualbox-modules and also virtualbox_bin is in AUR.
virtualbox_bin is a temporary workaround, not a solution. virtualbox-ose is still not working.
Offline
They are 2 different editions of VirtualBox. One is the open-source one, and the other is closed-source, commercial, but free for personal use and evaluation.
They're naturally, 2 different programs (although largely similar). One has features the other one doesn't.
Last edited by moljac024 (2008-09-19 14:36:47)
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
notice that is a feature not a bug.
So why is this a feature?
Offline
don't ask me. ask devs on #vbox @ freenode
Give what you have. To someone, it may be better than you dare to think.
Offline
and the other is closed-source, commercial, but free for personal use and evaluation.
I use Virtual Box at my work but only I use it.
Sorry for my bad English.
Offline
wonder wrote:notice that is a feature not a bug.
So why is this a feature?
I also don't get it
I reported a bug, please vote:
http://bugs.archlinux.org/task/11528?project=5
Cheers.
Offline
..... what is difference between both packages?
One advantage with virtualbox_bin, you can use your usb devices (storage, printer, etc.).
Markku
Offline
A full reinstall cleared things up for me here. I figure some configuration had been trying to pull down /usr/lib/virtualbox/VirtualBox.so, when the latest has it in /usr/lib/. Starts up fine now.
Offline
The release virutalbox-ose doesn't work is cause i think the maintainer forgot to added VirtualBox.so has a softlink. It needs to be in /usr/lib and /usr/lib/virtualbox for something. But like you said tsweetser, all that needs to be done to get to work is copy VirtualBox.so to /usr/lib/virtualbox.
I'm working on a live cds based on Archlinux. http://godane.wordpress.com/
Offline
If I uninstall virtualbox-ose, will I lose my VMs? Do I need to backup my /home/.Virtualbox folder first? Or is there a fix on the way?
Thanks!
Offline
No you won't lose your VM's
Offline