Re: isc-dhcp-server 4.4.1

Joshua Stark <[email protected]>
Newsgroups gmane.network.dhcp.isc.dhcp-client
Message-ID <9e4109fb-411f-884a-69b0-ceedfb12e24c__11225.7188696944$1647212749$gmane$org@gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.