-
-
Notifications
You must be signed in to change notification settings - Fork 647
No route to host #1425
Comments
Could you try a newer Virtualbox?
Atleast https://www.virtualbox.org/wiki/Linux_Downloads says there is a newer one. If you can't access the vagrant box at all then the issue relies with Vagrant and virtualbox mainly, not with drupalvm itself. Also there is a newer version of Vagrant that is 1.9.5. |
Like @FinBoWa said, you'll at least need to update your VirtualBox version, v4.3 is not supported. |
Yeah, a later version should help. Closing out this issue, but please reopen if that doesn't solve your problem. |
OK, I have switched from using the Debian repo. And tried again. The results are exactly the same. I use LXC containers and have enabled ip forwarding and I use a firewall. When I disable the firewall I still can't get to the VM. Is there something I should be doing in VirtualBox? Vagrant 1.9.3 |
There's a few steps you need to take to get it working with LXC. http://docs.drupalvm.com/en/latest/other/vagrant-lxc/ Following those steps got it running for me 2 out of 3 times. #1094 (comment). Edit: Oh you're running vagrant within a container? That I've never tried. Sounds like it's likely to be buggy. You should probably check the vagrant issue queue. |
@oxyc Thanks for the idea but that isn't my situation. My LXC containers are totally separate from Virtualbox and Vagrant. I create and provision containers using my own ansible scripts. The only reason I have installed VirtualBox and vagrant is to try out DrupalVM. Even with all the containers stopped, the firewall disabled and deleting routes needed for the containers does not help. But I can just do the basics with network setup. I could be missing something obvious. |
Does Virtualbox work without Drupal VM and Vagrant? Are the |
Maybe worth trying a different IP also. You can change it with the |
I don't know if Virtualbox works without vagrant. Yes, the interface is there and the route is there. eth0 Link encap:Ethernet HWaddr 80:fa:5b:07:14:d9 lo Link encap:Local Loopback vboxnet0 Link encap:Ethernet HWaddr 0a:00:27:00:00:00 wlan0 Link encap:Ethernet HWaddr 20:7c:8f:84:60:54
|
Also, since you updated VirtualBox, did you rebuild the VM? |
No. Trying now |
thanks, some progress. `$vagrant up mount -o vers=3,udp 192.168.88.1:/opt/drupal-vm /var/www/drupalvm Stdout from the command: Stderr from the command: mount.nfs: requested NFS version or transport protocol is not supported I can now |
Great! I'm guessing that erros is because UDP is disabled by default on some distros #245 (comment). You can switch to TCP http://docs.drupalvm.com/en/latest/getting-started/installation-linux/#nfs-shares-are-slow-or-hang-due-to-udp-protocol |
Actually that docs entry I linked to wont work with the latest release of Drupal VM, you'll need the master branch. Alternatively you can add a |
Oh forgot, and adding any of the above fixes requires you to reload the VM |
Thanks heaps. I'll will work on this later. Family calls! |
Glad you got it working. I'm pretty sure UDP is the cause for your current error so I'll close this but please reopen if it's something else. |
Thanks for the help, @oxyc ! And there's a new release of Drupal VM now, so you don't need to use master if you're on 4.6.0 or later. |
Issue Type
Your Environment
Your OS
$ uname -a
Linux ithilien 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.8 (jessie)
Release: 8.8
Codename: jessie
Full console output
$ vagrant ssh
ssh_exchange_identification: read: Connection reset by peer
$ ping 192.168.88.88
PING 192.168.88.88 (192.168.88.88) 56(84) bytes of data.
From 192.168.88.1 icmp_seq=1 Destination Host Unreachable
$ curl 192.168.88.88
curl: (7) Failed to connect to 192.168.88.88 port 80: No route to host
$ sudo route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.172.1 0.0.0.0 UG 1024 0 0 wlan0
10.1.1.0 * 255.255.255.0 U 0 0 0 br0
link-local * 255.255.0.0 U 1000 0 0 br0
192.168.88.0 * 255.255.255.0 U 0 0 0 vboxnet0
192.168.172.0 * 255.255.255.0 U 0 0 0 wlan0
Summary
Like it says I have no route to the host.
I haven't tried to use VirtualBox in years and therefor carefully followed instructions. But it does seem I missed something.
The text was updated successfully, but these errors were encountered: