![Fedora 中的 BIND 服务器问题](https://linux22.com/image/1899/Fedora%20%E4%B8%AD%E7%9A%84%20BIND%20%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%97%AE%E9%A2%98.png)
我正在 Fedora Linux 中安装绑定服务器。我配置了named.conf 文件。但是,当我运行“service namestart”命令时,我收到以下错误。
starting named: /usr/sbin/named: symbol lookup error:
/usr/sbin/named: undefined symbol:isc_stats_dump
会发生什么?
这是我的named.conf 文件。
// named.conf
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
// See /usr/share/doc/bind*/sample/ for example named configuration files.
options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; };
recursion yes;
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/named.rfc1912.zones";
zone "ilker.net." {
type master;
allow-query { any; };
file "/var/named/ilker.net";
};
我在 /var/named 文件夹中创建了一个名为 ilker.net 的文件。
提前致谢。
答案1
看来您的bind-lib 版本错误/损坏。
跑步yum upgrade bind-lib
。
答案2
尝试这个代码来解决,也许你绑定的rpm包损坏或bug问题原因。
[root@server var]# cp /etc/named.conf /root/
[root@server var]# cp -apfr /var/named/ /root/
[root@server var]# /scripts/ensurerpm bind-*