Explain why a Linux DHCP service might fail to start after its configuration file has been edited, and describe a reasonable troubleshooting path using the course material.

Answer

A typo or syntax error in `/etc/dhcp/dhcpd.conf`, such as a missing semicolon or mismatched brace, may prevent startup. Review the configuration, validate it, inspect `journalctl -u dhcpd` or `/var/log/messages`, correct the error, and try starting the service again.

Explanation

The course specifically warns that failure when enabling the DHCP service is likely to indicate a typo in the configuration file. Linux DHCP syntax uses braces and semicolons, so a missing delimiter or mismatched block can prevent the service from accepting the configuration. A reasonable investigation is to review `/etc/dhcp/dhcpd.conf`, use the configuration-validation step taught in the lab, and inspect `journalctl -u dhcpd` or `/var/log/messages` for diagnostic information. After correcting the issue, retry service activation and confirm that it operates. **Key takeaway:** Check configuration syntax and service logs before treating a startup failure as a network problem.\n\n**Glossary:** **Daemon**: A service process that runs in the background; `dhcpd` is the DHCP daemon.

Related Questions

Want to practice more questions like this?

Join myBenkio free and practice past questions for your Nigerian university courses with AI explanations for every answer.

Start Practicing Free