GC故障2
一、環境:
1.$lsb_release -a
LSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.8 (Carthage)
Release: 5.8
Codename: Carthage
1.$lsb_release -a
LSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.8 (Carthage)
Release: 5.8
Codename: Carthage
2.oracle 10g
二、GC安裝過程中出現:(如下圖)
三、解決:
二、GC安裝過程中出現:(如下圖)
三、解決:
cd /u01/app/oracle/oracleHomes/OMS10G/OPMN/BIN 下 執行./opmnctl startall 但是執行後的結果:
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=ORL:6200
3 of 4 processes started.
ias-instance id=EnterpriseManager0.edbjr2p6.localdomain
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server
Error
--> Process (pid=23409)
failed to start a managed process after the maximum retry limit
Log:
/u01/app/oracle/OracleHomes/oms10g/opmn/logs/HTTP_Server~1
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | N/A | Down
HTTP_Server | HTTP_Server | 23644 | Down
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | 23394 | Alive
WebCache | WebCache | 23410 | Alive
WebCache | WebCacheAdmin | 23395 | Alive
我們觀察一下log:cat /u01/app/oracle/OracleHomes/oms10g/opmn/logs/HTTP_Server~1
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------
13/12/04 20:28:50 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
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=ORL:6200
3 of 4 processes started.
ias-instance id=EnterpriseManager0.edbjr2p6.localdomain
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server
Error
--> Process (pid=23409)
failed to start a managed process after the maximum retry limit
Log:
/u01/app/oracle/OracleHomes/oms10g/opmn/logs/HTTP_Server~1
-----有錯誤?
我們來看一下./opmnctl status
Processes in Instance: EnterpriseManager0.edbjr2p6.localdomain我們來看一下./opmnctl status
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | N/A | Down
HTTP_Server | HTTP_Server | 23644 | Down
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | 23394 | Alive
WebCache | WebCache | 23410 | Alive
WebCache | WebCacheAdmin | 23395 | Alive
我們觀察一下log:cat /u01/app/oracle/OracleHomes/oms10g/opmn/logs/HTTP_Server~1
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------
13/12/04 20:28:50 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
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
根據log發現缺少庫檔案 libdb.so.2
#find -name "libdb.so.2"
./usr/lib/libdb.so.2
# rpm -ql gdbm.i386
/usr/lib/libgdbm.so.2
/usr/lib/libgdbm.so.2.0.0
/usr/share/doc/gdbm-1.8.0
/usr/share/doc/gdbm-1.8.0/COPYING
/usr/share/doc/gdbm-1.8.0/NEWS
/usr/share/doc/gdbm-1.8.0/README
向Secooler 致敬!
Jonson
2013-12-4
#find -name "libdb.so.2"
./usr/lib/libdb.so.2
我們在環境中能找到庫檔案,我們只要引用它就行:ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
再次執行:./opmnctl startal 檢視結果:
到此,問題就解決了!
補充:再次執行:./opmnctl startal 檢視結果:
到此,問題就解決了!
# rpm -ql gdbm.i386
/usr/lib/libgdbm.so.2
/usr/lib/libgdbm.so.2.0.0
/usr/share/doc/gdbm-1.8.0
/usr/share/doc/gdbm-1.8.0/COPYING
/usr/share/doc/gdbm-1.8.0/NEWS
/usr/share/doc/gdbm-1.8.0/README
向Secooler 致敬!
Jonson
2013-12-4
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20985606/viewspace-1062245/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- GC故障3GC
- 2013-12-2安裝GC時故障GC
- gc current request 引起長期鎖表的故障GC
- namenode gc導致的故障一例薦GC
- Java GC 的那些事(2)JavaGC
- Java GC的那些事(2)JavaGC
- GC2是什麼工具GC
- Mysql故障處理2則MySql
- RAC遇到GC Buffer Busy的解決方法2GC
- 從CLR GC到CoreCLR GCGC
- DB2故障診斷工具DB2
- GCGC
- Full GC (Metadata GC Threshold)GC
- GC.MaxGeneration屬性【GC示例】GC
- Minor GC、Major GC以及Full GC的介紹及對比GC
- GC是什麼?為什麼要有GC?GC
- Android GC,JVM MinorGC/ MajorGC/ FullGC,GC目的AndroidGCJVM
- 2021-2-26:為什麼需要 System.gc() ?GC
- 一個疑惑 ,gc cr grant 2-way ,簡單記錄GC
- 分析解決11gR2 雙節點RAC環境下的gc cr block busy/gc buffer busy acquire等待GCBloCUI
- JVM 系列文章之 Full GC 和 Minor GCJVMGC
- 總結Minor GC、Full GC觸發條件GC
- Step By Step Install Oracle GC 10.2.0.5 on Redhat Linux 5.5 x86_64 (2/2)OracleGCRedhatLinux
- gc buffer busyGC
- gc 檢視GC
- System.gc()GC
- P於GCGC
- java GC CollectorJavaGC
- Oracle Database 11gR2 OEM故障排除案例OracleDatabase
- gc current block pin time gc current block flush time 疑惑GCBloC
- Java GC 專家系列3:GC調優實踐JavaGC
- 什麼是垃圾蒐集(GC)?為什麼要有GC呢?GC
- oracle11GR2 RAC節點crash故障分析Oracle
- Unity GC垃圾回收UnityGC
- python的GCPythonGC
- Java——GC(垃圾回收)JavaGC
- JVM系列之GCJVMGC
- gc/Agent passwd resetGC