亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

實例場景不能成功

文件/etc/named.conf配置:

options{
	directory?"/var/named";
};
zone?"imooc.com"{
	type?master;
	file?"imooc.com.zone";
};

文件/var/named/imooc.com.zone配置:

$TTL?7200
imooc.com.?IN?SOA?imooc.com.?ho.imooc.com.?(222?1H?15M?1W?1D)
imooc.com.?IN?NS?dns1.imooc.com.
dns1.imooc.com.?IN?A?192.168.199.202
www.xianlaiwan.cn.?IN?A?2.2.2.2

重啟named服務就報錯

報錯信息:

Aug 29 14:37:39 localhost named[3625]: corporation. ?Support and training for BIND 9 are?

Aug 29 14:37:39 localhost named[3625]: available at https://www.isc.org/support

Aug 29 14:37:39 localhost named[3625]: ----------------------------------------------------

Aug 29 14:37:39 localhost named[3625]: adjusted limit on open files from 4096 to 1048576

Aug 29 14:37:39 localhost named[3625]: found 1 CPU, using 1 worker thread

Aug 29 14:37:39 localhost named[3625]: using up to 4096 sockets

Aug 29 14:37:39 localhost named[3625]: loading configuration from '/etc/named.conf'

Aug 29 14:37:39 localhost named[3625]: none:0: open: /etc/named.conf: permission denied

Aug 29 14:37:39 localhost named[3625]: loading configuration: permission denied

Aug 29 14:37:39 localhost named[3625]: exiting (due to fatal error)


問題出在哪?怎么解決???

正在回答

1 回答

終于知道了,權限問題,已解決

0 回復 有任何疑惑可以回復我~
#1

weixin_慕設計5466713

你怎么解決de
2019-12-01 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

實例場景不能成功

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號