查看: 1372|回复: 2

[安装] 在原环境卸载重装10g RAC时,正常安装crs集群软件,在执行root.sh报错

[复制链接]
认证徽章
论坛徽章:
0
发表于 2016-8-16 12:10 | 显示全部楼层 |阅读模式
[root@s1-10g ~]# /oracle/app/oraInventory/orainstRoot.sh
Changing permissions of /oracle/app/oraInventory to 770.
Changing groupname of /oracle/app/oraInventory to oinstall.
The execution of the script is complete
[root@s1-10g ~]# /oracle/app/product/10.2.0/crs_1/root.sh
WARNING: directory '/oracle/app/product/10.2.0' is not owned by root
WARNING: directory '/oracle/app/product' is not owned by root
WARNING: directory '/oracle/app' is not owned by root
WARNING: directory '/oracle' 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
Failed to upgrade Oracle Cluster Registry configuration
[root@s1-10g ~]#

[root@s1-10g s1-10g]# more /oracle/app/product/10.2.0/crs_1/log/s1-10g/alerts1-10g.log
2016-08-16 10:16:25.774
[client(21906)]CRS-1006:The OCR location /dev/raw/raw2 is inaccessible. Details in /oracle/app/product/10.2.0/crs_1/log/s1-10g/client/ocrconfig_21906.log.
2016-08-16 10:16:25.834
[client(21906)]CRS-1001:The OCR was formatted using version 2.
[root@s1-10g s1-10g]#

[root@s1-10g client]# more /oracle/app/product/10.2.0/crs_1/log/s1-10g/client/ocrconfig_21906.log
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle.  All rights reserved.
2016-08-16 10:16:25.221: [ OCRCONF][3830324096]ocrconfig starts...
2016-08-16 10:16:25.221: [ OCRCONF][3830324096]Upgrading OCR data
2016-08-16 10:16:25.720: [  OCRRAW][3830324096]propriogid:1: INVALID FORMAT
2016-08-16 10:16:25.721: [  OCRRAW][3830324096]propriogid:1: INVALID FORMAT
2016-08-16 10:16:25.721: [  OCRRAW][3830324096]proprioini: both disks are not OCR formatted
2016-08-16 10:16:25.721: [  OCRRAW][3830324096]proprinit: Could not open raw device
2016-08-16 10:16:25.722: [ default][3830324096]a_init:7!: Backend init unsuccessful : [26]
2016-08-16 10:16:25.722: [ OCRCONF][3830324096]Exporting OCR data to [OCRUPGRADEFILE]
2016-08-16 10:16:25.722: [  OCRAPI][3830324096]a_init:7!: Backend init unsuccessful : [33]
2016-08-16 10:16:25.722: [ OCRCONF][3830324096]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configured]
2016-08-16 10:16:25.747: [  OCRRAW][3830324096]propriogid:1: INVALID FORMAT
2016-08-16 10:16:25.747: [  OCRRAW][3830324096]propriogid:1: INVALID FORMAT
2016-08-16 10:16:25.747: [  OCRRAW][3830324096]proprioini: both disks are not OCR formatted
2016-08-16 10:16:25.747: [  OCRRAW][3830324096]proprinit: Could not open raw device
2016-08-16 10:16:25.747: [ default][3830324096]a_init:7!: Backend init unsuccessful : [26]
2016-08-16 10:16:25.773: [  OCRRAW][3830324096]propriogid:1: INVALID FORMAT
2016-08-16 10:16:25.774: [  OCRRAW][3830324096]propriogid:1: INVALID FORMAT
2016-08-16 10:16:25.775: [  OCRRAW][3830324096]ibctx:1:ERROR: INVALID FORMAT
2016-08-16 10:16:25.775: [  OCRRAW][3830324096]proprinitroblem reading the bootblock or superbloc 22

2016-08-16 10:16:25.799: [  OCRRAW][3830324096]propriogid:1: INVALID FORMAT
2016-08-16 10:16:25.800: [  OCRRAW][3830324096]propriogid:1: INVALID FORMAT
2016-08-16 10:16:25.811: [  OCRRAW][3830324096]propriowv: Vote information on disk 0 [/dev/raw/raw1] is adjusted from [0/0] to [1/2]
2016-08-16 10:16:25.811: [  OCRRAW][3830324096]propriowv: Vote information on disk 1 [/dev/raw/raw2] is adjusted from [0/0] to [1/2]
2016-08-16 10:16:25.834: [  OCRRAW][3830324096]propriniconfig:No 92 configuration
2016-08-16 10:16:25.834: [  OCRAPI][3830324096]a_init:6a: Backend init successful
2016-08-16 10:16:25.909: [ OCRCONF][3830324096]Initialized DATABASE keys in OCR
2016-08-16 10:16:25.933: [ OCRCONF][3830324096]csetskgfrblock0: clsfmt returned with error [4].
2016-08-16 10:16:25.933: [ OCRCONF][3830324096]Failure in setting block0 [-1]
2016-08-16 10:16:25.933: [ OCRCONF][3830324096]OCR block 0 is not set !
2016-08-16 10:16:25.933: [ OCRCONF][3830324096]Exiting [status=failed]...
[root@s1-10g client]#

按理说,相关环境已经清理干净了,,ocr和vote的相关的裸设备都已经dd格式化过来,,不知道哪里还有问题??

论坛徽章:
120
现任管理团队成员
日期:2011-05-07 01:45:08乌索普
日期:2019-02-14 23:54:04
发表于 2016-9-12 17:13 | 显示全部楼层
10.2.0.1 这是一个很著名的bug~ 执行root.sh前,必须需要替换一个文件;否则几乎100%重现的 (很少听说有人安装没有碰到过。。。当然有些人不适用多路径存储,也有可能规避这个bug)

你查查吧,网上应该有答案,太旧了,忘了是哪个文件了~

使用道具 举报

回复
认证徽章
论坛徽章:
25
咸鸭蛋
日期:2012-04-19 22:15:41技术图书徽章
日期:2016-11-05 10:34:54弗兰奇
日期:2016-12-04 22:53:10托尼托尼·乔巴
日期:2016-12-29 12:51:28蒙奇·D·路飞
日期:2017-03-17 17:18:21罗罗诺亚·索隆
日期:2017-03-17 17:24:44山治
日期:2017-04-21 13:55:28娜美
日期:2017-05-19 14:49:04技术图书徽章
日期:2017-07-10 17:12:09托尼托尼·乔巴
日期:2018-02-01 10:07:45
发表于 2016-11-5 16:08 | 显示全部楼层
clsfamt.bin

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 
京ICP备09055130号-4  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表