slave DNS的named無法重啟 restart - Linux
By Ingrid
at 2013-06-08T18:41
at 2013-06-08T18:41
Table of Contents
小弟linux經驗粗淺
到處碰到不少壁都拜求google大神
可是這次找了又找資料實在認輸了...
重啟失敗的訊息如下
[root@XXXX ~]# service named restart
正在停止 named: [ 確定 ]
正在啟動 named: usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g]
[-n number_of_cpus]
[-p port] [-s] [-t chrootdir] [-u username]
[-m {usage|trace|record}]
[-D ]
named: extra command line arguments
[失敗]
[root@XXX ~]# tail -n 30 /var/log/messages | grep named
named[4377]: starting BIND 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.6 -d 1
named[4377]: adjusted limit on open files from 1024 to 1048576
named[4377]: found 8 CPUs, using 8 worker threads
named[4377]: using up to 4096 sockets
named[4377]: loading configuration from '/etc/named.conf'
named[4377]: none:0: open: /etc/named.conf: file not found
named[4377]: loading configuration: file not found
named[4377]: exiting (due to fatal error)
實在不知所措...
6/7清晨還有收到logwatch的報告
6/8今天早上就沒看到信了@@!!
named.conf的設定都沒有錯
在這個路徑/var/named/chroot/etc/named.conf
都跟四個月前一樣,最後修改也是四個月前...
但是看到messages報告
就把上面原本就在運行的/var/.../named.conf檔cp到/etc/named.conf也是一樣的結果
目前用centos-5.4,named相關設定都在/var/named/chroot/之下
除了把BIND重灌我該怎麼辦呢@@???
有請各位先進指點
感激不盡...
--
到處碰到不少壁都拜求google大神
可是這次找了又找資料實在認輸了...
重啟失敗的訊息如下
[root@XXXX ~]# service named restart
正在停止 named: [ 確定 ]
正在啟動 named: usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g]
[-n number_of_cpus]
[-p port] [-s] [-t chrootdir] [-u username]
[-m {usage|trace|record}]
[-D ]
named: extra command line arguments
[失敗]
[root@XXX ~]# tail -n 30 /var/log/messages | grep named
named[4377]: starting BIND 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.6 -d 1
named[4377]: adjusted limit on open files from 1024 to 1048576
named[4377]: found 8 CPUs, using 8 worker threads
named[4377]: using up to 4096 sockets
named[4377]: loading configuration from '/etc/named.conf'
named[4377]: none:0: open: /etc/named.conf: file not found
named[4377]: loading configuration: file not found
named[4377]: exiting (due to fatal error)
實在不知所措...
6/7清晨還有收到logwatch的報告
6/8今天早上就沒看到信了@@!!
named.conf的設定都沒有錯
在這個路徑/var/named/chroot/etc/named.conf
都跟四個月前一樣,最後修改也是四個月前...
但是看到messages報告
就把上面原本就在運行的/var/.../named.conf檔cp到/etc/named.conf也是一樣的結果
目前用centos-5.4,named相關設定都在/var/named/chroot/之下
除了把BIND重灌我該怎麼辦呢@@???
有請各位先進指點
感激不盡...
--
Tags:
Linux
All Comments
By Tristan Cohan
at 2013-06-10T03:04
at 2013-06-10T03:04
By James
at 2013-06-12T16:26
at 2013-06-12T16:26
Related Posts
Linux工作站內網 外面無法連結
By Thomas
at 2013-06-07T00:28
at 2013-06-07T00:28
shell script 和 c++程式
By Skylar DavisLinda
at 2013-06-06T11:52
at 2013-06-06T11:52
有關『Unicode 補完計畫』的授權
By Queena
at 2013-06-06T02:03
at 2013-06-06T02:03
Python GUI 要如何直接執行在shell裏,而不用進去桌面
By Freda
at 2013-06-06T01:15
at 2013-06-06T01:15
如何下指令看USB標籤
By Isla
at 2013-06-05T23:32
at 2013-06-05T23:32