LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Virtual Box suddenly stopped working (https://www.linuxquestions.org/questions/slackware-14/virtual-box-suddenly-stopped-working-4175531750/)

fuser312 01-21-2015 08:44 AM

Virtual Box suddenly stopped working
 
Ok I was using Virtual Box just fine but after doing quite a bit of clean up (thank you, bleachbit,a problem has erupted.

Quote:

Failed to open a session for the virtual machine Boss.

Failed to load VMMR0.r0 (VERR_SUPLIB_OWNER_NOT_ROOT).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Console
Interface: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}

My normal user is already added to vboxusers, so that can't be the problem.

Kazuo_Kuroi 01-21-2015 10:11 AM

Hmm, check the /usr/lib and /usr/lib/virtualbox permissions - sometimes those can get screwed up.

tronayne 01-22-2015 08:46 AM

Are you using VirtualBox from Oracle?

That's installed in /opt/VirtualBox, owner, group root, mask 755. Everything in that directory should look like this:
Code:

cd /opt/VirtualBox
ls -a
total 94280
drwxr-xr-x 13 root root    4096 Oct 13 14:30 ./
drwxr-xr-x 20 root root    4096 Sep 23 15:41 ../
drwxr-xr-x  3 root root    4096 Oct 13 14:35 ExtensionPacks/
-rw-r--r--  1 root root    20137 Oct  9  2013 LICENSE
-rw-r--r--  1 root root  6291357 Oct 10 14:35 UserManual.pdf
-rw-r--r--  1 root root    5359 Oct  9  2013 VBox.png
-rwxr-xr-x  1 root root    3364 Oct  9  2013 VBox.sh*
-rwxr-xr-x  1 root root    7640 Oct 10 14:49 VBoxAuth.so*
-rwxr-xr-x  1 root root    47312 Oct 10 14:49 VBoxAuthSimple.so*
-rwxr-xr-x  1 root root  120336 Oct 10 14:49 VBoxAutostart*
-rwxr-xr-x  1 root root  164448 Oct 10 14:49 VBoxBalloonCtrl*
-rwxr-xr-x  1 root root    1508 Oct  9  2013 VBoxCreateUSBNode.sh*
-rwxr-xr-x  1 root root  2502016 Oct 10 14:49 VBoxDD.so*
-rwxr-xr-x  1 root root  194704 Oct 10 14:49 VBoxDD2.so*
-rw-r--r--  1 root root    17096 Oct 10 14:49 VBoxDD2GC.gc
-rw-r--r--  1 root root    21664 Oct 10 14:49 VBoxDD2R0.r0
-rw-r--r--  1 root root  149664 Oct 10 14:49 VBoxDDGC.gc
-rw-r--r--  1 root root  200768 Oct 10 14:49 VBoxDDR0.r0
-rwxr-xr-x  1 root root  363088 Oct 10 14:49 VBoxDDU.so*
-rwxr-xr-x  1 root root  140856 Oct 10 14:49 VBoxDbg.so*
-rwxr-xr-x  1 root root    45544 Oct 10 14:49 VBoxDragAndDropSvc.so*
-rw-r--r--  1 root root  1048576 Oct 10 14:28 VBoxEFI32.fd
-rw-r--r--  1 root root  1048576 Oct 10 14:28 VBoxEFI64.fd
-rwxr-xr-x  1 root root    54696 Oct 10 14:49 VBoxExtPackHelperApp*
-rwxr-xr-x  1 root root    19856 Oct 10 14:49 VBoxGuestControlSvc.so*
-rwxr-xr-x  1 root root    33664 Oct 10 14:49 VBoxGuestPropSvc.so*
-r-s--x--x  1 root root    32008 Oct 10 14:49 VBoxHeadless*
-rwxr-xr-x  1 root root  151360 Oct 10 14:49 VBoxHeadless.so*
-rwxr-xr-x  1 root root    15264 Oct 10 14:49 VBoxHostChannel.so*
-rwxr-xr-x  1 root root    70272 Oct 10 14:49 VBoxKeyboard.so*
-rwxr-xr-x  1 root root  1092392 Oct 10 14:49 VBoxManage*
-r-s--x--x  1 root root    11288 Oct 10 14:49 VBoxNetAdpCtl*
-r-s--x--x  1 root root    32000 Oct 10 14:49 VBoxNetDHCP*
-rwxr-xr-x  1 root root  164920 Oct 10 14:49 VBoxNetDHCP.so*
-r-s--x--x  1 root root    32000 Oct 10 14:49 VBoxNetNAT*
-rwxr-xr-x  1 root root  290280 Oct 10 14:49 VBoxNetNAT.so*
-rwxr-xr-x  1 root root  186376 Oct 10 14:49 VBoxOGLhostcrutil.so*
-rwxr-xr-x  1 root root  153440 Oct 10 14:49 VBoxOGLhosterrorspu.so*
-rwxr-xr-x  1 root root  165152 Oct 10 14:49 VBoxOGLrenderspu.so*
-rwxr-xr-x  1 root root  247360 Oct 10 14:49 VBoxPython.so*
-rwxr-xr-x  1 root root  247368 Oct 10 14:49 VBoxPython2_4.so*
-rwxr-xr-x  1 root root  247400 Oct 10 14:49 VBoxPython2_5.so*
-rwxr-xr-x  1 root root  243816 Oct 10 14:49 VBoxPython2_6.so*
-rwxr-xr-x  1 root root  243816 Oct 10 14:49 VBoxPython2_7.so*
-rwxr-xr-x  1 root root  731008 Oct 10 14:49 VBoxREM.so*
-rwxr-xr-x  1 root root  5091304 Oct 10 14:49 VBoxRT.so*
-r-s--x--x  1 root root    32000 Oct 10 14:49 VBoxSDL*
-rwxr-xr-x  1 root root  221128 Oct 10 14:49 VBoxSDL.so*
-rwxr-xr-x  1 root root  3375224 Oct 10 14:49 VBoxSVC*
-rwxr-xr-x  1 root root    45168 Oct 10 14:49 VBoxSharedClipboard.so*
-rwxr-xr-x  1 root root  1082272 Oct 10 14:49 VBoxSharedCrOpenGL.so*
-rwxr-xr-x  1 root root    36232 Oct 10 14:49 VBoxSharedFolders.so*
-rwxr-xr-x  1 root root    4161 Oct  9  2013 VBoxSysInfo.sh*
-rwxr-xr-x  1 root root    98616 Oct 10 14:49 VBoxTestOGL*
-rwxr-xr-x  1 root root    7760 Oct 10 14:49 VBoxTunctl*
-rwxr-xr-x  1 root root  2636048 Oct 10 14:49 VBoxVMM.so*
-r-s--x--x  1 root root    7072 Oct 10 14:49 VBoxVolInfo*
-rwxr-xr-x  1 root root  1173120 Oct 10 14:49 VBoxXPCOM.so*
-rwxr-xr-x  1 root root    74600 Oct 10 14:49 VBoxXPCOMC.so*
-rwxr-xr-x  1 root root    28792 Oct 10 14:49 VBoxXPCOMIPCD*
-rw-r--r--  1 root root  954632 Oct 10 14:49 VMMGC.gc
-rw-r--r--  1 root root  1273224 Oct 10 14:49 VMMR0.r0
-r-s--x--x  1 root root    32000 Oct 10 14:49 VirtualBox*
-rw-r--r--  1 root root  5200129 Oct 10 14:36 VirtualBox.chm
-rwxr-xr-x  1 root root  7997016 Oct 10 14:49 VirtualBox.so*
drwxr-xr-x  2 root root    4096 Oct 13 14:30 accessible/
drwxr-xr-x  2 root root    4096 Oct 13 14:30 additions/
drwxr-xr-x  2 root root    4096 Oct 13 14:30 components/
drwxr-xr-x  2 root root    4096 Oct 13 14:30 helpers/
drwxr-xr-x 14 root root    4096 Oct 10 14:42 icons/
-rwxr-xr-x  1 root root  436288 Oct 10 14:49 kchmviewer*
-rwxr-xr-x  1 root root  3673424 Oct 10 14:42 libQtCoreVBox.so.4*
-rwxr-xr-x  1 root root 13298664 Oct 10 14:42 libQtGuiVBox.so.4*
-rwxr-xr-x  1 root root  1356032 Oct 10 14:42 libQtNetworkVBox.so.4*
-rwxr-xr-x  1 root root  1165728 Oct 10 14:42 libQtOpenGLVBox.so.4*
-rwxr-xr-x  1 root root  165040 Oct 10 14:49 libvboxjxpcom.so*
drwxr-xr-x  2 root root    4096 Oct 13 14:30 nls/
-rwxr-xr-x  1 root root  273976 Oct 10 14:49 rdesktop-vrdp*
drwxr-xr-x  2 root root    4096 Oct 10 14:42 rdesktop-vrdp-keymaps/
-rw-r--r--  1 root root  1182484 Oct 10 14:42 rdesktop-vrdp.tar.gz
-rwxr-xr-x  1 root root    20079 Oct 13 14:30 routines.sh*
drwxr-xr-x  2 root root    4096 Oct 10 14:42 scripts/
drwxr-xr-x  4 root root    4096 Oct 13 14:30 sdk/
drwxr-xr-x  3 root root    4096 Oct 10 14:49 src/
-rwxr-xr-x  1 root root    6014 Oct 13 14:30 uninstall.sh*
-rwxr-xr-x  1 root root  120858 Feb 11  2014 vboxshell.py*
-rwxr-xr-x  1 root root 16315872 Oct 10 14:49 vboxwebsrv*
-rw-r--r--  1 root root      792 Oct 10 14:42 virtualbox.desktop
-rw-r--r--  1 root root    2148 Oct  9  2013 virtualbox.xml
-rwxr-xr-x  1 root root 12092912 Oct 10 14:49 webtest*

Your /etc/rc.d should look like this:
Code:

cd /etc/rc.d
ls -al *vbox* 
-rwxr-xr-x 1 root root  6796 Oct 13 14:30 rc.vboxautostart-service*
-rwxr-xr-x 1 root root 10140 Oct 13 14:30 rc.vboxballoonctrl-service*
-rwxr-xr-x 1 root root 12680 Oct 13 14:30 rc.vboxdrv*
-rwxr-xr-x 1 root root  9917 Oct 13 14:30 rc.vboxweb-service*

Other than that, just in case something got blown away or screwed up, just reinstall VirtualBox:
Code:

su -
/opt/VirtualBox/uninstall.sh
<wait a while>
cd to directory where VirtualBox*amd64.run or VirtualBox*.run (32-bit) is
execute that
<wait awhile>
install the Guest Additions and Extension Pack.

That won't do anything to your existing virtual machines but it will clean up any screwy stuff for you (and it'll only take about 10 minutes to do.

Hope this helps some.

chrisretusn 01-22-2015 09:15 AM

Yes, a reinstall may be in order.

Did you clean some stuff up on you own too? I download and installed Bleachbit (from Slackbuilds using version 1.6) to see if it did anything to my VirtualBox installation, sure glad they have a preview option. I could find nothing that should affect VirtualBox.

I use the Oracle provide installation as mentioned above by tronayne.

"Bleachbit, The unnecessary file cleaner" says it all in my opinion, emphasis mine

Mobile1 01-22-2015 09:54 AM

Did you upgrade your Kernel? That will play games with VirtualBox.

frankbell 01-22-2015 08:12 PM

The latest kernel upgrade on --Current borked my VirtualBox on two machines. modprobe vboxdrv started return a "fatal error."

Reinstalling VB and its dependencies fixed the problem and all my VMs were intact.

willysr 01-22-2015 09:57 PM

Installing new kernel requires to reinstall VBox

JackHair 01-22-2015 10:16 PM

You don't need to reinstall VBox after a new kernel install. You just need to "/etc/rc.d/rc.vboxdrv setup" and it will recompile/reinstall/start the kernel modules.

chrisretusn 01-23-2015 04:21 AM

Always has to be one, reinstall is reinstall. Does not matter how you get there.

fuser312 01-23-2015 05:56 AM

Quote:

Did you clean some stuff up on you own too?
Yes.

Its all good now after a reinstall. :)

JackHair 01-23-2015 11:32 AM

Quote:

Originally Posted by chrisretusn (Post 5305454)
Always has to be one, reinstall is reinstall. Does not matter how you get there.

For a reinstall you'll need the archive handy. With the rc script you just run a script and you're set to go. It's just a lot faster.


All times are GMT -5. The time now is 02:01 PM.