Windows XP Windows 7 Windows 2003 Windows Vista Windows教程綜合 Linux 系統教程
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟件教程
 Windows教程網 >> Linux系統教程 >> Linux教程 >> Linux中named.pid permission denied解決方法

Linux中named.pid permission denied解決方法

日期:2017/2/7 14:38:14      編輯:Linux教程
 

[root@localhost etc]# named -g

Jun 13 11:18:01.227 starting BIND 9.2.4rc6 -g
Jun 13 11:18:01.227 using 1 CPU
Jun 13 11:18:01.233 loading configuration from '/etc/named.conf'
Jun 13 11:18:01.241 no IPv6 interfaces found
Jun 13 11:18:01.242 listening on IPv4 interface lo, 127.0.0.1#53
Jun 13 11:18:01.243 binding TCP socket: address in use
Jun 13 11:18:01.243 listening on IPv4 interface eth0, 150.31.3.251#53
Jun 13 11:18:01.244 binding TCP socket: address in use
Jun 13 11:18:01.249 /etc/named.conf:19: couldn't add command channel 127.0.0.1#953: address in use
Jun 13 11:18:01.250 ignoring config file logging statement due to -g option
Jun 13 11:18:01.250 couldn't open pid file '/var/run/named/named.pid': Permission denied
Jun 13 11:18:01.250 exiting (due to early fatal error)

named.pid permission denied

解決方法:

chown named:root /var/run/named

 


service named start

Copyright © Windows教程網 All Rights Reserved