Unable to start Vargrant

When I try to run Vagrant Up I get the following error…

C:\Users\User\Desktop\312> vagrant --version
Vagrant 2.1.5
C:\Users\User> cd C:\Users\lee.ryall\Desktop\312
C:\Users\User\Desktop\312> vagrant plugin install vagrant-vbguest
Installing the 'vagrant-vbguest' plugin. This can take a few minutes...
Installed the plugin 'vagrant-vbguest (0.16.0)'!
C:\Users\User\Desktop\312> vagrant up
Vagrant failed to initialize at a very early stage:

There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
a syntax error.

Path: C:/Users/User/Desktop/312/Vagrantfile
Line number: 0
Message: RuntimeError: can't modify frozen String

Resolution is to comment out or delete the line…



@ Harroguk

There is a known error in the first line of the Vagrantfile


Please replace that line with the following:

if Vagrant::VERSION < “2.0.0”
$stderr.puts “Must redirect to new repository for old Vagrant versions”

Sorry for the error. Good luck.

HI team,
i am getting following exception while bring up the vagrant, i installed the Virtual box 6.0 and vagrant 2.2 version on windows 10, can you someone help me to fix the issue please?

D:\MongoDb\m312-vagrant-env (1)>vagrant up
Bringing machine ‘m312’ up with ‘virtualbox’ provider…
==> m312: Box ‘ubuntu/trusty64’ could not be found. Attempting to find and install…
m312: Box Provider: virtualbox
m312: Box Version: >= 0
The box ‘ubuntu/trusty64’ could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp’s Vagrant Cloud, please verify you’re logged in via
vagrant login. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: [“https://vagrantcloud.com/ubuntu/trusty64”]
Error: SSL certificate problem: unable to get local issuer certificate

D:\MongoDb\m312-vagrant-env (1)>

@ Niranjan_Reddy_90794

Can you open the URI ‘https://vagrantcloud.com/ubuntu/trusty64’ in your browser?

thanks DHz for response! yes i am able to open url without any issue however still i am getting same error. my box name as “niranjan-VirtualBox”
do i need create a virtual box name as “ubuntu/trusty64”
d:\MongoDb\m312-vagrant-env (1)>vagrant up
Bringing machine ‘default’ up with ‘virtualbox’ provider…
==> default: Box ‘niranjan-VirtualBox’ could not be found. Attempting to find and install…
default: Box Provider: virtualbox
default: Box Version: >= 0
C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/uri/rfc3986_parser.rb:67:in split': bad URI(is not URI?): file:///d:/MongoDb/m312-vagrant-env (1)/niranjan-VirtualBox (URI::InvalidURIError) from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/uri/rfc3986_parser.rb:73:inparse’
from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/uri/common.rb:231:in parse' from C:/HashiCorp/Vagrant/embedded/gems/2.2.2/gems/vagrant-2.2.2/lib/vagrant/action/builtin/box_add.rb:485:inmetadata_url?’

hi everyone.

this issue has been resolved!

please add this in vagrant and then save it and then run “vagrant up” to start VM.

config.vm.box_download_insecure = true