After an apt update and reboot, I cannot access my server (Solved)
I'm running Ubuntu 22.04. I did an upgrade and reboot and suddenly I can't access my server. I can access the server via lish, but cannot access anything outside the server.
Here are my observations:
- Pinging the server IP I get no response
- Pinging (from the server to linode.com) responds with
Temporary failure in name resolution
- tracert (from my PC) gets me as far as
- oddly enough ufw is apparently no longer installed
- sudo iptables-save gives me the following
# Generated by iptables-save v1.8.7 on Thu Nov 17 23:34:47 2022 *filter :INPUT ACCEPT [443961:45159848] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [443627:45128416] COMMIT # Completed on Thu Nov 17 23:34:47 2022
- sudo service sshd status shows me that it is running
- I can
ssh myuser@localhostbut not to the ip address of a different linode.
route -nshows no records
network: version: 2 renderer: networkd ethernets: enp0s3: dhcp4: yes
- Auto-Configure Networking is enabled
It would seem that my network isn't configured correctly after the update.
-- Solved: The problem was the systemd-networkd service had been disabled. Starting it fixed everything.
Glad to see you got this resolved and thank you for updating this post with the solution. I've seen this happen to other customers who have run into the same issue when performing an inline upgrade like this. It's almost always
Here's a link to Ubuntu's networking doc that can help with this: Network - Configuration | Ubuntu