isc-dhcp-server 4.4.1

Joshua Stark starkjs at gmail.com
Sun Mar 13 23:05:18 UTC 2022


Hi Samuel,

Looking at the initial log, it looks like you are starting dhcp with the 
init.d script:

Feb 23 13:19:01 debian-backup isc-dhcp-server[388778]: 
/etc/init.d/isc-dhcp-server: 50: cannot open /etc/dhcp/dhcpd6.conf: No 
such file

I would have thought that you should be using systemd and have:
# grep pid /lib/systemd/system/isc*
/lib/systemd/system/isc-dhcp-server.service:    exec dhcpd -user dhcpd 
-group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf $CONFIG_FILE 
$INTERFACESv4'
/lib/systemd/system/isc-dhcp-server6.service:    exec dhcpd -user dhcpd 
-group dhcpd -f -6 -pf /run/dhcp-server/dhcpd6.pid -cf $CONFIG_FILE 
$INTERFACESv6'

See if it's running under systemd as:
# systemctl status isc-dhcp-server

Thanks
Josh


On 24/2/22 12:54, Samuel Motta wrote:
> To be more clear, after I try start isc-dhcp-server the log shows that
> dhcpd service already running but it´s not. The next log line show
> debian-backup isc-dhcp-server[388784]:  failed!
>
> regards.
>
> Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20220314/0a153c7a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4486 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20220314/0a153c7a/attachment.bin>


More information about the dhcp-users mailing list