步遥情感网
您的当前位置:首页linux启动named服务失败,处理service named start失败failed_dns

linux启动named服务失败,处理service named start失败failed_dns

来源:步遥情感网

---启动dns named失败

[root@rhel5 named]# service named start

Starting named:                                            [FAILED]

---查看系统日志

[root@rhel5 log]# tail -50 /var/log/messages

May  6 11:01:39 rhel5 named[5497]: could not configure root hints from 'named.root': file not found

[root@rhel5 etc]# cd /var/named

--复制一个提示找不到的文件

[root@rhel5 named]# cp -a named.local named.root

--启动成功

[root@rhel5 named]# service named start

Starting named:                                            [  OK  ]

[root@rhel5 named]# ps -ef|grep name

named     5539     1  0 11:05 ?        00:00:00 /usr/sbin/named -u named

root      5550  5447  0 11:05 pts/1    00:00:00 grep name

因篇幅问题不能全部显示,请点此查看更多更全内容