分类: Oracle
一次在一noconfig方式安装完grid control 10.2.0.3_X86_64,然后patch oms and agent to 10.2.0.5后,运行ConfigureGC.pl脚本,进行GC的配置时报错
运行 的命令:
$$ORACLE_HOME/perl/bin/perl $ORACLE_HOME/sysman/install/ConfigureGC.pl /oracle/OracleHomes
错误描述:
Base Directory: /oracle/OracleHomes
No file exists. Can't rename
Starting ito execute Configuration Assistants:
Running the configuration assistants using the following command:
/oracle/OracleHomes/oms10g/oui/bin/runConfig.sh INV_PTR_LOC=/oracle/OracleHomes/oms10g/oraInst.loc ORACLE_HOME=/oracle/OracleHomes/oms10g ACTION=configure MODE=perform COMPONENT_XML={encap_oms.1_0_0_0_0.xml} RESPONSE_FILE=/oracle/OracleHomes/agent10g/responsefile Error occurred during initialization of VM
Unable to load native library: /oracle/OracleHomes/oms10g/jdk/jre/lib/i386/libjava.so: symbol JVM_GetClassSignature, version SUNWprivate_1.1 not defined in file libjvm.so with link time reference
Configuration Assistants failed with errors. Please check the above log.
For more details also check /oracle/OracleHomes/oms10g/cfgtoollogs/cfgfw/CfmLogger_<LATEST_TIME_STAMP>.log
[@more@]在metalink上查询not defined in file libjvm.so ,得到一个文档(METALINK.ID=888769.1),该文档说明了这个问题发生的原因及解决办法,摘录如下:
Applies to:
Enterprise Manager Grid Control - Version: 10.2.0.3 to 10.2.0.5
This problem can occur on any platform.
Symptoms
Getting the following error message during oc4j instance configuration of Grid Control upgrade:
Error occurred during initialization of VM
Unable to load native library: OMS_HOME/jdk/jre/lib/i386/libjava.so: symbol
JVM_GetClassSignature, version SUNWprivate_1.1 not defined in file libjvm.so
Cause
1. The issue might occur if the runInstaller for upgrade is involked after setting the LD_LIBRARY_PATH.
2. The issue might occur if PATH environment variable contains pointers to other oracle products.
3. This issue will also occur if the following parameter is passed as flag with runInstaller during upgrade of OMS to 10.2.0.5:
use_prereq_checker=false
Solution
Unset LD_LIBRARY_PATH variable.
Remove reference of other oracle variables from PATH variables.
Now revert back to previous OMS version and try for upgrade.
The following parameter should not be passed with runInstaller during upgrade to 10.2.0.5:
use_prereq_checker=false