EM 10g Grid Control Fails With 'libdb.so.2: cannot open shared object file:

renjixinchina發表於2013-01-31

 [ID 332187.1]

Applies to:

Enterprise Manager Base Platform. - Version 10.1.0.2 to 10.2.0.1 [Release 10.1 to 10.2]
SUSE \ UnitedLinux x86-64

Symptoms

Checked for relevance on 29-JUL-2010

Grid Control 10.1.0.3.0 base product installation on SuSE linux Enterprise Server 9 (SLES9) fails for the following error from the Java Security Configuration Assistant in the jaznca.log file:

Oracle JAAS [Sat Aug 13 12:32:43 CEST 2005]: exception: null
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.security.jazn.util.JAZNInstallHelper.resync(Unknown Source)
at oracle.security.jazn.util.JAZNInstallHelper.setCredentials(Unknown Source)
at oracle.security.jazn.util.JAZNInstallHelper.main(Unknown Source)
Caused by: oracle.ias.sysmgmt.exception.PersistenceException: Configuration initialization failed
Root Cause: Configuration changes prevented server startup.
/Apache/Apache/bin/httpd: error while loading shared libraries:
libdb.so.2: cannot open shared object file: No such file or directory
Resolution: Please refer to the base exception for resolution, or call Oracle support.
at oracle.ias.sysmgmt.persistence.utility.PMUtility.initConfiguration(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.initConfiguration(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
at oracle.ias.sysmgmt.EntryPoint.init(Unknown Source)
at oracle.security.jazn.smi.DcmUtil.resyncInstance(Unknown Source)
... 7 more
Oracle JAAS [Wed Aug 17 20:15:34 CEST 2005]: exception: null
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.security.jazn.util.JAZNInstallHelper.resync(Unknown Source)
at oracle.security.jazn.util.JAZNInstallHelper.setCredentials(Unknown Source)
at oracle.security.jazn.util.JAZNInstallHelper.main(Unknown Source)
Caused by: oracle.ias.sysmgmt.exception.PersistenceException: Configuration initialization failed
Root Cause: Configuration changes prevented server startup.
/Apache/Apache/bin/httpd: error while loading shared libraries:
libdb.so.2: cannot open shared object file: No such file or directory
Resolution: Please refer to the base exception for resolution, or call Oracle support.
at oracle.ias.sysmgmt.persistence.utility.PMUtility.initConfiguration(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.initConfiguration(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
at oracle.ias.sysmgmt.EntryPoint.init(Unknown Source)
at oracle.security.jazn.smi.DcmUtil.resyncInstance(Unknown Source)
... 7 more

Cause

The package gnome-libs-1.4.1.2.90-34.1.i386 is not installed on the host server.

This is a published prerequisite for SLES9, but without version.

The version should be compatible with the installed operating system, so gnome-libs-1.4.1.2.90-34.1.i386 or higher is appropriate.

Solution

To implement the solution, please execute the following steps:

1. Install the gnome-libs package on the server. 
It is possible to install a more recent version than 1.4.1.2.90-34.1.i386.

2. Retry the installation.

 

Possible workaround if gnome-libs cannot be found (for OEL 5)

Ensure that gdbm-1.8.0-xx.x.x is installed then do -

ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2

 

For 64bit Linux / Grid Control , the following might be needed -

ln -s /usr/lib64/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
ln -s /usr/lib64/libgdbm.so.2.0.0 /usr/lib64/libdb.so.2

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15747463/viewspace-753648/,如需轉載,請註明出處,否則將追究法律責任。

相關文章