nameserver failed on VPS

Issue: Sometimes you get frequent emails from your VPS server regarding nameservers fail :

nameserver failed @ Sat May 24 01:34:46 2011. A restart was attempted automagically.
Service Check Method: [check command]
Cmd Service Check Raw Output: Fixed ownership on /etc/named.conf
Fixed ownership on /etc/rndc.key
Fixed ownership on /etc/rndc.conf
named is not running

If you start named service, it still show the same message

Fix:

Recent versions of Bind distributed by RedHat and CentOS enable strict zone checking at startup time. This setting can potentially cause problems for Bind service, I have fixed this by adding in /usr/lib64 >> the following symlinks :

ln -s libisc.so libisc.so.11
ln -s libdns.so libdns.so.22

On the previous version of Bind, these little mistakes in the zone files were ignored, latest version - not so much. Zone files updated/fixed and everything works fine.


Comments

Popular posts from this blog

SVN: File remains in conflict

HowTo: Enable extended logging for exim

12 tweakings for WHM/cPanel to speed up WordPress