Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. DHCP issues 1 (Leslie Rhorer)
   2. Re: DHCP issues 2 (Leslie Rhorer)
   3. Re: DHCP issues 1 (Gregory Sloop)


----------------------------------------------------------------------

Message: 1
Date: Wed, 1 Jun 2022 13:52:26 -0500
From: Leslie Rhorer <lesrho...@siliconventures.net>
To: dhcp-users@lists.isc.org
Subject: DHCP issues 1
Message-ID: <afc69d4f-8fdd-f172-097e-6b3a45c1f...@siliconventures.net>
Content-Type: text/plain; charset=UTF-8; format=flowed

        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.


------------------------------

Message: 2
Date: Wed, 1 Jun 2022 13:56:15 -0500
From: Leslie Rhorer <lesrho...@siliconventures.net>
To: dhcp-users@lists.isc.org
Subject: Re: DHCP issues 2
Message-ID: <bb471194-8210-0421-1c85-7f6f802e7...@siliconventures.net>
Content-Type: text/plain; charset=UTF-8; format=flowed

 ??? 2. Stopping the service does not actually do anything.? The .pid 
file remains intact and the service remains in memory.? Having to 
manually delete the .pid file and manually kill the daemon is a pain, 
especially right now since I am setting things up and restarting the 
service a lot.


------------------------------

Message: 3
Date: Wed, 1 Jun 2022 12:22:52 -0700
From: Gregory Sloop <gr...@sloop.net>
To: dhcp-users@lists.isc.org
Subject: Re: DHCP issues 1
Message-ID: <1984155955.20220601122...@sloop.net>
Content-Type: text/plain; charset="utf-8"

I probably (almost certainly) don't have the time to address all your issues - 
and I didn't see the initial post....
...But some details would perhaps help.
?
What OS/Distro, and version? (debian, cent os, ubuntu etc, / 20.04, 21.10 etc)
Did you install the distro packages for dhcpd, or compile your own? (or 
something else)
What version of dhcpd?
?
If you only answer some things - those above are the most important.
?
---
You mention "secondary" server. Does this mean just a second server (serving 
it's own ip block[s]), or a load-balanced/peer set of servers?
Running load-balancing/peer servers is quite a bit more complicated. (Lots of 
moving parts to go wrong, in weird ways, unanticipated corner cases etc.)
?
You say it's "working" - but how do you know it's working?
?
But I think getting the basics of what you've done and intend to do is a good 
place to start.
?
-Greg ?

> ? ? ? ? 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20220601/123668ac/attachment.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 164, Issue 1
******************************************

Reply via email to