亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2283 | 回復: 7
打印 上一主題 下一主題

大家?guī)兔聪翫NS服務器啟動不了的messages的信息 [復制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2007-01-26 12:23 |只看該作者 |倒序瀏覽
主機test   IP 192.168.168.121


Jan 26 11:55:10 test named[1644]: [ID 295310 daemon.notice] named.local:1: Database error (192.168.168.121)

Jan 26 11:55:10 test named[1644]: [ID 295310 daemon.notice] named.local:9: SOA ")" error (I)  # 這個是說我“)”的位置寫錯了么?

Jan 26 11:55:10 test named[1644]: [ID 295310 daemon.warning] 168.168.192.in-addr.arpa IN PTR differing ttls: corrected


Jan 26 11:55:10 test named[1644]: [ID 295310 daemon.warning] Zone "0.0.127.in\032-\032addr.arpa" (file named.local): no SOA RR found

Jan 26 11:55:10 test named[1644]: [ID 295310 daemon.warning] master zone "0.0.127.in\032-\032addr.arpa" (IN) rejected due to errors (serial 1997022700) #是偶抄的精華帖子的一句話啊

Jan 26 11:55:10 test named[1644]: [ID 295310 daemon.warning]  named.hosts: No such file or directory #他怎么能找不到呢,偶確實建在/var/named下面了啊

論壇徽章:
0
2 [報告]
發(fā)表于 2007-01-26 17:58 |只看該作者
up~~~我的BIND版本是8.1.2

斑竹大人及高手們?nèi)绻麘械睦砼紩䥽乐卮驌襞紝W習的積極性啊~~
Brian同志在線不啊?也許大概或者還沒起床吧~~~

[ 本帖最后由 滿天飛小豬 于 2007-1-26 19:03 編輯 ]

論壇徽章:
0
3 [報告]
發(fā)表于 2007-01-26 20:00 |只看該作者
下面貼些偶找到的解釋,8過,偶還是8知道該怎么改~~

(一)   168.168.192.in-addr.arpa IN PTR differing ttls: corrected
解釋:
161.79.81.194.in-addr.arpa IN PTR differing ttls: corrected
CATEGORY: db
SEVERITY: warning
PAGE:
FURTHER INFO:

Indicates that the name server loaded multiple PTR records for the domain name 161.79.81.194.in-addr.arpa, but that these had different TTLs. Since all of the records in an RRset must have the same TTL, the name server corrected the TTLs for the RRset (by setting them to the smallest TTL of the records in the RRset).

我查過了TTLs,就是這句吧  86400;defaul_ttl   沒有什么different TTLs啊~

論壇徽章:
0
4 [報告]
發(fā)表于 2007-01-26 20:08 |只看該作者
Jan 26 11:55:10 test named[1644]: [ID 295310 daemon.warning]  named.hosts: No such file or directory
解釋
can't change directory to /var/name: No such file or directory
CATEGORY:
SEVERITY:
PAGE: 312-313
FURTHER INFO:

Indicates that the working directory you set in named.conf doesn't exist
---------
我看過了,我的是solaris8自帶的BIND8.1.2版本,沒有自己重新裝過~ zone的文件不是建立在/var/named/下面么?

論壇徽章:
0
5 [報告]
發(fā)表于 2007-01-27 01:39 |只看該作者
First of all, BIND 8.1.2 is really oooooooooold. If you seriously want to run BIND , you should upgrade. That said, let's try to figure out your problems. 99% of error for a simple DNS server is from syntax error or type error. So try the following files carefully and give it a shot.

/etc/named.conf
  1. options {
  2.         directory       "/var/named";
  3. };
  4. zone  "."  in {
  5.         type hint;
  6.         file "named.ca";
  7. };
  8. zone  "abc.cn"  in {
  9.         type master;
  10.         file  "named.hosts";
  11. };
  12. zone  "168.168.192.in-addr.arpa"  in {
  13.         type master;
  14.         file "named.rev";
  15. };
  16. zone  "0.0.127.in-addr.arpa"  in {
  17.         type master;
  18.         file "named.local";
  19. };
復制代碼


Backup and delete everything in /var/named directory

In /var/named directory

