Re: isc-dhcp-server 4.4.1

Joshua Stark <[email protected]> Mon, 14 Mar 2022 10:05:18 +1100
Newsgroups gmane.network.dhcp.isc.dhcp-server
Message-ID <[email protected]>
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

-- 
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
[email protected]
https://lists.isc.org/mailman/listinfo/dhcp-users
smime.p7s (application/pkcs7-signature, 4.4 KB) - not displayed