Basic troubleshooting of network services
summary
A bottom up method that starts at the link layer and climbs the TCP/IP stack to root cause a broken virtual web service on EL7 using a VirtualBox testbed where the DB VM (MariaDB) already works and the web VM does not. Checks include interface and IP, routes and DNS resolution with ip addr / ip route / dig or host, live logs with journalctl -f, service and sockets with systemctl status/start/enable and ss -l -t -p, and firewall rules via firewall-cmd --add-service --permanent --reload. Back up configs, test each step, and automate checks with bats.
AI-written summary · about
