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

tolywang發表於2011-08-01

Oracle 10.2.0.4   ,   Linux AS 5.3    

安裝Oracle Grid Control  10.2.0.3.0 的時候, 到 99% 左右發現報錯:

 

The OPMN Process Manager failed to start. Please check the logs in the /u01/product/OracleHomes/

oms10g/opmn/logs  directory for the cause of failure.  Once the cause of the failure has been remedied,

start OPMN manually and click Retry .  

 

 

 

按照提示嘗試開啟 OPMN 結果報錯

ipadtest$./opmnctl startall

opmnctl: starting opmn and all managed processes...

================================================================================

opmn id=ipadtest:6200

    3 of 4 processes started.

ias-instance id=EnterpriseManager0.ipadtest

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

ias-component/process-type/process-set:

    HTTP_Server/HTTP_Server/HTTP_Server

Error

--&gt Process (pid=4788)

    failed to start a managed process after the maximum retry limit

    Log:

    /u01/product/OracleHomes/oms10g/opmn/logs/HTTP_Server~1 

 

 

繼續透過log檔案查詢原因:

ipadtest$cat  /u01/product/OracleHomes/oms10g/opmn/logs/HTTP_Server~1

 

--------

11/08/01 14:20:35 Start process

--------

/u01/product/OracleHomes/oms10g/Apache/Apache/bin/apachectl start: execing httpd

/u01/product/OracleHomes/oms10g/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory

 

--------

11/08/01 14:20:35 Start process

--------

/u01/product/OracleHomes/oms10g/Apache/Apache/bin/apachectl start: execing httpd

/u01/product/OracleHomes/oms10g/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory 

 

 

查詢發現/usr/lib 下是沒有  /usr/lib/libdb.so.2  檔案的 。

 

ipadtest$ls -alrt   libgdbm*

-rwxr-xr-x 1 root root 23972 Jul 12  2006 libgdbm.so.2.0.0

-rw-r--r-- 1 root root 55304 Jul 12  2006 libgdbm.a

lrwxrwxrwx 1 root root    16 Jun 21 00:54 libgdbm.so.2 -> libgdbm.so.2.0.0

lrwxrwxrwx 1 root root    16 Jun 21 00:59 libgdbm.so -> libgdbm.so.2.0.0

ipadtest$ls /usr/lib/libdb.so.2

ls: /usr/lib/libdb.so.2: No such file or directory

 

[root@ipadtest lib]# ln  -s  /usr/lib/libgdbm.so.2.0.0    /usr/lib/libdb.so.2 

 

重新啟動OPMN,    

ipadtest$./opmnctl startall

opmnctl: starting opmn and all managed processes...

ipadtest$

 

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

相關文章