今天再安装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
OTN文档: ID 393553.1
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24487368/viewspace-1043866/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/24487368/viewspace-1043866/