unable to start named after install

DaanK

Verified User
Joined
Jul 1, 2005
Messages
34
Location
/home/daank/
Yesterday i installed a new server with centos 5.5 x64 and named couldn't start.

[root@oracle ~]# service named start
Starting named: named: error while loading shared libraries: libdns.so.22: cannot open shared object file: No such file or directory
[FAILED]

checking the filessystem showed that this file was not available
also yum provides turns up nothing
[root@oracle ~]# yum provides "*bin/libdns.so.22"
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: centos.mirror.transip.nl
* base: mirror.denit.net
* extras: centos.mirror.transip.nl
* updates: ftp.nluug.nl
Excluding Packages in global exclude list
Finished
No Matches found

i tried reinstalling bind but it came up with the following error
[root@oracle ~]# yum reinstall bind
Loaded plugins: fastestmirror
Setting up Reinstall Process
Loading mirror speeds from cached hostfile
* addons: centos.mirror.transip.nl
* base: mirror.denit.net
* extras: centos.mirror.transip.nl
* updates: ftp.nluug.nl
Excluding Packages in global exclude list
Finished
Installed package 30:bind-9.3.4-10.P1.el5.x86_64 not available.
Nothing to do

when i try a install the following comes up

[root@oracle ~]# yum install bind
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: centos.mirror.transip.nl
* base: mirror.denit.net
* extras: centos.mirror.transip.nl
* updates: ftp.nluug.nl
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package bind.x86_64 30:9.3.6-4.P1.el5_5.3 set to be updated
--> Processing Dependency: bind-libs = 30:9.3.6-4.P1.el5_5.3 for package: bind
--> Running transaction check
---> Package bind-libs.x86_64 30:9.3.6-4.P1.el5_5.3 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================
Package Arch Version Repository Size
==================================================================
Updating:
bind x86_64 30:9.3.6-4.P1.el5_5.3 updates 986 k
Updating for dependencies:
bind-libs x86_64 30:9.3.6-4.P1.el5_5.3 updates 891 k

Transaction Summary
==================================================================
Install 0 Package(s)
Upgrade 2 Package(s)

Total size: 1.8 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
bind-libs is needed by (installed) bind-utils-9.3.4-10.P1.el5.x86_64
Complete!
(1, [u'Please report this error in https://bugzilla.redhat.com/enter_bug.cgi?product=Red Hat Enterprise Linux 5&component=yum'])

Does anyone have a clue on how i can get named up and running?
 
Some extra information.

I did find libdns on my system.
[root@oracle /]# find -name 'libdns*'
./usr/lib64/libdns_sd.so.1
./usr/lib64/libdns_sd.so.1.0.1
./usr/lib64/libdns.so.26
./usr/lib64/libdns.so.26.0.2
[root@oracle /]# ls -la /usr/lib64/libdns*
lrwxrwxrwx 1 root root 18 Feb 20 19:21 /usr/lib64/libdns_sd.so.1 -> libdns_sd.so.1.0.1
-rwxr-xr-x 1 root root 33016 Jan 27 2010 /usr/lib64/libdns_sd.so.1.0.1
lrwxrwxrwx 1 root root 16 Feb 21 09:36 /usr/lib64/libdns.so.26 -> libdns.so.26.0.2
-rwxr-xr-x 1 root root 1179896 Jan 20 2010 /usr/lib64/libdns.so.26.0.2
[root@oracle /]# uname -a
Linux oracle.daank.nl 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
[root@oracle /]#
 
Hello,
Tyr this
ln -s /usr/lib64/libdns.so.26 /usr/lib64/libdns.so.22
ldconfig

Now start named . If it is not working , you need to install the os default bind packaged . That will solve your issue.
 
Back
Top