Problems starting dhpcd

Good afternoon,

I installed Rocky 8.6 as a head node for Warewulf 4. Before I install Warewulf, When the warewulf rpm is installed it installs, dhcp, tftp, and NFS. After installation I checked the status of these services and I cannot get dhcp to run:

$ sudo systemctl status dhcpd
● dhcpd.service - DHCPv4 Server Daemon
Loaded: loaded (/usr/lib/systemd/system/dhcpd.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2022-09-18 14:52:02 EDT; 2min 33s ago
Docs: man:dhcpd(8)
man:dhcpd.conf(5)
Main PID: 4089 (code=exited, status=1/FAILURE)

Sep 18 14:52:02 localhost.localdomain dhcpd[4089]: have been made to the base software release in order to make
Sep 18 14:52:02 localhost.localdomain dhcpd[4089]: it work better with this distribution.
Sep 18 14:52:02 localhost.localdomain dhcpd[4089]:
Sep 18 14:52:02 localhost.localdomain dhcpd[4089]: Please report issues with this software via:
Sep 18 14:52:02 localhost.localdomain dhcpd[4089]: https://bugs.rockylinux.org/
Sep 18 14:52:02 localhost.localdomain dhcpd[4089]:
Sep 18 14:52:02 localhost.localdomain dhcpd[4089]: exiting.
Sep 18 14:52:02 localhost.localdomain systemd[1]: dhcpd.service: Main process exited, code=exited, status=1/FAILURE
Sep 18 14:52:02 localhost.localdomain systemd[1]: dhcpd.service: Failed with result ‘exit-code’.
Sep 18 14:52:02 localhost.localdomain systemd[1]: Failed to start DHCPv4 Server Daemon.

I’ve been looking for exit code 1 (failure) but haven’t found anything useful to this noob.

Any suggestions? Thanks ahead of time!

Jeff

The ‘systemctl’ does show only latest log messages. For more, run sudo journalctl -xeu dhcpd
(The output goes to pager, less, so you can browse earlier lines too.)

Thanks for the tip (I haven’t used journalctl before).

I again tried starting DHCP today and again it failed. Using journalctl here is the output (apologies for length).

Sep 19 05:59:07 localhost.localdomain dhcpd[1389]:
Sep 19 05:59:07 localhost.localdomain dhcpd[1389]: exiting.
Sep 19 06:21:22 localhost.localdomain systemd[1]: Starting DHCPv4 Server Daemon…
– Subject: Unit dhcpd.service has begun start-up
– Defined-By: systemd
– Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel