Oracle 10g 安裝gc:OPMN Process Manager failed to start和OUI - 25031解決方案
2014.12.24
今天在oracle Linux裡面安裝oracle 10g gridcontrol的時候報如下錯誤:
OPMN程式沒有開啟
今天在oracle Linux裡面安裝oracle 10g gridcontrol的時候報如下錯誤:
OPMN程式沒有開啟
這幾乎是每個安裝過oracle 10g GC都會遇到的報錯,初次接觸的時候還真不知道怎麼解決,更不知道原理所在。經過我的總結,大部分報opmn 都是因為http服務或者程式沒有起來。要麼是系統沒有安裝httpd服務,要麼是沒有啟動http
那麼為什麼要http程式是執行的呢?
答:我是這樣理解的,不對之處請諒解!grid control(簡稱GC) 它本身是一個網頁形式用過oracle的監控和管理系統。所以在安裝GC的時候會涉及和http互動。
解決辦法:
1、 可能是介質錯誤
2、 手動的啟動opmn
cd ?/OracleHomes/oms10g/opmn/bin
[oracle@zhang1 bin]$ ./opmnctl stopall
[oracle@zhang1 bin]$ ./opmnctl startall
具體的步驟:
[root@zhanglin bin]# ./opmnctl status ----檢視opmn 服務的狀態
我做過很多次,基本上上面的步驟都可以解決,而且後面可能還會報 OUI - 25031的錯誤,首先去檢視一下opmn 的四個服務是否都起來了。一般是沒有起來才會報25031。-
Processes in Instance: EnterpriseManager0.zhanglin.oracle.com
-
-------------------+--------------------+---------+---------
-
ias-component | process-type | pid | status
-
-------------------+--------------------+---------+---------
-
DSA | DSA | N/A | Down
-
HTTP_Server | HTTP_Server | N/A | Down ----http程式沒有起來
-
LogLoader | logloaderd | N/A | Down
-
dcm-daemon | dcm-daemon | N/A | Down
-
OC4J | home | 6542 | Alive
-
WebCache | WebCache | 6566 | Alive
-
WebCache | WebCacheAdmin| 6543 | Alive
-
-
[root@zhanglin bin]# /etc/init.d/httpd start ----嘗試啟動http
-
Starting httpd:
-
[root@zhanglin bin]# /etc/init.d/httpd stop
-
Stopping httpd: [ OK ]
-
[root@zhanglin bin]# /etc/init.d/httpd start
-
Starting httpd: [ OK ]
-
[root@zhanglin bin]# ./opmnctl startall ----再次檢視opmn 但是報錯
-
opmnctl: starting opmn and all managed processes...
-
================================================================================
-
opmn id=zhanglin.oracle.com:6200
-
0 of 1 processes started.
-
-
ias-instance id=EnterpriseManager0.zhanglin.oracle.com
-
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
ias-component/process-type/process-set:
-
HTTP_Server/HTTP_Server/HTTP_Server
-
-
Error
-
--> Process (pid=9426)
-
failed to start a managed process after the maximum retry limit
-
Log:
-
/u01/app/oracle/OracleHomes/oms10g/opmn/logs/HTTP_Server~1
-
-
[root@zhanglin bin]# ./opmnctl status
-
-
Processes in Instance: EnterpriseManager0.zhanglin.oracle.com
-
-------------------+--------------------+---------+---------
-
ias-component | process-type | pid | status
-
-------------------+--------------------+---------+---------
-
DSA | DSA | N/A | Down
-
HTTP_Server | HTTP_Server | N/A | Down -----還是沒有起來
-
LogLoader | logloaderd | N/A | Down
-
dcm-daemon | dcm-daemon | N/A | Down
-
OC4J | home | 6542 | Alive
-
WebCache | WebCache | 6566 | Alive
-
WebCache | WebCacheAdmin | 6543 | Alive
-
-
[root@zhanglin bin]# cd /u01/app/oracle/OracleHomes/oms10g/opmn/logs/
-
[root@zhanglin logs]# ls
-
HTTP_Server~1 OC4J~home~default_island~1 opmn.log WebCache~WebCache~1
-
ipm.log ons.log states WebCache~WebCacheAdmin~1
-
[root@zhanglin logs]# tail -100 HTTP_Server~1 ----檢視剛剛提示日誌log
-
-
--------
-
14/12/23 17:16:32 Start process
-
--------
-
/u01/app/oracle/OracleHomes/oms10g/Apache/Apache/bin/apachectl start: execing httpd
-
/u01/app/oracle/OracleHomes/oms10g/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
-
-
--------
-
14/12/23 17:22:56 Start process
-
--------
-
/u01/app/oracle/OracleHomes/oms10g/Apache/Apache/bin/apachectl start: execing httpd
-
/u01/app/oracle/OracleHomes/oms10g/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
-
-
--------
-
14/12/23 17:47:52 Start process
-
--------
-
/u01/app/oracle/OracleHomes/oms10g/Apache/Apache/bin/apachectl start: execing httpd
-
/u01/app/oracle/OracleHomes/oms10g/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
-
-----提示很明顯,確實檔案,其實這個只需要做個軟連結,指向另外一個libdb.so.2
-
--------
-
14/12/23 17:47:54 Start process
-
--------
-
/u01/app/oracle/OracleHomes/oms10g/Apache/Apache/bin/apachectl start: execing httpd
-
/u01/app/oracle/OracleHomes/oms10g/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
-
[root@zhanglin logs]# ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2 ----做一個連結指向真正的檔案
-
[root@zhanglin logs]# cd /u01/app/oracle/OracleHomes/oms10g/opmn/bin/
-
[root@zhanglin bin]# ls
-
argus opmn opmnconfig opmnctl opmnctl.tmp opmndep
-
[root@zhanglin bin]# ./opmnctl startall ----再次嘗試啟動opmn
-
opmnctl: starting opmn and all managed processes...
-
[root@zhanglin bin]# ./opmnctl status
-
-
Processes in Instance: EnterpriseManager0.zhanglin.oracle.com
-
-------------------+--------------------+---------+---------
-
ias-component | process-type | pid | status
-
-------------------+--------------------+---------+---------
-
DSA | DSA | N/A | Down
-
HTTP_Server | HTTP_Server | 10280 | Alive ----起來了
-
LogLoader | logloaderd | N/A | Down
-
dcm-daemon | dcm-daemon | N/A | Down
-
OC4J | home | 6542 | Alive
-
WebCache | WebCache | 6566 | Alive
-
WebCache | WebCacheAdmin | 6543 | Alive
-
- [root@zhanglin bin]#
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30936525/viewspace-2016678/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 安裝Grid Control , OPMN Process Manager failed to start 問題解決AI
- 安裝GRID CONTROL The OPMN Process Manager failed to start報錯處理AI
- OUI-25031 解決UI
- oui-25031的解決UI
- 安裝Oracle 10g Grid Control 時碰到 OUI-25031Oracle 10gUI
- 搭建ORACLE 10g RAC過程中出現 OUI-25031 的解決辦法Oracle 10gUI
- OUI-25031UI
- oralce10g 安裝dbvault出錯OUI-25031UI
- oracle安裝:OUI安裝Oracle(圖形介面安裝)OracleUI
- Oracle 11gR2 RAC ohasd failed to start 解決方法OracleAI
- 安裝Grid Control 10.2.0.2.1 for windows在做OMS配置的時候遇到OUI-25031解決辦法WindowsUI
- oracle安裝工具目錄常用解釋oracle wallet manager/Oracle Directory Manager /oracle net manager /Oracle Net ManagOracle
- CentOS 6安裝Oracle報錯解決方案CentOSOracle
- [IOS]解決Failed to start Instruments daemon for ‘iOS’ on iPhoneiOSAIiPhone
- ORA-12500: TNS:listener failed to start a dedicated server processAIServer
- ORA-12500 TNS : listener failed to start a dedicated server processAIServer
- 【Oracle】11gR2的安裝Grid執行root.sh出現ohasd failed解決方案OracleAI
- RHEL 7 安裝oracle rac 11.2.0.4執行root.sh報錯ohasd failed to startOracleAI
- 【故障】安裝完Pycharm,啟動時碰到"failed to load jvm dll"的解決方案PyCharmAIJVM
- 解決centos 7 安裝、檢查和配置源為aliyun解決方案CentOS
- MySQL解除安裝重灌解決方案MySql
- 安裝sass報錯解決方案
- npm安裝失敗解決方案NPM
- oracle10g GC agent安裝與解除安裝OracleGC
- Solaris環境安裝Oracle Enterprise Manager 10g Grid ControlOracle
- 安裝Oracle Enterprise Manager 10g Grid Control Release 10.1.0.3Oracle
- 10G RAC安裝時Failed to upgrade Oracle Cluster Registry configurationAIOracle
- MediaRecorder start failed -19 java.lang.RuntimeException: start failedAIJavaException
- oracle 安裝時先決條件檢查失敗的解決方案Oracle
- 在Linux上安裝Oracle時DISPLAY問題解決方案LinuxOracle
- Oracle Enterprises Manager安裝及管理Oracle
- Laravel安裝horizon報錯解決方案Laravel
- win安裝wordcloud報錯解決方案Cloud
- Linux安裝Oracle 11g Grid Infrastructure 出現OUI-10182錯誤解決LinuxOracleASTStructUI
- Mongodb安裝坑 - Service 'MongoDB Server' (MongDB) failed to start. Verify that you have...MongoDBServerAI
- kafka manager安裝Kafka
- Oracle Net Configuration Assistant failed異常的解決方案OracleAI
- Oracle 10g UNDO表空間過大的解決方案Oracle 10g