vagrant uo issue

30 views
Skip to first unread message

venkat raghav varma chithari kalingi

unread,
Sep 4, 2015, 7:41:10 PM9/4/15
to Vagrant
Hi guys,

i have windows7 laptop and i use virtualbox (oracle ) in which i got centos6.7 operating system. i got a project and wrote the Vagrantfile for the project. when i am using that vagrant file its working fine in the host system ( windows7) but when i am working in Centos6.7 enviroment ( which is a Virtal Machine) , I can't able to boot up the Vm from vagrantfile in Centos6.7. its showing this error which you can see below. please let me help with this

ERROR ====================================================

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
Vagrant cannot forward the specified ports on this VM, since they
would collide with some other application that is already listening
on these ports. The forwarded port to 8080 is already in use
on the host machine.

To fix this, modify your current projects Vagrantfile to use another
port. Example, where '1234' would be replaced by a unique host port:

  config.vm.network :forwarded_port, guest: 80, host: 1234

Sometimes, Vagrant will attempt to auto-correct this for you. In this
case, Vagrant was unable to. This is usually because the guest machine
is in a state which doesn't allow modifying port forwarding.




Alvaro Miranda Aguilera

unread,
Sep 7, 2015, 4:28:07 AM9/7/15
to vagra...@googlegroups.com
Hello,

Not sure, but are you trying to run a VM inside a VM?

Or you got a dual boot and you want to boot the same VM in 2 different OS?

Thanks
Alvaro.
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in violation
> of those guidelines may result in your removal from this mailing list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vagrant-up+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/341b180d-f08a-49ea-8787-d5b7e0d020d0%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

venkat raghav varma chithari kalingi

unread,
Sep 7, 2015, 5:34:07 PM9/7/15
to vagra...@googlegroups.com
Hi Miranda,


Yes, I am running a VM Inside a VM
You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/DoU1x8-WAac/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewx1hzOwiVwou-oUoOuqQvuKWo90O9c9HDU_2Jbu%3D_d0A%40mail.gmail.com.

Alvaro Miranda Aguilera

unread,
Sep 8, 2015, 2:45:37 AM9/8/15
to vagra...@googlegroups.com
Hello,

That will work only if the 2nd VM is 32 bit using Virtualbox.

If you want 64 bits, virtualbox won't work.

Try to do it using gui and without vagrant.

Not all the virtualization methods allow nested virtualization.

Thanks
Alvaro.

On Tue, Sep 8, 2015 at 9:34 AM, venkat raghav varma chithari kalingi
> https://groups.google.com/d/msgid/vagrant-up/CAH_iHS9bJexpM5z8TUmR%2B72OLtfV9rQTMEE1OuwapdpRCvYM4w%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages