Hi,
I’m trying to run the bahmni v 0.86 in virtual box but its giving me a timeout error. i’m using windows 10 version 1607 (os build is 14393.576). VirtualBox version is 5.1.12r112440(Qt5.6.2). vagrant 1.9.1
when i do vagrant up i get following error: Bringing machine ‘default’ up with ‘virtualbox’ provider… ==> default: Clearing any previously set forwarded ports… ==> default: Clearing any previously set network interfaces… ==> default: Preparing network interfaces based on configuration… default: Adapter 1: nat default: Adapter 2: hostonly ==> default: Forwarding ports… default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Running ‘pre-boot’ VM customizations… ==> default: Booting VM… ==> default: Waiting for machine to boot. This may take a few minutes… default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key The guest machine entered an invalid state while waiting for it to boot. Valid states are ‘starting, running’. The machine is in the ‘unknown’ state. Please verify everything is configured properly and try again.
If the provider you’re using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you’re using VirtualBox, run vagrant up
while the
VirtualBox GUI is open.
The primary issue for this error is that the provider you’re using is not properly configured. This is very rarely a Vagrant issue.
my vagrantfile content is :
-- mode: ruby --
vi: set ft=ruby :
Vagrant.configure(2) do |config| config.vm.box = “my-bahmni-box” config.vm.box_url = “file:///c:/Project/bahmni/bahmni-vagrant/package.box” config.vm.box_check_update = true config.ssh.insert_key = false config.vm.network “private_network”, ip: “192.168.33.10”
config.vm.synced_folder “…”, “/bahmni”, :owner => “vagrant” config.vm.provider “virtualbox” do |v| v.customize [“modifyvm”, :id, “–memory”, 3092, “–cpus”, 2, “–name”, “Bahmni-RPM”] end end
when i check the VirtualBox Manager it shows Bahmini-RPM is running
i tried vagrant ssh and the output of this command is :
ssh
executable not found in any directories in the %PATH% variable. Is an
SSH client installed? Try installing Cygwin, MinGW or Git, all of which
contain an SSH client. Or use your favorite SSH client with the following
authentication information shown below:
Host: 127.0.0.1 Port: 2222 Username: vagrant Private key: C:/Users/Babi/.vagrant.d/insecure_private_key
update: i installed openssh and tried to connect but there also the error is same connection timedout
Please help
Dheeraj Jadhav