Please do vagrant reload
. It will reconfigure the VM.
still same results
Okay. Did you try vagrant ssh
or ssh vagrant@192.168.33.10
?
yes I tried
“ssh vagrant@192.168.33.10” this is the result I got “ssh: connect to host 192.168.33.10 port 22: No route to host”
I also tried
“vagrant ssh” this is the result i got “ssh_exchange_identification: read: Connection reset by peer”
Also, can you paste the output of the following command:
vagrant ssh-config
Vagrant will try to ssh into the box using the ‘identity key’ provided (output of above command). Try running the following command and paste the output.
ssh -i ~/.vagrant.d/insecure_private_key vagrant@192.168.33.10
Ensure that the network configuration is correct by following the below steps:
- Navigate to the virtual box. Select the option “Bahmni-RPM” and click on “Settings” icon
- Navigate to Network > Adaptor.
- Ensure that there are 2 Adaptors. The first one is “NAT” and the second one is “Host-only Adapter”
Host default HostName 127.0.0.1 User vagrant Port 2222 UserKnownHostsFile /dev/null StrictHostKeyChecking no PasswordAuthentication no IdentityFile /home/udsm-hc/.vagrant.d/insecure_private_key IdentitiesOnly yes LogLevel FATAL
ssh: connect to host 192.168.33.10 port 22: No route to host
Are you on Linux or Windows? Can you send the output of ifconfig
(Linux) or ipconfig
(Windows)?
linux, I am running on ubuntu 14.04
Output:-
eth0 Link encap:Ethernet HWaddr 98:90:96:db:8a:b5
inet addr:41.86.179.198 Bcast:41.86.179.255 Mask:255.255.254.0
inet6 addr: fe80::9a90:96ff:fedb:8ab5/64 Scope:Link
inet6 addr: 2002:2956:b449:b:586:a096:6239:e459/64 Scope:Global
inet6 addr: fec0:c9d5:fb4b:9531:290f/64 Scope:Site
inet6 addr: fec0:
9a90:96ff:fedb:8ab5/64 Scope:Site
inet6 addr: 2002:2956:b449:b:c9d5:fb4b:9531:290f/64 Scope:Global
inet6 addr: 2002:2956:b449:b:9a90:96ff:fedb:8ab5/64 Scope:Global
inet6 addr: fec0:
586:a096:6239:e459/64 Scope:Site
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3438422 errors:0 dropped:0 overruns:0 frame:0
TX packets:811786 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2174836579 (2.1 GB) TX bytes:68632224 (68.6 MB)
Interrupt:20 Memory:f7c00000-f7c20000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:6204 errors:0 dropped:0 overruns:0 frame:0
TX packets:6204 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:950224 (950.2 KB) TX bytes:950224 (950.2 KB)
vboxnet0 Link encap:Ethernet HWaddr 0a:00:27:00:00:00
inet addr:192.168.33.1 Bcast:192.168.33.255 Mask:255.255.255.0
inet6 addr: fe80::800:27ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:12513 (12.5 KB)
Please open virtualbox and check if any vm is running.
- Run
vagrant destroy
to remove all vms created by current Vagrantfile. - Remove
.vagrant
directory in the bahmni-vagrant directory. - Make sure you have the same Vagrantfile file as https://github.com/Bahmni/bahmni-vagrant/blob/master/Vagrantfile.
- Run
vagrant up
. Monitor virtualbox while it is starting up.