DHCP issues 1
Leslie Rhorer
lesrhorer at siliconventures.net
Wed Jun 1 18:52:26 UTC 2022
I posted previously about the issues I am having. Nothing I tried,
including completely purging and reinstalling isc-dhcp-server, would get
DHCP to work on my secondary server, so I completely wiped the server
and reloaded the OS. The server is mostly working now, but there are
still some annoying issues. Stopping, starting, and restarting the
server don't quite work properly.
1. Systemd reports a spurious error when starting the server from a
clean slate.
isc-dhcp-server.service - LSB: DHCP server
Loaded: loaded (/etc/init.d/isc-dhcp-server; generated)
Active: failed (Result: exit-code) since Wed 2022-06-01 13:21:26
CDT; 1min 10s ago
Docs: man:systemd-sysv-generator(8)
Process: 19134 ExecStart=/etc/init.d/isc-dhcp-server start
(code=exited, status=1/FAILURE)
Tasks: 4 (limit: 4461)
Memory: 4.8M
CPU: 124ms
CGroup: /system.slice/isc-dhcp-server.service
/usr/sbin/dhcpd -4 -q -cf /etc/dhcp/dhcpd.conf enp11s0
Jun 01 13:21:24 Backup dhcpd[19159]:
Jun 01 13:21:24 Backup dhcpd[19159]: exiting.
Jun 01 13:21:26 Backup isc-dhcp-server[19134]: Starting ISC DHCPv6
server: dhcpd6check syslog for diagnostics. ...
Jun 01 13:21:26 Backup isc-dhcp-server[19164]: failed!
Jun 01 13:21:26 Backup isc-dhcp-server[19165]: failed!
It doesn't say what the error is, but the exit code is 1. This causes
the system to think the server has failed to start, but it does load and
remains in memory. It seem to be working pretty well. Is there some
way to get the server to report a bit more in the way of diagnostics,
perhaps in the log, or even just stderr? Obviously, this isn't a show
stopper, but it is a bit annoying, and it is possible there is something
a bit more insidious going on.
I tried running the server from the CL with the -d option, but it
doesn't produce any output.
More information about the dhcp-users
mailing list