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
--> 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/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/35489/viewspace-703702/