星期日, 12月 14, 2014

Grid Control 10.2.0.1.1 安裝失敗時須注意的地方

Oracle 10.2.0.2
Grid Control 10.2.0.1.1

安裝GC 是使用Using existing database....

For Oracle Linux 5.4 32bit :

安裝Grid Control , OPMN Process Manager failed to start 問題解決方法:

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

For Redhat 4.8 32bit :
1.修改環境參數
.bash_profile

export ORACLE_SID=EMREP
export ORACLE_HOST_NAME=grid
export ORACLE_HOME=/u01/app/oracle/OracleHomes/db10g
export ORACLE_AGENT_HOME=/u01/app/oracle/OracleHomes/agent10g
export ORACLE_OMS_HOME=/u01/app/oracle/OracleHomes/oms10g
export ORACLE_BASE=/u01/app/oracle
export LD_LIBRARY_PATH=$ORACLE_OMS_HOME/lib:$ORACLE_OMS_HOME/opmn/lib:$ORACLE_AGENT_HOME/opmn/lib:$ORACLE_HOME/lib:$LD_LIBRARY_PATH

export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/jdk/bin:$ORACLE_AGENT_HOME/bin:$ORACLE_OMS_HOME/opmn/bin:$PATH

2.使用command 手動deploy
Symptom:
OC4J configuration failed,
caught exception while undeploying IsWebCacheWorking from home

ref: http://hustatyova.blogspot.tw/2012/07/installing-oracle-enterprise-manager.html


sol:
#猜測 主要還是環境參數造成的bug
/u01/app/oracle/OracleHomes/oms10g/jdk/bin/java -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=/tmp -mx512M -classpath /u01/app/oracle/OracleHomes/oms10g/dcm/lib/dcm.jar:/u01/app/oracle/OracleHomes/oms10g/dcm/lib/oc4j_deploy_tools.jar:/u01/app/oracle/OracleHomes/oms10g/opmn/lib/opmnplugin.jar -Doracle.ias.sysmgmt.logging.logdir=/u01/app/oracle/OracleHomes/oms10g/j2ee/home/log oracle.j2ee.tools.deploy.Oc4jDeploy -oraclehome /u01/app/oracle/OracleHomes/oms10g -verbose -inifile /u01/app/oracle/OracleHomes/oms10g/j2ee/deploy.ini

3.新增listener.ora 參數
Symptom:
OMS configuration failed

add listener.ora :
SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF

沒有留言:

LinkWithin-相關文件

Related Posts Plugin for WordPress, Blogger...