named.ca

  1. .                      99999999        IN      NS      test.abc.cn.                  
  2. test.abc.cn.     99999999        IN     A       192.168.168.121
復制代碼


named.hosts

  1. ;  
  2. ;                   Host to address mapping for abc.cn
  3. ;     
  4.      @               IN      SOA    test.abc.cn. root.abc.cn. (
  5.                              1       ; serial number
  6.                              10800   ; refresh after 3 hours
  7.                             3600    ; retry after 1 hour
  8.                             604800  ; expire after 1 week
  9.                             86400 ) ; minimum TTL of 1 day
  10.                      IN   NS         test.abc.cn.
  11.      test.abc.cn.      IN A          192.168.168.121
  12.      mail.abc.cn.      IN A          192.168.168.122
復制代碼


named.rev

  1. ;  
  2. ;                   Host to address mapping for abc.cn
  3. ;     
  4.      @               IN      SOA    test.abc.cn. root.abc.cn. (
  5.                              1       ; serial number
  6.                              10800   ; refresh after 3 hours
  7.                             3600    ; retry after 1 hour
  8.                             604800  ; expire after 1 week
  9.                             86400 ) ; minimum TTL of 1 day
  10.                         IN   NS         test.abc.cn.
  11.    121               IN   PTR        test.abc.cn.
  12.    122               IN   PTR        mail.abc.cn.

  13. test.abc.cn.     IN    A          192.168.168.121
復制代碼


named.local

  1. ;  
  2. ;                   Host to address mapping for abc.cn
  3. ;     
  4.      @               IN      SOA    test.abc.cn. root.abc.cn. (
  5.                              1       ; serial number
  6.                              10800   ; refresh after 3 hours
  7.                             3600    ; retry after 1 hour
  8.                             604800  ; expire after 1 week
  9.                             86400 ) ; minimum TTL of 1 day
  10.                             IN      NS      test.abc.cn.
  11.       1                    IN      PTR     localhost.
  12.       test.abc.cn.    IN      A       192.168.168.121
復制代碼


Edit /etc/nsswitch file so that
  1. hosts:  files dns
復制代碼


Edit /etc/resolv.conf file as

  1. domain abc.cn
  2. nameserver 192.168.168.121
復制代碼


To be absolutely clean, reboot your server.
ifconfig -a and make sure your ip is 192.168.168.121
ps -ef|grep named  to make sure the process is running
netstat -na|grep LISTEN|grep 53  and make sure port 53 is listening. You can also check the boot log for details
nslookup test

[ 本帖最后由 briangao 于 2007-1-26 12:52 編輯 ]

論壇徽章:
0
6 [報告]
發(fā)表于 2007-01-27 03:40 |只看該作者
先回了帖子再看,感謝, 不枉費我特意上鬧表半夜起來看~
T_T  謝謝,謝謝~~~~


[ 本帖最后由 滿天飛小豬 于 2007-1-27 03:53 編輯 ]

em012.gif (3.57 KB, 下載次數(shù): 35)

我要努力!

我要努力!

論壇徽章:
0
7 [報告]
發(fā)表于 2007-01-28 03:22 |只看該作者
I had an error in my initial post. For the SOA line in all zone files, please change it from test.abc.cn to abc.cn and your problem should go away. I must be very sleepy at the time. As I said, 99% of the problem for simple DNS server was from syntax or type error, me included.

  1.      @               IN      SOA    abc.cn. root.abc.cn. (
  2.                              1       ; serial number
  3.                              10800   ; refresh after 3 hours
  4.                             3600    ; retry after 1 hour
  5.                             604800  ; expire after 1 week
  6.                             86400 ) ; minimum TTL of 1 day
  7.                      IN   NS         test.abc.cn.
  8.      test.abc.cn.      IN A          192.168.168.121
  9.      mail.abc.cn.      IN A          192.168.168.122
復制代碼

...

[ 本帖最后由 briangao 于 2007-1-27 14:40 編輯 ]

論壇徽章:
0
8 [報告]
發(fā)表于 2007-01-29 10:28 |只看該作者
拷貝一份named.local中的信息。messages的報警不用去管他。
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術有限公司. 版權所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP