Archive

Archive for the ‘DNS and BIND’ Category

Named Failed

October 7th, 2009

While upgrading the cpanel or system software sometimes we come across named failed and we won’t be able to proceed further as both the primary and secondary name servers would have failed. The reason for this is while upgrading the system the script installs all the packages except bind-libs package which is the result of named not working. If we know any site which has that package for the current Linux Version , we can download it using the ip address and then do as shown below which should resolve the issue in most of the cases.

root@svrxx[~]# rpm -Uvh
http://216.127.74.88/files/bind-libs-9.2.4-14_EL3.i386.rpm –force
Retrieving http://216.127.74.88/files/bind-libs-9.2.4-14_EL3.i386.rpm
Preparing… ###########################################
[100%]
1:bind-libs ###########################################
[100%]
root@svrxx [~]# service named restart
Stopping named: [FAILED]
Starting named: [ OK ]

Another way to resolve the issue is use any working nameserver ip of other server in the resolv.conf and then try to install the package, i didn’t check this but i believe it should work as some times we use the DC nameservers in the resolv.conf.

DNS and BIND