How to Fix “/etc/rndc.key: permission denied” for named Service Error

Symptoms :

I keep getting this error every time I try to start the named daemon service :

[root@centos62 ~]# service named start
Starting named:                                            [FAILED]

Then i checked at the /var/log/messages, i get the following messages :

[root@centos62 ~]# tail -f /var/log/messages
Feb  6 21:51:22 centos62 named[1341]: loading configuration from '/etc/named.conf'
Feb  6 21:51:22 centos62 named[1341]: /etc/named.conf:7: open: /etc/rndc.key: permission denied
Feb  6 21:51:22 centos62 named[1341]: loading configuration: permission denied
Feb  6 21:51:22 centos62 named[1341]: exiting (due to fatal error)

Solutions :
Change the owner and the files permission of the ‘/etc/named.conf’ :

[root@centos62 ~]# chown named:named /etc/rndc.key
[root@centos62 ~]# chmod 644 /etc/rndc.key

Start named services :

[root@centos62 ~]# service named start
Starting named:                                            [  OK  ]