oraclebase / vagrant

Vagrant Builds
https://oracle-base.com/
GNU General Public License v3.0
190 stars 167 forks source link

Getting issue installing/configuring Vagrant using VirtualBox 7.0 #37

Open charmiedba23 opened 11 months ago

charmiedba23 commented 11 months ago

Hi!

Please advise. Thanks.

I used the latest VirtualBox version 7.0, I used the latest Git and Vagrant software too. I recently formatted my desktop, so I decided to download all the latest versions of the software I need to have an Oracle 19c RAC database. However, I am getting these errors...

=================================================================== C:\Users\Charmaine L. Medina\vagrant\rac\ol8_19\dns>vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'oraclebase/oracle-8' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: >= 0 ==> default: Loading metadata for box 'oraclebase/oracle-8' default: URL: https://vagrantcloud.com/oraclebase/oracle-8 ==> default: Adding box 'oraclebase/oracle-8' (v2023.07.20) for provider: virtualbox default: Downloading: https://vagrantcloud.com/oraclebase/boxes/oracle-8/versions/2023.07.20/providers/virtualbox.box default: default: Calculating and comparing box checksum... ==> default: Successfully added box 'oraclebase/oracle-8' (v2023.07.20) for 'virtualbox'! ==> default: Importing base box 'oraclebase/oracle-8'... ==> default: Matching MAC address for NAT networking... ==> default: Checking if box 'oraclebase/oracle-8' version '2023.07.20' is up to date... ==> default: Setting the name of the VM: ol8_19_dns Vagrant is currently configured to create VirtualBox synced folders with the SharedFoldersEnableSymlinksCreate option enabled. If the Vagrant guest is not trusted, you may want to disable this option. For more information on this option, please refer to the VirtualBox manual:

https://www.virtualbox.org/manual/ch04.html#sharedfolders

This option can be disabled globally with an environment variable:

VAGRANT_DISABLE_VBOXSYMLINKCREATE=1

or on a per folder basis within the Vagrantfile:

config.vm.synced_folder '/host/path', '/guest/path', SharedFoldersEnableSymlinksCreate: false ==> default: Clearing any previously set network interfaces... There was an error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.

Command: ["hostonlyif", "ipconfig", "VirtualBox Host-Only Ethernet Adapter #2", "--ip", "192.168.56.1", "--netmask", "255.255.255.0"]

Stderr: VBoxManage.exe: error: The host network interface named 'VirtualBox Host-Only Ethernet Adapter #2' could not be found VBoxManage.exe: error: Details: code E_INVALIDARG (0x80070057), component HostWrap, interface IHost, callee IUnknown VBoxManage.exe: error: Context: "FindHostNetworkInterfaceByName(Bstr(pszName).raw(), hif.asOutParam())" at line 242 of file VBoxManageHostonly.cpp

C:\Users\Charmaine L. Medina\vagrant\rac\ol8_19\dns>vagrant halt

C:\Users\Charmaine L. Medina\vagrant\rac\ol8_19\dns>vagrant destroy -f ==> default: Destroying VM and associated drives...

C:\Users\Charmaine L. Medina\vagrant\rac\ol8_19\dns>

oraclebase commented 11 months ago

Hi.

The short answer is I don't know. Make sure you are VirtuaBox 7.0.10, as that is the one I used to build the OL8 box this is based on. Next all I can suggest is destroying everything and cleaning up any virtual networks.

Cheers

Tim...

charmiedba23 commented 11 months ago

Ok will try again. Thanks.