歡迎您光臨本站 註冊首頁

設置DHCP啟動不了,急求幫助!

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

設置DHCP啟動不了,急求幫助!

設置DHCPD好了后,用service dhcpd restart啟動不了!
進入 /etc/rc.d/init.d/dhcpd start出現以下提示:
Internet Systems Consortium DHCP Server V3.0.3-RedHat
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.

No subnet declaration for start (0.0.0.0).
** Ignoring requests on start.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface start is attached. **


Not configured to listen on any 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.
看得懂的幫忙看下!
《解決方案》

請參考:

http://linux.chinaunix.net/bbs/viewthread.php?tid=771766

看完後弄懂了,請把執行 /usr/sbin/dhcpd 的訊息輸出貼出來看即可。

--
《解決方案》

service dhcpd restart!失敗

下面是dhcpd.conf的內容,好象這個文件的許可權是無打開許可權了,剛創建好的時候還是root可用的不知是什麼原因!
#
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample  
#
ddns-update-style none;

option domain-name "leiming.com";
option domain-name-servers 192.168.1.174;

default-lease-time 21600;
max-lease-time 43200;

subnet 192.168.1.0 netmask 255.255.255.0
{
        option routers 192.168.1.1;
        option subnet-mask 255.255.255.0;

                range 192.168.1.100 192.168.1.200;
               
                    host wnt-zuoj
                    {
                        hardware ethernet 00:01:6c:9c:0c:d7;
                        fixed-address 192.168.1.247;
                    }
}
《解決方案》

你最後沒有交待執行 /usr/sbin/dhcpd 的輸出顯示結果呢

--
《解決方案》

Internet Systems Consortium DHCP Server V3.0.3-RedHat
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Listening on LPF/eth0/00:0c:29:09:32:5b/192.168.1/24
Sending on   LPF/eth0/00:0c:29:09:32:5b/192.168.1/24
Sending on   Socket/fallback/fallback-net
# dhcpd
Internet Systems Consortium DHCP Server V3.0.3-RedHat
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Listening on LPF/eth0/00:0c:29:09:32:5b/192.168.1/24
Sending on   LPF/eth0/00:0c:29:09:32:5b/192.168.1/24
Sending on   Socket/fallback/fallback-net
There's already a DHCP server running.

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.

呵呵,不好意思,看到兩個差不多,就沒有貼出來了!請幫忙看看!
《解決方案》

OK了!

OK了!
謝謝了!運行了/user/sbin/dhcpd
再運行:service dhcpd restart就OK了!
《解決方案》

原帖由 yzshandian 於 2008-4-18 21:43 發表 http://linux.chinaunix.net/bbs/images/common/back.gif
OK了!
謝謝了!運行了/user/sbin/dhcpd
再運行:service dhcpd restart就OK了!

不是吧....

see the msg "There's already a DHCP server running."

--
《解決方案》

回復 #1 yzshandian 的帖子

設置DHCPD好了后,用service dhcpd restart啟動不了!

建議將啟動命令
/usr/local/sbin/dhcpd

添加到 /etc/rc.local 中,讓它開機執行。
《解決方案》

原帖由 wxjsr 於 2008-4-19 18:10 發表 http://linux.chinaunix.net/bbs/images/common/back.gif
設置DHCPD好了后,用service dhcpd restart啟動不了!
建議將啟動命令
/usr/local/sbin/dhcpd
添加到 /etc/rc.local 中,讓它開機執行。

這作法都是誤導的成分居多.

--
《解決方案》

直接service dhcpd restart出什麼信息啊?

[火星人 ] 設置DHCP啟動不了,急求幫助!已經有900次圍觀

http://coctec.com/docs/service/show-post-31042.html