libdbus-1.so.3 not loading
found this as the most relevant thread to my issue.
System is CentOS 5.2 and named just stopped working. The server has very little on it as its not presently a "production" server. We had recently done some minor security updates and they may have been the culprit.
There are like 3 threads on this, wih no real advice, so I figured I would sow the troubleshooting steps and how I fixed it.
[root@hosting6 lib]# service named start
Starting named: /usr/sbin/named: error while loading shared libraries: libdbus-1.so.3: cannot open shared object file: No such file or directory
[FAILED]
[root@hosting6 lib]#
[root@hosting6 lib]# ls -al | grep libdbus
lrwxrwxrwx 1 root root 18 Aug 31 15:46 libdbus-1.so.3 -> libdbus-1.so.3.4.0
-rwxr-xr-x 1 root root 253392 Mar 31 2010 libdbus-1.so.3.4.0
[root@hosting6 lib]# yum upgrade bind
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* dag: apt.sw.be
* extras: centos.promopeddler.com
* updates: centos.mirror.facebook.net
* base: mirror.rocketinternet.net
* addons: centos.mirror.facebook.net
Excluding Packages in global exclude list
Finished
Setting up Upgrade Process
Could not find update match for bind
No Packages marked for Update
[root@hosting6 lib]# yum upgrade dbus
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* dag: apt.sw.be
* extras: centos.promopeddler.com
* updates: centos.mirror.facebook.net
* base: mirror.rocketinternet.net
* addons: centos.mirror.facebook.net
Excluding Packages in global exclude list
Finished
Setting up Upgrade Process
Could not find update match for dbus
No Packages marked for Update
[root@hosting6 lib]# tail -f /var/log/directadmin/errortaskq.log
2010:10:04-13:28:01: service named wasn't running, starting it
2010:10:04-13:28:01: Error starting service named : uid 0 gid 0 : /sbin/service named start >>/dev/null 2>>/dev/null
2010:10:04-13:28:11: service named didn't start, re-starting it
2010:10:04-13:28:14: Error restarting service named : uid 0 gid 0 : /sbin/service named restart >>/dev/null 2>>/dev/null
2010:10:04-13:29:01: service named wasn't running, starting it
2010:10:04-13:29:01: Error starting service named : uid 0 gid 0 : /sbin/service named start >>/dev/null 2>>/dev/null
2010:10:04-13:29:11: service named didn't start, re-starting it
2010:10:04-13:29:13: Error restarting service named : uid 0 gid 0 : /sbin/service named restart >>/dev/null 2>>/dev/null
[root@hosting6 /]# rpm -qa | grep dbus
dbus-python-0.70-7.el5
dbus-1.1.2-14.el5
dbus-glib-0.73-10.el5_5
dbus-libs-1.1.2-14.el5
dbus-glib-0.73-10.el5_5
dbus-1.1.2-14.el5
[root@hosting6 /]# rpm -e --justdb --nodeps dbus-libs-1.1.2-14.el5
[root@hosting6 /]# yum install dbus-libs
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* dag: apt.sw.be
* extras: centos.promopeddler.com
* updates: centos.mirror.facebook.net
* base: mirror.rocketinternet.net
* addons: centos.mirror.facebook.net
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package dbus-libs.i386 0:1.1.2-14.el5 set to be updated
---> Package dbus-libs.x86_64 0:1.1.2-14.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=====================================================================
Package Arch Version Repository Size
=====================================================================
Installing:
dbus-libs i386 1.1.2-14.el5 base 123 k
dbus-libs x86_64 1.1.2-14.el5 base 122 k
Transaction Summary
=====================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 246 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): dbus-libs-1.1.2-14 100% |=========================| 122 kB 00:00
(2/2): dbus-libs-1.1.2-14 100% |=========================| 123 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: dbus-libs ######################### [1/2]
Installing: dbus-libs ######################### [2/2]
Installed: dbus-libs.i386 0:1.1.2-14.el5 dbus-libs.x86_64 0:1.1.2-14.el5
Complete!
[root@hosting6 /]# service named restart
Stopping named: [ OK ]
Starting named [ OK ]
All has been up and running for several hours now. Hope this can help someone. I did simplify the steps I took because I did try other things that didn't work.
And no, this is not a VM but a 2core x 4proc server that is being tested for production. Carry on Direct Admin!