crash to load virtualbox

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Packthead
Posts: 17
Joined: 5. May 2008, 19:14
Primary OS: Mandriva
VBox Version: PUEL
Guest OSses: Windows XP

crash to load virtualbox

Post by Packthead »

hi,

until now, everything was running well, but since few days, i can't launch virtualbox

When i launch it using konsole, i have this message :

./VirtualBox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/opt/VirtualBox/VirtualBox.so",) failed: VBoxVMM.so: cannot open shared object file: No such file or directory

i verified, and the "missing file" exists in the folder

i made a reinstallation of virtualbox, but the probleme is not solved

host : mandriva 2010.1 kde 4.5.2

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: crash to load virtualbox

Post by Perryg »

What has changed from when it worked and when it started failing.
The error you see usually means a permission problem or the kernel has been updated and you did not have DKMS installed.
What does /var/log/vbox-install.log say
Packthead
Posts: 17
Joined: 5. May 2008, 19:14
Primary OS: Mandriva
VBox Version: PUEL
Guest OSses: Windows XP

Re: crash to load virtualbox

Post by Packthead »

log says there is a kernel problem.

I changed the kernel but virtualbox doesn't launch.

i launch it in root mode and it works.

i put in the trash the folder /home/my_user/.virtualbox but there is no change


Seems it is a probleme of permissions but they seem to be right for the "missing file" (root)
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: crash to load virtualbox

Post by Perryg »

If you changed the kernel and did not install the headers it will do just what you are seeing.
Install dkms and the headers then re-install VirtualBox and your problems should go away.
Packthead
Posts: 17
Joined: 5. May 2008, 19:14
Primary OS: Mandriva
VBox Version: PUEL
Guest OSses: Windows XP

Re: crash to load virtualbox

Post by Packthead »

kernel and headers are installed from the start

virtualbox has been reinstalled and dkms is allready installed

but it doesn't work at all except in root mode
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: crash to load virtualbox

Post by Perryg »

did you add your user name to the vboxusers group on the host?
Packthead
Posts: 17
Joined: 5. May 2008, 19:14
Primary OS: Mandriva
VBox Version: PUEL
Guest OSses: Windows XP

Re: crash to load virtualbox

Post by Packthead »

yes, from the start, as it was working for many years until now
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: crash to load virtualbox

Post by Perryg »

Make sure that ~/.VirtualBox folder and files is actually owned by you. If you ran this as root it more then likely has changed you user folder permission.
Also try setting your VBOX_USER_HOME environment and see it you can launch the program and guests.
Packthead
Posts: 17
Joined: 5. May 2008, 19:14
Primary OS: Mandriva
VBox Version: PUEL
Guest OSses: Windows XP

Re: crash to load virtualbox

Post by Packthead »

i tried to create a new user and reinstalled virtualbox and it's not working

i checked the permissions of ~/.virtualbox and they are well set

in root mode, it's working...
lonestaritaly
Posts: 3
Joined: 13. Jan 2009, 02:56

Re: crash to load virtualbox

Post by lonestaritaly »

this is due to new glibc patches to fix a vulnerability in loading DSO libraries.

http://seclists.org/fulldisclosure/2010/Oct/344

this is a quick fix:
http://www.salixos.org/forum/viewtopic.php?f=24&t=1447

Thought the VirtualBox team was working on a fixup release, but now I see they're not even aware of the issue yet! :!:
Packthead
Posts: 17
Joined: 5. May 2008, 19:14
Primary OS: Mandriva
VBox Version: PUEL
Guest OSses: Windows XP

Re: crash to load virtualbox

Post by Packthead »

YES !!!

thanks for the fix, it works !!!
Post Reply