named -g
[root@dbserver etc]# named -g
May 11 13:58:37.232 starting BIND 9.2.4 -g
May 11 13:58:37.233 using 1 CPU
May 11 13:58:37.319 loading configuration from '/etc/named.conf'
May 11 13:58:37.332 no IPv6 interfaces found
May 11 13:58:37.405 listening on IPv4 interface lo, 127.0.0.1#53
May 11 13:58:37.406 binding TCP socket: address in use
May 11 13:58:37.448 listening on IPv4 interface eth0, 10.4.9.38#53
May 11 13:58:37.448 binding TCP socket: address in use
May 11 13:58:37.459 /etc/named.conf:23: couldn't add command channel 127.0.0.1#953: address in use
May 11 13:58:37.542 ignoring config file logging statement due to -g option
May 11 13:58:37.542 couldn't open pid file '/var/run/named/named.pid': Permission denied
May 11 13:58:37.542 exiting (due to early fatal error)
what ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
没有。就是named占着呢:
[root@dbserver /]# netstat -ntulp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN 1239/rpc.statd
tcp 0 0 127.0.0.1:32769 0.0.0.0:* LISTEN 1404/xinetd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1219/portmap
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 1583/X
tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN 1404/xinetd
tcp 0 0 10.4.9.38:53 0.0.0.0:* LISTEN 1867/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1867/named
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1422/vsftpd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1388/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1363/cupsd
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 1867/named
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1443/sendmail: acce
udp 0 0 0.0.0.0:32768 0.0.0.0:* 1239/rpc.statd
udp 0 0 0.0.0.0:32779 0.0.0.0:* 1867/named
udp 0 0 10.4.9.38:53 0.0.0.0:* 1867/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 1867/named
udp 0 0 0.0.0.0:991 0.0.0.0:* 1239/rpc.statd
udp 0 0 0.0.0.0:111 0.0.0.0:* 1219/portmap
udp 0 0 0.0.0.0:631 0.0.0.0:* 1363/cupsd
但是现在dns运行正常
[ 本帖最后由 liudan 于 2006-5-11 16:05 编辑 ]
系统的 port 53 已经被占用了,所以无法正确启动。
先执行 netstat -ntulp 看一下 :53 被哪个程式占用后来处理该问题。
==