Suddenly incompatible. Maybe new VirtualBox in Ubuntu?

936 views
Skip to first unread message

interstar

unread,
Mar 31, 2012, 11:59:31 AM3/31/12
to Vagrant
I installed Vagrant and VirtualBox on my Ubuntu 11.10 machine a few
weeks ago, and have been very happy with it.

Suddenly yesterday I started getting this message when trying to
vagrant up :

"
Vagrant has detected that you have a version of VirtualBox installed
that is not supported. Please install one of the supported versions
listed below to use Vagrant:

4.0, 4.1
"

I'm guessing that maybe Ubuntu upgraded my VirtualBox - it seems to be
4.1.2_Ubuntu - and Vagrant no longer knows what to do with it.

Does that sound plausible?

And is this a real incompatibility? Or could vagrant work fine with
4.1.2_Ubuntu but doesn't recognise the number? Is there a fix?

cheers

phil

Mitchell Hashimoto

unread,
Apr 1, 2012, 11:17:31 PM4/1/12
to vagra...@googlegroups.com
Phil,

Two things to try:

1. Run VBoxManage --version and see if VirtualBox is actually giving
you some error case.

2. Run with VAGRANT_LOG=debug to see what is going on.

Mitchell

>
> cheers
>
> phil

interstar

unread,
Apr 2, 2012, 6:23:02 AM4/2/12
to Vagrant
Hi Mitchell,

thanks for the reply. When I run VBoxManage --version

I see this.

WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-ose-dkms package and the appropriate
headers, most likely linux-headers-generic.

You will not be able to start VMs until this problem is fixed.
4.1.2_Ubuntur38459

I did install the virtualbox-ose-dkms package and that hasn't fixed
the problem. ( linux-headers-generic was already installed )

Should I infer from this that the problem isn't with vagrant? That
vagrant is just bailing (with a misleading error message) because its
attempt to start virtualbox is failing?

I set an environment variable called VAGRANT_LOG to equal debug and
ran vagrant up again. No difference in error message it gives. Are
there error logs somewhere? (Can't see any in /var/log/ and this post
http://groups.google.com/group/vagrant-up/browse_thread/thread/3f65a3ef947ddb46
suggests that there may not be.)

cheers

Phil

On Apr 2, 4:17 am, Mitchell Hashimoto <mitchell.hashim...@gmail.com>
wrote:
> Phil,

interstar

unread,
Apr 2, 2012, 11:59:57 AM4/2/12
to vagra...@googlegroups.com
OK. So I did some stuff from here : http://askubuntu.com/questions/71441/virtualbox-ubuntu-11-10-linux-kernel-3-cannot-start-virtual-machine

And it seems to be working. Though not sure if  it was the kernel thing or the connect to virtualbox.org thing that did it.

phil
Reply all
Reply to author
Forward
0 new messages