Failed to upgrade Oracle Cluster Registry configuration
来源:互联网 发布:dnf端口辅助黄金点 编辑:程序博客网 时间:2024/04/30 03:01
安装10gR2 RAC,安装clusterware的时候,执行脚本root.sh报错:
[root@rac1 product]# /u01/app/oracle/product/10.2.0/db_1/root.sh Checking to see if Oracle CRS stack is already configuredSetting the permissions on OCR backup directorySetting up NS directoriesFailed to upgrade Oracle Cluster Registry configuration
466673.1
[root@rac1 product]# cd /u01/app/oracle/product/10.2.0/db_1/bin[root@rac1 bin]# ./clsfmt ocr /dev/raw/raw1clsfmt: Received unexpected error 4 from skgfifiskgfifi: Additional information: -2Additional information: 1073741824
下载补丁程序并在节点一部署:
补丁程序4679769: FAILED TO FORMAT OCR DISK USING EMC POWERPATH
[root@rac1 4679769]# su - oracle[oracle@rac1 ~]$ cd /opt/bug/4679769/[oracle@rac1 4679769]$ cp $ORACLE_HOME/bin/clsfmt.bin $ORACLE_HOME/bin/clsfmt.bin.bak[oracle@rac1 4679769]$ cp clsfmt.bin $ORACLE_HOME/bin/clsfmt.bin[oracle@rac1 ~]$ chmod 755 $ORACLE_HOME/bin/clsfmt.bin
再次执行还是报错:
[root@rac1 4679769]# /u01/app/oracle/product/10.2.0/db_1/root.shWARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by rootWARNING: directory '/u01/app/oracle/product' is not owned by rootWARNING: directory '/u01/app/oracle' is not owned by rootChecking to see if Oracle CRS stack is already configuredSetting the permissions on OCR backup directorySetting up NS directoriesFailed to upgrade Oracle Cluster Registry configuration[root@rac1 4679769]# cd[root@rac1 ~]# cd /u01/app/oracle/product/10.2.0/db_1/bin[root@rac1 bin]# ./clsfmt ocr /dev/raw/raw1clsfmt: successfully initialized file /dev/raw/raw1
检查日志:
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle. All rights reserved.2015-12-19 15:27:34.462: [ OCRCONF][537025408]ocrconfig starts...2015-12-19 15:27:34.463: [ OCRCONF][537025408]Upgrading OCR data2015-12-19 15:27:34.837: [ OCRCONF][537025408]OCR already in current version.2015-12-19 15:27:34.871: [ OCRCONF][537025408]Failed to call clsssinit (21)2015-12-19 15:27:34.871: [ OCRCONF][537025408]Failed to make a backup copy of OCR2015-12-19 15:27:34.871: [ OCRCONF][537025408]Exiting [status=failed]...
清一下ocr等磁盘
[root@rac1 client]# dd if=/dev/zero of=/dev/raw/raw1 bs=1M count=10241024+0 records in1024+0 records out1073741824 bytes (1.1 GB) copied, 10.8194 seconds, 99.2 MB/s[root@rac1 client]# dd if=/dev/zero of=/dev/raw/raw2 bs=1M count=10241024+0 records in1024+0 records out1073741824 bytes (1.1 GB) copied, 11.7409 seconds, 91.5 MB/s[root@rac1 client]# dd if=/dev/zero of=/dev/raw/raw3 bs=1M count=10241024+0 records in1024+0 records out1073741824 bytes (1.1 GB) copied, 9.81996 seconds, 109 MB/s[root@rac1 client]# dd if=/dev/zero of=/dev/raw/raw4 bs=1M count=10241024+0 records in1024+0 records out1073741824 bytes (1.1 GB) copied, 10.6041 seconds, 101 MB/s[root@rac1 client]# dd if=/dev/zero of=/dev/raw/raw5 bs=1M count=10241024+0 records in1024+0 records out1073741824 bytes (1.1 GB) copied, 10.8144 seconds, 99.3 MB/s[root@rac1 client]# dd if=/dev/zero of=/dev/raw/raw6 bs=1M count=20482048+0 records in2048+0 records out2147483648 bytes (2.1 GB) copied, 21.5431 seconds, 99.7 MB/s[root@rac1 client]# dd if=/dev/zero of=/dev/raw/raw6 bs=1M count=3072dd: writing `/dev/raw/raw6': No space left on device2049+0 records in2048+0 records out2147483648 bytes (2.1 GB) copied, 20.6082 seconds, 104 MB/s
[root@rac1 client]# /u01/app/oracle/product/10.2.0/db_1/root.shWARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by rootWARNING: directory '/u01/app/oracle/product' is not owned by rootWARNING: directory '/u01/app/oracle' is not owned by rootChecking to see if Oracle CRS stack is already configuredSetting the permissions on OCR backup directorySetting up NS directoriesOracle Cluster Registry configuration upgraded successfullyWARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by rootWARNING: directory '/u01/app/oracle/product' is not owned by rootWARNING: directory '/u01/app/oracle' is not owned by rootSuccessfully 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 rac1node 2: rac2 rac2-priv rac2Creating OCR keys for user 'root', privgrp 'root'..Operation successful.Now formatting voting device: /dev/raw/raw3Now formatting voting device: /dev/raw/raw4Now formatting voting device: /dev/raw/raw5Format of 3 voting devices complete.Startup will be queued to init within 90 seconds.Adding daemons to inittabExpecting the CRS daemons to be up within 600 seconds.CSS is active on these nodes. rac1CSS is inactive on these nodes. rac2Local node checking complete.Run root.sh on remaining nodes to start CRS daemons.
搞定!!
但是在节点2执行root.sh脚本的时候又报错了:
/u01/app/oracle/product/10.2.0/db_1/jdk/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
但是再次重新执行一次的时候:
[root@rac2 client]# /u01/app/oracle/product/10.2.0/db_1/root.shWARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by rootWARNING: directory '/u01/app/oracle/product' is not owned by rootWARNING: directory '/u01/app/oracle' is not owned by rootChecking to see if Oracle CRS stack is already configuredOracle CRS stack is already configured and will be running under init(1M)
好吧,那就继续安装,看看后续会有什么问题。
发现,是vip配置问题。忽略了上面的问题,会出现vip配置的问题。
解决:
运行vipca,但是报错:
/u01/app/oracle/product/10.2.0/db_1/jdk/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
修改vipca
set nu 在第 120 行左右的 IF 语句之后,添加一条 unset 命令,从而确保 LD_ASSUME_KERNEL 未经过设置,if [ "$arch" = "i686" -o "$arch" = "ia64" ]thenLD_ASSUME_KERNEL=2.4.19export LD_ASSUME_KERNELunset LD_ASSUME_KERNELfi
执行vipca成功。
0 0
- Failed to upgrade Oracle Cluster Registry configuration
- Failed to upgrade Oracle Cluster Registry configuration(root.sh)
- Oracle 10gR2 RAC安装报:Failed to upgrade Oracle Cluster Registry configuration
- Executing root.sh errors with "Failed To Upgrade Oracle Cluster Registry Configuration" [ID 466673.1]
- Executing root.sh errors with "Failed To Upgrade Oracle Cluster Registry Configuration" [ID 466673.1
- Executing root.sh errors with "Failed To Upgrade Oracle Cluster Registry Configuration" [ID 466673.1
- Executing root.sh errors with "Failed To Upgrade Oracle Cluster Registry Configuration" [ID 466673.
- rac安装clusterware遇到:Failed to upgrade Oracle Cluster Registry configuration
- 10G RAC安装时Failed to upgrade Oracle Cluster Registry configuration
- Redhat 5.4 RAC multipath 配置raw,运行root.sh 时报错Failed to upgrade Oracle Cluster Registry configuration 解决方法
- Redhat 5.4 RAC multipath 配置raw,运行root.sh 时报错Failed to upgrade Oracle Cluster Registry configuration
- Redhat 5.4 RAC multipath 配置raw,运行root.sh 时报错Failed to upgrade Oracle Cluster Registry configuration
- Redhat 5.4 RAC multipath 配置raw,运行root.sh 时报错Failed to upgrade Oracle Cluster Registry configuration
- About Oracle Cluster Registry
- The Oracle Cluster Registry in RAC (OCR)
- Oracle Study之--Oracle 11g RAC故障(Failed to create or upgrade OLR)
- Failed to create or upgrade OLR
- BUG:Failed to create or upgrade OLR
- 对比 Hadoop MapReduce 和 Spark 的 Shuffle 过程
- 数据产品定位
- 示例代码中的 SlidingTabLayout 简单使用(二)
- hdoj 自共轭Ferrers图 1246 (规律)
- 一些经验总结与常识--沉于思考,默默学习!
- Failed to upgrade Oracle Cluster Registry configuration
- IO_原理_分类_标准步骤JAVA146
- 移动web 页面显示echarts图表
- 实验三,温湿度模块
- Scala case类
- Android Studio搭建Android集成开发环境
- 视频图像传输与显示(2)——彩色模拟电视广播制式NTSC、PAL和SECAM
- input text 框当密码框使用(火狐下有默认值的bug)
- 思维导图操作书 读书笔记