GC故障2

SDYTXM發表於2013-12-04
一、環境:
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安裝過程中出現:(如下圖



三、解決:
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
--&gt 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
-------------------+--------------------+---------+---------
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
我們在環境中能找到庫檔案,我們只要引用它就行:ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
再次執行:./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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章