banner

[Rule] Rules  [Home] Main Forum  [Portal] Portal  
[Members] Member Listing  [Statistics] Statistics  [Search] Search  [Reading Room] Reading Room 
[Register] Register  
[Login] Loginhttp  | https  ]
 
Forum Index Thảo luận hệ điều hành *nix Start bind trong CentOS bị lỗi!  XML
  [Question]   Start bind trong CentOS bị lỗi! 21/05/2010 21:59:49 (+0700) | #1 | 211353
[Avatar]
asaxin
Member

[Minus]    0    [Plus]
Joined: 24/06/2007 13:11:27
Messages: 30
Offline
[Profile] [PM]
Mình start bind trong CentOS bị lỗi, không biết là lỗi gì?

Code:
[root@ns ~]#service named start
Starting named:                                            [FAILED]


Đây là named.conf của mình, chủ yếu là 2 zone cuối cùng:

Code:
options{
        directory "/var/named";
};


zone "." IN {
        type hint;
        file "named.ca";
};

zone "localdomain" IN {
        type master;
        file "localdomain.zone";
        allow-update { none; };
};

zone "localhost" IN {
        type master;
        file "localhost.zone";
        allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "named.local";
        allow-update { none; };
};

zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
        type master;
        file "named.ip6.local";
        allow-update { none; };
};

zone "255.in-addr.arpa" IN {
        type master;
        file "named.broadcast";
        allow-update { none; };
};

zone "0.in-addr.arpa" IN {
        type master;
        file "named.zero";
        allow-update { none; };
};

zone "centos.net" IN {
        type master;
        file "centos.net.db";
        allow-update {none;};
};

zone "1.168.192.in-addr.arpa" IN {
        type master;
        file "1.168.192.db";
        allow-update {none;};
};


Đây là zone centos.net.db:

Code:
$TTL 86400
@       IN      SOA     ns.centos.net.  root.centos.net. (
                201005201       ;serial
                3600            ;refresh
                1800            ;retry
                604800          ;expire
                86400           ;minimum
)

                IN      NS      ns.centos.net.
                IN      A       192.168.1.153

ns              IN      A       192.168.1.153


Đây là zone 1.168.192.db:

Code:
$TTL 86400
@       IN      SOA     ns.centos.net.  root.centos.net. (
                201005201       ;serial
                3600            ;refresh
                1800            ;retry
                604800          ;expire
                86400           ;minimum
)

        IN      NS      ns.centos.net.

153     IN      PTR     ns.centos.net.


Đây là log messages:

Code:
[root@ns ~]# tail -10 /var/log/messages
May 22 17:26:18 ns named[5620]: found 1 CPU, using 1 worker thread
May 22 17:26:18 ns named[5620]: using up to 4096 sockets
May 22 17:26:18 ns named[5620]: loading configuration from '/etc/named.conf'
May 22 17:26:18 ns named[5620]: using default UDP/IPv4 port range: [1024, 65535]
May 22 17:26:18 ns named[5620]: using default UDP/IPv6 port range: [1024, 65535]
May 22 17:26:18 ns named[5620]: listening on IPv4 interface lo, 127.0.0.1#53
May 22 17:26:18 ns named[5620]: listening on IPv4 interface eth0, 192.168.1.153#53
May 22 17:26:18 ns named[5620]: command channel listening on 127.0.0.1#953
May 22 17:26:18 ns named[5620]: zone 1.168.192.in-addr.arpa/IN: loaded serial 201005201
May 22 17:26:18 ns named[5620]: zone centos.net/IN: loaded serial 201005201
No Signature
[Up] [Print Copy]
  [Question]   Start bind trong CentOS bị lỗi! 06/03/2012 09:37:18 (+0700) | #2 | 257000
[Avatar]
hoalucky
Member

[Minus]    0    [Plus]
Joined: 28/06/2007 23:22:57
Messages: 46
Offline
[Profile] [PM]
Chưa có câu trả lời nhỉ?
Các bác có câu trả lời thì trả lời giúp phát.
[Up] [Print Copy]
  [Question]   Start bind trong CentOS bị lỗi! 06/03/2012 18:27:02 (+0700) | #3 | 257053
[Avatar]
kingcasino
Member

[Minus]    0    [Plus]
Joined: 05/05/2008 01:57:26
Messages: 4
Offline
[Profile] [PM]
Tailf -10 thì làm sao mà "đoán" được hả bạn...

xem file named.ca có chưa ?
[Up] [Print Copy]
  [Question]   Start bind trong CentOS bị lỗi! 08/03/2012 07:15:13 (+0700) | #4 | 257145
[Avatar]
vitcon01
Member

[Minus]    0    [Plus]
Joined: 29/04/2009 11:28:21
Messages: 306
Offline
[Profile] [PM]
start lại bind và tail -100 đi bạn
JK - JH
()()()
LTKT - LTT
[Up] [Print Copy]
[digg] [delicious] [google] [yahoo] [technorati] [reddit] [stumbleupon]
Go to: 
 Users currently in here 
1 Anonymous

Powered by JForum - Extended by HVAOnline
 hvaonline.net  |  hvaforum.net  |  hvazone.net  |  hvanews.net  |  vnhacker.org
1999 - 2013 © v2012|0504|218|