failed to upgrade oracle cluster registry configuration
WARNING: directory '/opt/oracle/product' is not owned by root
WARNING: directory '/opt/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configuredSetting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/opt/oracle/product/10.2' is not owned by root
WARNING: directory '/opt/oracle/product' is not owned by root
WARNING: directory '/opt/oracle' is not owned by root
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: rac1 rac1-priv rac1
node 2: rac2 rac2-priv rac2
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Now formatting voting device: /dev/raw/raw21
Format of 1 voting devices complete.
Startup will be queued to init within 90 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
rac1
CSS is inactive on these nodes.
rac2
Local node checking complete.
Linux x86
IBM: Linux on POWER Systems
Linux x86-64
Linux Itanium
On a new clusterware installation on Linux root.sh script. is failing with the following error while running root.sh on the first node:
PROT-1: Failed to initialize ocrconfig
Failed to upgrade Oracle Cluster Registry configuration
确认bug执行下列命令:
./clsfmt ocr /dev/raw/raw1
clsfmt: Received unexpected error 4 from skgfifi
skgfifi: Additional information: -2
Additional information: 1000718336
解决办法:
1. Download Patch:4679769 from Metalink (contains a patched version of clsfmt.bin).
里面会有readme.txt 认真读取readme 信息确保真正读懂。
读完后发现这个bug修补非常简单,只需要替换文件既可
解压出你补丁包中的文件 然后放到$ORACLE_HOME/bin 目录下面(记住做事情之前必须对原文件进行备份)
# % cp clsfmt.bin $ORACLE_HOME/bin/clsfmt.bin
然后更改文件权限:
# % chmod 755 $ORACLE_HOME/bin/clsfmt.bin
最后执行命令清除你的裸设备
dd if=/dev/zero f=/dev/raw/raw1 bs=8192 count=2560(运行ROOT.SH其实是往OCR写东西!裸设备都清除一边吧花点时间总比后面遇到问题重新来一次强)
执行完毕 运行root.sh
补丁下载地址:http://www.itpub.net/thread-1465836-1-1.html 二楼回帖有地址
CSDN下载地址:http://download.csdn.net/download/xwsnet/3971277
目录 返回
首页