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 giúp đỡ về Bind trên CentOs 6.3  XML
  [Question]   giúp đỡ về Bind trên CentOs 6.3 27/10/2012 12:47:49 (+0700) | #1 | 270519
V.I.C
Member

[Minus]    0    [Plus]
Joined: 25/10/2012 02:38:34
Messages: 12
Offline
[Profile] [PM]
em đang cài đặt dịch vụ DNS trên CentOs 6.3 nhưng gặp 1 lỗi sau:
error: Failed dependencies
..chưa biết sửa như thế nào.các anh chỉ dùm em cách sửa lỗi trên
em cảm ơn
[Up] [Print Copy]
  [Question]   giúp đỡ về Bind trên CentOs 6.3 27/10/2012 13:25:15 (+0700) | #2 | 270520
V.I.C
Member

[Minus]    0    [Plus]
Joined: 25/10/2012 02:38:34
Messages: 12
Offline
[Profile] [PM]
code như sau
Code:
[root@vic Desktop]# rpm -ivh /media/CentOS_6.3_Final/Packages/bind-
bind-9.8.2-0.10.rc1.el6.i686.rpm
bind-chroot-9.8.2-0.10.rc1.el6.i686.rpm
bind-dyndb-ldap-1.1.0-0.9.b1.el6.i686.rpm
bind-libs-9.8.2-0.10.rc1.el6.i686.rpm
bind-utils-9.8.2-0.10.rc1.el6.i686.rpm
[root@vic Desktop]# rpm -ivh /media/CentOS_6.3_Final/Packages/bind-dyndb-ldap-1.1.0-0.9.b1.el6.i686.rpm 
error: Failed dependencies:
	bind >= 32:9.6.1-0.3.b1 is needed by bind-dyndb-ldap-1.1.0-0.9.b1.el6.i686
[root@vic Desktop]# rpm -ivh /media/CentOS_6.3_Final/Packages/bind-9.8.2-0.10.rc1.el6.i686.rpm 
error: Failed dependencies:
	bind-libs = 32:9.8.2-0.10.rc1.el6 is needed by bind-32:9.8.2-0.10.rc1.el6.i686
[root@vic Desktop]# rpm -ivh /media/CentOS_6.3_Final/Packages/bind-libs-9.8.2-0.10.rc1.el6.i686.rpm 
Preparing...                ########################################### [100%]
	package bind-libs-32:9.8.2-0.10.rc1.el6_3.5.i686 (which is newer than bind-libs-32:9.8.2-0.10.rc1.el6.i686) is already installed
	file /usr/lib/libbind9.so.80.0.4 from install of bind-libs-32:9.8.2-0.10.rc1.el6.i686 conflicts with file from package bind-libs-32:9.8.2-0.10.rc1.el6_3.5.i686
	file /usr/lib/libdns.so.81.4.1 from install of bind-libs-32:9.8.2-0.10.rc1.el6.i686 conflicts with file from package bind-libs-32:9.8.2-0.10.rc1.el6_3.5.i686
	file /usr/lib/libisc.so.83.0.3 from install of bind-libs-32:9.8.2-0.10.rc1.el6.i686 conflicts with file from package bind-libs-32:9.8.2-0.10.rc1.el6_3.5.i686
	file /usr/lib/libisccc.so.80.0.0 from install of bind-libs-32:9.8.2-0.10.rc1.el6.i686 conflicts with file from package bind-libs-32:9.8.2-0.10.rc1.el6_3.5.i686
	file /usr/lib/libisccfg.so.82.0.1 from install of bind-libs-32:9.8.2-0.10.rc1.el6.i686 conflicts with file from package bind-libs-32:9.8.2-0.10.rc1.el6_3.5.i686
	file /usr/lib/liblwres.so.80.0.2 from install of bind-libs-32:9.8.2-0.10.rc1.el6.i686 conflicts with file from package bind-libs-32:9.8.2-0.10.rc1.el6_3.5.i686
[root@vic Desktop]#

[Up] [Print Copy]
  [Question]   giúp đỡ về Bind trên CentOs 6.3 08/11/2012 22:53:45 (+0700) | #3 | 270836
rivert9
Member

[Minus]    0    [Plus]
Joined: 04/09/2011 13:03:33
Messages: 13
Offline
[Profile] [PM]
làm bình thường giống cái centos 5 nhưng khi service named restart thì chờ khoảng 5s cho nó tạo rndc.key là được

đây là cấu hình của tớ cậu xem thử rùi làm nhé

"options
{
// Put files that named is allowed to write in the data/ directory:
directory "/var/named"; // "Working" directory
dump-file "data/cache_dump.db";
statistics-file "data/named_stats.txt";
memstatistics-file "data/named_mem_stats.txt";
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
};
zone "." IN {
type hint;
file "named.ca";
};

zone "localhost" IN {
type master;
file "named.localhost";
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "0.0.127.in-addr.arpa.db";
};

zone "nhatnghe.com" IN {
type master;
file "nhatnghe.com.db";
};

zone "0.0.10.in-addr.arpa" {
type master;
file "0.0.10.in-addr.arpa.db";
};
"
không hiểu sao trên centos 6.3 nó tạo luôn cho mình cái rndc.key còn 6.2 thì mình phải tự tạo
[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|