Web Cache Configuration Assistant fails, libdb.so.2: cannot open shared object file

Problem:

On CentOS 5.8, when installing 10g OEM Grid Control, the Web Cache Configuration Assistant fails.

Solution:

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

Check the /u01/app/oraInventory/logs/installActions2012-08-15_11-27-38-AM.log file.

The following error was noted:

Failed in smi manipulation().
A problem has occurred reading the initial configuration and storing it into repository
Resolution:
Please refer to the base exception for resolution, or call Oracle support.
Base Exception:
/u01/app/oracle/oms10g/Apache/Apache/bin/httpd: error while loading shared libraries: 
libdb.so.2: cannot open shared object file: No such file or directory
Resolution:
Please make sure the values entered in OHS configuration files are correct.
oracle.ias.sysmgmt.exception.InvalidConfigurationException: Base Exception:
/u01/app/oracle/oms10g/Apache/Apache/bin/httpd: error while loading shared libraries: 
libdb.so.2: cannot open shared object file: No such file or directory
Resolution:
Please make sure the values entered in OHS configuration files are correct.
        at oracle.ias.sysmgmt.repository.plugin.advanced.apache.StateTranslator.checkConfigFileValidity(Unknown Source)
        at oracle.ias.sysmgmt.repository.plugin.advanced.apache.StateTranslator.validateConfigDuringEvaluate(Unknown Source)
        at oracle.ias.sysmgmt.repository.plugin.advanced.apache.PlugInImpl.localConfigValidation(Unknown Source)
        at oracle.ias.sysmgmt.repository.DcmPlugin.localConfigValidation(Unknown Source)
        at oracle.ias.sysmgmt.repository.RepositoryImpl.performLocalValidation(Unknown Source)
        at oracle.ias.sysmgmt.repository.SyncUpHandler._updatePluginConfigData(Unknown Source)
        at oracle.ias.sysmgmt.repository.SyncUpHandler.syncUpFromLocalFiles(Unknown Source)
        at oracle.ias.sysmgmt.repository.RepositoryImpl.syncUpFromLocalFiles(Unknown Source)
        at oracle.ias.sysmgmt.utility.editpropagator.PropagateLocalEdit.repositoryInit(Unknown Source)
        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.ias.webcache.config.WebcacheConfig.smiSetup(WebcacheConfig.java:483)
        at oracle.ias.webcache.config.WebcacheConfig.smiEnableWebcache(WebcacheConfig.java:454)
        at oracle.ias.webcache.config.WebcacheConfig.enableConfiguration(WebcacheConfig.java:299)
        at oracle.ias.webcache.config.WebcacheConfig.main(WebcacheConfig.java:87)

Command = /u01/app/oracle/oms10g/jdk/bin/java has failed

INFO: Configuration assistant "Web Cache Configuration Assistant" failed
-----------------------------------------------------------------------------

Reference:

http://jakub.wartak.pl/blog/?p=79

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

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


This site uses Akismet to reduce spam. Learn how your comment data is processed.