AIX5.3安裝 ORACLE 10.2 RAC 執行root.sh出現lsdb: Cannot allocate memory of size 0 錯誤的解決方法

cnhtm發表於2009-12-14

在aix 5.3作業系統上安裝Oracle 10.2 RAC的時候,安裝到CRS最後,執行root.sh的時候,出現如下錯誤:

# ./root.sh
WARNING: directory '/oracle/crs' is not owned by root
WARNING: directory '/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configured
Checking to see if any 9i GSD is up
/oracle/crs/bin/lsdb: Cannot allocate memory of size 0
9i GSD is running on node ''. Stop the GSD and rerun root.sh

在metalink上,發現此問題的描述如下:

[@more@]
Applies to:
Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 11.1.0.6
IBM AIX Based Systems (64-bit)
IBM RS 6000 AIX 5L
HACMP 5.4 and above.

Symptoms
Rootpre.sh was run. Output of rootpre.sh shows below message:

Checking if group services should be configured....
ODMDIR=/etc/objrepos, isSP= 0, isHACMP= 0
Nothing to configure.

No /opt/ORCLcluster/ directory created as part of rootpre.sh
Later on when we run root.sh, It throws below errors:
# ./root.sh
WARNING: directory '/oracle/product' is not owned by root
WARNING: directory '/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configured
Checking to see if any 9i GSD is up
/oracle/product/crs/bin/lsdb: Cannot allocate memory of size 0
9i GSD is running on node ''. Stop the GSD and rerun root.sh

Cause
In HACMP 5.4 one the system libraries being used by Oracle to determine if it is HACMP or not is moved to another location. New version of rootpre.sh requires to be
run.

Solution
- To resolve this problem, please Apply Patch 6718715

經過檢查,發現當前的HACMP版本確實為5.4。下載了補丁6718715,在各個節點上,新開一個telnet連線用root使用者將下載的補丁解壓到臨時目錄,執行rootpre.sh,之後在執行root.sh失敗的視窗中再次執行root.sh指令碼,問題解決。

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

相關文章