Thursday 26 June 2014

Named rndc.key Error While Starting

When trying to restart named process after making modifications may end up in a corrupt rndc.key key and the error will show like this:

Jul 07 03:30:54 server named[23683]: /etc/rndc.key:1: configuring key ‘rndc-key’: bad base64 encoding
Jul 07 03:30:54 server named[23683]: loading configuration: bad base64 encoding
Jul 07 03:30:54 server named[23683]: exiting (due to fatal error)


A simple explanation to this is that the key got modified somehow might me some bug.
Just check the /etc/rndc.conf file and copy the key from there(you will see the key in the first lines of the file) and replace the key that it is in /etc/rndc.key file and restart named process.


#  service named restart
Stopping named: [ OK ]
Starting named: [ OK ]



Named rndc.key Error While Starting

No comments:

Post a Comment