You are not logged in.

#1 2008-09-18 09:52:03

ryosaeba83
Package Maintainer (PM)
From: Como (Italy)
Registered: 2008-07-21
Posts: 34
Website

virtualbox 2.0.2 not working

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.


TU id: mtorromeo
My packages: Community, AUR

Offline

#2 2008-09-18 15:06:53

Loke
Member
From: Denmark
Registered: 2005-10-21
Posts: 139

Re: virtualbox 2.0.2 not working

Same problem here actually.

Offline

#3 2008-09-18 15:09:58

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: virtualbox 2.0.2 not working

Yep, same here too.

Offline

#4 2008-09-18 15:46:57

teMplaryum
Member
From: Serbia
Registered: 2007-09-11
Posts: 30
Website

Re: virtualbox 2.0.2 not working

Same here...


Online at:
Twit | Facebook | Blog

Registered Linux user #469726

Offline

#5 2008-09-18 16:16:55

pablooku
Member
From: Gijón, Asturias - SPAIN
Registered: 2008-08-01
Posts: 4
Website

Re: virtualbox 2.0.2 not working

I've got exactly the same problem described by ryosaeba83

Offline

#6 2008-09-18 16:37:42

JeremyTheWicked
Member
From: Poland
Registered: 2008-05-23
Posts: 193

Re: virtualbox 2.0.2 not working

At least the closed source edition works fine.


arch(3) adj amused because you think you understand something better than other people ;P

Offline

#7 2008-09-18 17:41:17

Shodan
Member
From: Finland
Registered: 2008-08-25
Posts: 30

Re: virtualbox 2.0.2 not working

same here ...

Offline

#8 2008-09-18 19:02:27

zukka
Member
From: Bologna Italy
Registered: 2006-06-27
Posts: 26

Re: virtualbox 2.0.2 not working

me too hmm

Offline

#9 2008-09-18 19:49:35

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: virtualbox 2.0.2 not working

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

#10 2008-09-19 05:30:13

Rinaldus
Member
From: Moscow, Russia
Registered: 2008-03-04
Posts: 40
Website

Re: virtualbox 2.0.2 not working

I had the same problem, but I solved it by uninstalling virtualbox-ose, virtualbox-modules packages and installed virtualbox_bin package from AUR. Maybe it will help you.

screenok0.th.jpg


Sorry for my bad English. smile

Offline

#11 2008-09-19 08:14:47

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: virtualbox 2.0.2 not working

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

#12 2008-09-19 12:21:10

rine
Member
From: Germany
Registered: 2008-03-04
Posts: 217

Re: virtualbox 2.0.2 not working

wonder wrote:

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.

sad I thought that was a solution and upgraded Virtualbox. Now it doesn't work anymore D: (same error as OP)

Offline

#13 2008-09-19 12:30:40

ryosaeba83
Package Maintainer (PM)
From: Como (Italy)
Registered: 2008-07-21
Posts: 34
Website

Re: virtualbox 2.0.2 not working

rine wrote:

sad I thought that was a solution and upgraded Virtualbox. Now it doesn't work anymore D: (same error as OP)

This is still unsolved, I switched to virtualbox_bin for now...


TU id: mtorromeo
My packages: Community, AUR

Offline

#14 2008-09-19 13:17:39

Rinaldus
Member
From: Moscow, Russia
Registered: 2008-03-04
Posts: 40
Website

Re: virtualbox 2.0.2 not working

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. smile

Offline

#15 2008-09-19 13:32:09

ryosaeba83
Package Maintainer (PM)
From: Como (Italy)
Registered: 2008-07-21
Posts: 34
Website

Re: virtualbox 2.0.2 not working

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.


TU id: mtorromeo
My packages: Community, AUR

Offline

#16 2008-09-19 14:35:07

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: virtualbox 2.0.2 not working

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

#17 2008-09-19 14:49:13

BC
Member
Registered: 2008-01-29
Posts: 83

Re: virtualbox 2.0.2 not working

wonder wrote:

notice that is a feature not a bug.

So why is this a feature?

Offline

#18 2008-09-19 14:53:55

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: virtualbox 2.0.2 not working

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

#19 2008-09-19 14:54:22

Rinaldus
Member
From: Moscow, Russia
Registered: 2008-03-04
Posts: 40
Website

Re: virtualbox 2.0.2 not working

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. smile


Sorry for my bad English. smile

Offline

#20 2008-09-19 16:32:47

mitoyarzun
Member
Registered: 2008-09-19
Posts: 9

Re: virtualbox 2.0.2 not working

BC wrote:
wonder wrote:

notice that is a feature not a bug.

So why is this a feature?

I also don't get it tongue

I reported a bug, please vote:

http://bugs.archlinux.org/task/11528?project=5

Cheers.

Offline

#21 2008-09-19 17:36:03

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: virtualbox 2.0.2 not working

Rinaldus wrote:

..... what is difference between both packages?

One advantage with virtualbox_bin, you can use your usb devices (storage, printer, etc.).


Markku

Offline

#22 2008-09-19 23:11:08

tsweetser
Member
Registered: 2008-02-11
Posts: 10

Re: virtualbox 2.0.2 not working

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

#23 2008-09-19 23:51:08

godane
Member
From: NH, USA
Registered: 2008-02-03
Posts: 241
Website

Re: virtualbox 2.0.2 not working

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

#24 2008-09-20 02:32:27

SkinnyJ
Member
Registered: 2008-09-20
Posts: 18

Re: virtualbox 2.0.2 not working

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

#25 2008-09-20 08:10:05

ukognos
Member
Registered: 2008-07-18
Posts: 41

Re: virtualbox 2.0.2 not working

No you won't lose your VM's wink

Offline

Board footer

Powered by FluxBB