處理service named start失敗failed_dns

wisdomone1發表於2013-05-06

---啟動dns named失敗
[root@rhel5 named]# service named start
Starting named:                                            [FAILED]

---檢視系統日誌
[root@rhel5 log]# tail -50 /var/log/messages
May  6 11:01:39 rhel5 named[5497]: could not configure root hints from 'named.root': file not found

---進入如下目錄
[root@rhel5 etc]# cd /var/named

--複製一個提示找不到的檔案
[root@rhel5 named]# cp -a named.local named.root

--啟動成功
[root@rhel5 named]# service named start
Starting named:                                            [  OK  ]
[root@rhel5 named]# ps -ef|grep name
named     5539     1  0 11:05 ?        00:00:00 /usr/sbin/named -u named
root      5550  5447  0 11:05 pts/1    00:00:00 grep name

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-759818/,如需轉載,請註明出處,否則將追究法律責任。

相關文章