oracle linux5.7 gc安装报错

在安装gc的时候遇到了下面的错误

Please make sure the values entered in OHS configuration files are correct.
oracle.ias.sysmgmt.exception.InvalidConfigurationException: Base Exception:
/oinstall/OracleHomes/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 = /oinstall/OracleHomes/oms10g/jdk/bin/java has failed

解决方法:

create a symbolic link “ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2″

chmod 755 /usr/lib/libgdbm.so.2.0.0
chmod 755 /usr/lib/libdb.so.2

[root@oemmach01 logs]# locate libdb.so.2
[root@oemmach01 logs]# locate libgdbm.so.2.0.0
/usr/lib/libgdbm.so.2.0.0
[root@oemmach01 logs]# ls -ldd libgdbm.so.2.0.0
ls: libgdbm.so.2.0.0: No such file or directory
[root@oemmach01 logs]# ls -ldd /usr/lib/libgdbm.so.2.0.0
-rwxr-xr-x 1 root root 25260 Jun  5  2007 /usr/lib/libgdbm.so.2.0.0
[root@oemmach01 logs]# ldd /usr/lib/libgdbm.so.2.0.0
linux-gate.so.1 =>  (0x0075b000)
libc.so.6 => /lib/libc.so.6 (0x0094c000)
/lib/ld-linux.so.2 (0x0092e000)
[root@oemmach01 logs]#

[root@oemmach01 logs]# ldd /usr/lib/libgdbm.so.2.0.0
linux-gate.so.1 =>  (0x0075b000)
libc.so.6 => /lib/libc.so.6 (0x0094c000)
/lib/ld-linux.so.2 (0x0092e000)
[root@oemmach01 logs]# ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
[root@oemmach01 logs]# chmod 755 /usr/lib/libgdbm.so.2.0.0
[root@oemmach01 logs]# chmod 755 /usr/lib/libdb.so.2
[root@oemmach01 logs]#

参考http://blog.itpub.net/15747463/viewspace-763539/



你可能感兴趣的:(oracle,linux,GC)