Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Ubuntu VM lost connection in the middle of the night
I woke up this morning to find that at 3:30am this morning JetPack informed me that my website was unavailable. A few moments later I received an update from my 3rd-party monitoring that told me that SSH, HTTP, HTTPS were all unavailable on my host.
I had to resort to using my console to connect to my VM, which was running. Upon inspection I found that eth0 was missing on the VM. I ran dmesg and found that eth0 was being renamed to ens4. I changed my interfaces lines from eth0 to ens4 and restarted networking. ens4 now gets the ip address I expect, but I have no network connectivity. I cannot even ping the gateway, it says host unreachable.
I need some advice here, I’m not getting very helpful answers from DO Support other than to check files which all look normal to me.
All I have to go on is at 3:30am or so there is a log of my Droplet powering on - I wasn’t awake at 3:30am. I don’t know who or what authorized a power on of the VM, but what I do know is that I am with a VM with 2 websites that is down.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×