ConfigureGC.pl,version SUNWprivate_1.1 not defined in file libjvm.so with link time reference問題解決

djb1008發表於2010-08-13

一次在一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_.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

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

相關文章