在RedHat Linux 9中编译dhcp出现的问题

RedHat Linux 9中编译dhcp出现的问题

ddns-update-style none;
subnet 192.168.0.0 netmask 255.255.255.0 {
        option routers                  192.168.0.1;
        option  subnet-mask             255.255.255.0;
        option  domain-name             "fusmou.com";
        option  domain-name-servers     192.168.0.254;
        range   192.168.0.200 192.168.0.220;
        default-lease-time 21600;
        max-lease-time  43200;
#       host mou        {
#                       hardware ethernet 00-E0-4C-77-93-C1;
#                       fixed-address   192.168.0.223;
#       }
}

在用./sbin/dhcpd  start时出现下面的错误信息
Internet Systems Consortium DHCP Server 4.0.0b1
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit
Wrote 0 leases to leases file.
Error opening '/proc/net/if_inet6' to list IPv6 interfaces; No such file or directory
Can't get list of interfaces.

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.

这是/var/log/messages

Oct 12 17:54:55 studylinux dhcpd: Internet Systems Consortium DHCP Server 4.0.0b1
Oct 12 17:54:55 studylinux dhcpd: Copyright 2004-2007 Internet Systems Consortium.
Oct 12 17:54:55 studylinux dhcpd: All rights reserved.
Oct 12 17:54:56 studylinux dhcpd: For info, please visit
Oct 12 17:54:56 studylinux dhcpd: Wrote 0 leases to leases file.
Oct 12 17:54:56 studylinux dhcpd: Error opening '/proc/net/if_inet6' to list IPv6 interfaces; No such file or directory
Oct 12 17:54:56 studylinux dhcpd: Can't get list of interfaces.
Oct 12 17:54:57 studylinux dhcpd:
Oct 12 17:54:57 studylinux dhcpd: If you did not get this software from ftp.isc.org, please
Oct 12 17:54:57 studylinux dhcpd: get the latest from ftp.isc.org and install that before
Oct 12 17:54:57 studylinux dhcpd: requesting help.
Oct 12 17:54:57 studylinux dhcpd:
Oct 12 17:54:57 studylinux dhcpd: If you did get this software from ftp.isc.org and have not
Oct 12 17:54:57 studylinux dhcpd: yet read the README, please read it before requesting help.
Oct 12 17:54:57 studylinux dhcpd: If you intend to request help from the dhcp-server@isc.org
Oct 12 17:54:57 studylinux dhcpd: mailing list, please read the section on the README about
Oct 12 17:54:57 studylinux dhcpd: submitting bug reports and requests for help.
Oct 12 17:54:57 studylinux dhcpd:
Oct 12 17:54:57 studylinux dhcpd: Please do not under any circumstances send requests for
Oct 12 17:54:57 studylinux dhcpd: help directly to the authors of this software - please
Oct 12 17:54:57 studylinux dhcpd: send them to the appropriate mailing list as described in
Oct 12 17:54:57 studylinux dhcpd: the README file.
Oct 12 17:54:57 studylinux dhcpd:
Oct 12 17:54:58 studylinux dhcpd: exiting.
 
解决方法重新编译dhcp中加入--enable-dhcpv6=no这个选项.

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wygfjx.html