FIX:- error while loading shared libraries: libdns.so.22
Recently while restarting DNS service on Cpanel VPS it shows following errors:
[root@support ~]# /etc/init.d/named start
Starting named: /usr/sbin/named: error while loading shared libraries: libdns.so.22: cannot open shared object file: No such file or directory
[FAILED]
[root@support ~]# /etc/init.d/named start
Starting named: /usr/sbin/named: error while loading shared libraries: libisc.so.11: cannot open shared object file: No such file or directory
[FAILED]
We have checked and found that the OS template [CentOS 5.3] has been update to [CentOS 5.4] due to will all the binaries of the VPS has been updated as well. For temporary work around I have copied the libdns.so and libisc.so to libdns.so.22 and libisc.so.11.
[root@support ~]# cd /usr/lib
[root@support lib]# cp libdns.so libdns.so.22
[root@support lib]# cp libisc.so libisc.so.11
After that we were able to restart named server
[root@support lib]# service named restart
Stopping named: [FAILED]
Starting named: [ OK ]
[root@support lib]#
It’s saved my life today… thanks for the fix
You are most welcome.