# Not able to set-up multi vm using vagrant

**URL:** <https://discuss.hashicorp.com/t/not-able-to-set-up-multi-vm-using-vagrant/29038>\
**Category:** Vagrant\
**Tags:** vagrant-oss-release\
**Created:** [September 2, 2021, 7:31am UTC](https://discuss.hashicorp.com/t/not-able-to-set-up-multi-vm-using-vagrant/29038 "2021-09-02T07:31:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shiva-Rangu](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/shiva-rangu/32/22058_2.png) [@Shiva-Rangu](https://discuss.hashicorp.com/u/Shiva-Rangu)\
**Post date:** [September 2, 2021, 7:31am UTC](https://discuss.hashicorp.com/t/not-able-to-set-up-multi-vm-using-vagrant/29038/1 "2021-09-02T07:31:39Z")

</div>

Hello every one.

As i was trying to install a multi VM using the vagrant in oracle VM Box.

This is the error i was getting while provisioning the VM’s, have tried all the possible ways in got in google, came to here to get help from any one.

Please help me any one on this,

web01: Machine booted and ready!  
==\> web01: Checking for guest additions in VM…  
web01: The guest additions on this VM do not match the installed version of  
web01: VirtualBox! In most cases this is fine, but in rare cases it can  
web01: prevent things such as shared folders from working properly. If you see  
web01: shared folder errors, please make sure the guest additions within the  
web01: virtual machine match the version of VirtualBox you have installed on  
web01: your host and reload your VM.  
web01:  
web01: Guest Additions Version: 5.2.42  
web01: VirtualBox Version: 6.1  
==\> web01: Setting hostname…  
==\> web01: Configuring and enabling network interfaces…  
==\> web01: Mounting shared folders…  
web01: /vagrant =\> C:/Users/SHIVA/Downloads/Compressed/vprofile\_pro\_setup/vprofile\_pro\_setup/vagrantvms  
web01: /vprofile-vm-data =\> C:/Users/SHIVA/Downloads/Compressed/vprofile\_pro\_setup/vprofile\_pro\_setup/vprofile-code  
==\> web01: [vagrant-hostmanager:guests] Updating hosts file on active guest virtual machines…  
==\> web01: [vagrant-hostmanager:host] Updating hosts file on your workstation (password may be required)…  
==\> web01: Attempting graceful shutdown of VM…  
==\> web01: Destroying VM and associated drives…  
C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/3.0.0/fileutils.rb:1415:in `initialize': Permission denied @ rb_sysopen - C:/Users/SHIVA/.vagrant.d/tmp/hosts.local (Errno::EACCES) from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/3.0.0/fileutils.rb:1415:in `open’  
from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/3.0.0/fileutils.rb:1415:in `block in copy_file' from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/3.0.0/fileutils.rb:1414:in `open’  
from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/3.0.0/fileutils.rb:1414:in `copy_file' from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/3.0.0/fileutils.rb:514:in `copy\_file’  
from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/3.0.0/fileutils.rb:433:in `block in cp' from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/3.0.0/fileutils.rb:1597:in `block in fu\_each\_src\_dest’  
from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/3.0.0/fileutils.rb:1613:in `fu_each_src_dest0' from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/3.0.0/fileutils.rb:1595:in `fu\_each\_src\_dest’  
from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/3.0.0/fileutils.rb:432:in `cp' from C:/Users/SHIVA/.vagrant.d/gems/3.0.1/gems/vagrant-hostmanager-1.8.9/lib/vagrant-hostmanager/hosts_file/updater.rb:72:in `update\_host’  
from C:/Users/SHIVA/.vagrant.d/gems/3.0.1/gems/vagrant-hostmanager-1.8.9/lib/vagrant-hostmanager/action/update\_all.rb:46:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/config\_validate.rb:25:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/provision.rb:80:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/plugins/providers/virtualbox/action/clear\_forwarded\_ports.rb:15:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/plugins/providers/virtualbox/action/set\_name.rb:50:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/plugins/providers/virtualbox/action/clean\_machine\_folder.rb:26:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/plugins/providers/virtualbox/action/check\_accessible.rb:18:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/call.rb:53:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/call.rb:53:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/call.rb:53:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/box\_check\_outdated.rb:93:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/config\_validate.rb:25:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/plugins/providers/virtualbox/action/check\_virtualbox.rb:26:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/env\_set.rb:19:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize_action' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/plugins/providers/virtualbox/action/match\_mac\_address.rb:22:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/plugins/providers/virtualbox/action/discard\_state.rb:15:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/plugins/providers/virtualbox/action/import.rb:78:in `import' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/plugins/providers/virtualbox/action/import.rb:13:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/plugins/providers/virtualbox/action/prepare_clone_snapshot.rb:17:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/prepare_clone.rb:15:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/plugins/providers/virtualbox/action/customize.rb:40:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/plugins/providers/virtualbox/action/check_accessible.rb:18:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize\_action’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/call.rb:53:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/config_validate.rb:25:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize\_action’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/handle_box.rb:56:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:127:in `block in finalize\_action’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/call.rb:53:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/plugins/providers/virtualbox/action/check_virtualbox.rb:26:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in `call’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `block in run' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in `busy’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:in `run' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/machine.rb:246:in `action\_raw’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/machine.rb:215:in `block in action' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/environment.rb:614:in `lock’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/machine.rb:201:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/machine.rb:201:in `action’  
from C:/HashiCorp/Vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/batch\_action.rb:86:in `block (2 levels) in run’

Attaching vagrantfile as text file for you reference.

Waiting for help from any one 😭

Thanks in advance.

Regards,  
ShivaProcessing: Vagrantfile…  
Processing: Vagrantfile…  
[Vagrantfile.txt](https://discuss.hashicorp.com/uploads/short-url/AdXcfcLj0LjsVPum1Tm2GMv6ZEj.txt) (1.9 KB)
