安裝oracleRAC遇到的執行rootconfig: line 815: 10338 Segmentation fault

qqmengxue發表於2010-08-20

今天再安裝OracleRAC的時候在執行root.sh指令碼的時候遇到了以下錯誤:

WARNING: directory '/opt/ora10g/product/10.2.0' is not owned by root
WARNING: directory '/opt/ora10g/product' is not owned by root
WARNING: directory '/opt/ora10g' is not owned by root
Checking to see if Oracle CRS stack is already configured

Setting the permissions on OCR backup directory
Setting up NS directories
/opt/ora10g/product/10.2.0/db_1/install/rootconfig: line 815: 10338 Segmentation fault $CH/bin/ocrconfig -upgrade $CRS_ORACLE_OWNER $CRS_DBA_GROUP
Failed to upgrade Oracle Cluster Registry configuration

最終解決方法是:

1. cd /usr/bin
2. mv gcc gcc.script
3. mv g++ g++.script
4. ln -s gcc32 gcc
5. ln -s g++32 g++
6.remove CRS (刪除可以檢視其他文件)

7. reinstall

[@more@]

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

相關文章