Page 1 of 2

VirtualBox error rc=-1912

Posted: 21. Jul 2016, 18:34
by Max322
When i try start :
RTR3Init failed with rc=-1912 (rc=-1912)- The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing '/sbin/cvbox configure' may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.

Code: Select all

sudo /sbin/vboxconfig
vboxdrv.sh: Starting VirtualBox services.

Code: Select all

uname -r
3.16.0-4-amd64
OC:Debian 8

Code: Select all

dpkg -l |grep virtualbox*
rc  virtualbox                             4.3.36-dfsg-1+deb8u1                 amd64        x86 virtualization solution - base binaries
ii  virtualbox-5.1                         5.1.0-108711~Debian~jessie           amd64        Oracle VM VirtualBox
rc  virtualbox-qt                          4.3.36-dfsg-1+deb8u1                 amd64        x86 virtualization solution - Qt based user interface
ii  virtualbox-source                      4.3.36-dfsg-1+deb8u1                 all          x86 virtualization solution - kernel module source
virtualbox

Re: VirtualBox error rc=-1912

Posted: 21. Jul 2016, 18:51
by Perryg
So what is the question?
You might want to post the /var/log/vbox-install.log to speed this along as well as dmesg ( as a file, do not simply paste large amounts of text ).

Re: VirtualBox error rc=-1912

Posted: 21. Jul 2016, 19:00
by Max322
The problem is that when I try to run any of the virtual machines I get an error

Re: VirtualBox error rc=-1912

Posted: 21. Jul 2016, 19:28
by Perryg
It looks like you had a previous version (OSE) and have tried to upgrade to the PUEL ( official ) version. This will cause issues like you are seeing. I would purge VirtualBox from this host and reboot, then check to make sure it is gone before you try to install again. Your guests will not be touched and should work one the install is fixed.

Re: VirtualBox error rc=-1912

Posted: 21. Jul 2016, 19:32
by Max322
Perryg wrote:It looks like you had a previous version (OSE) and have tried to upgrade to the PUEL ( official ) version. This will cause issues like you are seeing. I would purge VirtualBox from this host and reboot, then check to make sure it is gone before you try to install again. Your guests will not be touched and should work one the install is fixed.
All exactly as you said.I have previous version(But not not sure that OSE).I deleted the previous version ( not sure if I did it correctly may remain files ). I try purge: sudo apt-get purge virtualbox-\* . Then try install again, but the error is still there

Re: VirtualBox error rc=-1912

Posted: 21. Jul 2016, 19:41
by Perryg
Actually you must have missed the part about verifying that all traces were gone. Do it again and verify before you install.

Re: VirtualBox error rc=-1912

Posted: 21. Jul 2016, 19:42
by Max322
Perryg wrote:Actually you must have missed the part about verifying that all traces were gone. Do it again and verify before you install.
I'm sorry, but I do not know how to do it

Re: VirtualBox error rc=-1912

Posted: 21. Jul 2016, 19:44
by Perryg
Sure you do.

dpkg -l | grep virtualbox*

Re: VirtualBox error rc=-1912

Posted: 21. Jul 2016, 19:45
by Max322
Perryg wrote:Sure you do.

dpkg -l | grep virtualbox*
Ok i purge virtual box, now dpkg -l | grep virtualbox* say nothing

Re: VirtualBox error rc=-1912

Posted: 21. Jul 2016, 19:48
by Max322
But the after install the error is still there

Re: VirtualBox error rc=-1912

Posted: 21. Jul 2016, 20:08
by Perryg
If you are getting the exact same error then the original kernel modules were not removed.

Re: VirtualBox error rc=-1912

Posted: 21. Jul 2016, 20:16
by Max322
How to delete?

Re: VirtualBox error rc=-1912

Posted: 21. Jul 2016, 20:22
by Perryg
By searching for different variations like Virtual or VB. and seeing if any refer to VirtualBox, Which by the way is yet another way to search.

Re: VirtualBox error rc=-1912

Posted: 21. Jul 2016, 20:27
by Max322
i try search with aptitude search Virtual/VB(for VB no refer virtualbox)

Re: VirtualBox error rc=-1912

Posted: 21. Jul 2016, 20:36
by Perryg
Don't forget lower case.