FIX:- error while loading shared libraries: libdns.so.22

By: Published: Sep 28th, 2012 Category: Cpanel, Linux Virtuozzo

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]#
 FIX:  error while loading shared libraries: libdns.so.22

About 

Milind Koyande is a Project Manager and his job is to work with new technologies, specially Cloud Computing / Virtualization Technology. His past projects include Government Sector initiatives, Backup and Disaster Recovery Solutions.

Tags: , , , , , , , , ,

3 Responses to “FIX:- error while loading shared libraries: libdns.so.22”


  1. Joomla extensions
    on Nov 15th, 2009
    @ 7:01 pm

    It’s saved my life today… thanks for the fix


  2. admin
    on Nov 17th, 2009
    @ 6:21 pm

    You are most welcome.


  3. Cannot login to Horde Webmail (Plesk): Login Failed « .:][ Gr8 Admin Team ][:.
    on Jun 22nd, 2011
    @ 1:13 pm

    […] Read more at eitwebguru.com   See this Amp at http://amplify.com/u/a15paj […]

Leave a Reply

Subscribe to eITWebguru

© 2012 eITWebguru. All Rights Reserved.