centos 上 dhcp 启动失败

centos 上 dhcp 启动失败

我尝试在 centos 上配置 DHCP。当我通过#service dhcpd restart它启动服务时失败了。

的结果#tail -f /var/log/messages

Dec 31 19:26:31 localhost dhcpd: exiting.
Dec 31 19:27:04 localhost dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Dec 31 19:27:04 localhost dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Dec 31 19:27:04 localhost dhcpd: All rights reserved.
Dec 31 19:27:04 localhost dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Dec 31 19:27:04 localhost dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Dec 31 19:27:04 localhost dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Dec 31 19:27:04 localhost dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Dec 31 19:27:04 localhost dhcpd: All rights reserved.
Dec 31 19:27:04 localhost dhcpd: For info, please visit https://www.isc.org/software/dhcp/

以及结果dhcpd -t

 Internet Systems Consortium DHCP Server 4.1.1-P1
 Copyright 2004-2010 Internet Systems Consortium.
 All rights reserved.
 For info, please visit https://www.isc.org/software/dhcp/
 Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file

请帮我。

答案1

/var/log/messages这些错误消息都没什么用。有用的信息就在您引用的部分之前提供。

使用您最喜欢的文本编辑器/寻呼机查看 dhcpd 提供的完整记录。请仔细阅读,它将包含对您采取行动有用的信息。

相关内容