Oracle11gr2 安装RAC root.sh报错

环境是REHL5.4  2个节点,安装Oracle11gr2前面一直顺利,当到第一个节点需要执行./roo.sh时,报错2个节点的用Oracleasm scandisks,listdisks都能正常发现设备[root@rac-stb bin]# oracleasm listdisksVOL1  --对应sdb1VOL2  --对应sdc1VOL3 ...显示全部
环境是REHL5.4  2个节点,安装Oracle11gr2
前面一直顺利,当到第一个节点需要执行./roo.sh时,报错
2个节点的用Oracleasm scandisks,listdisks都能正常发现设备

[root@rac-stb bin]# oracleasm listdisks
VOL1  --对应sdb1
VOL2  --对应sdc1
VOL3  --对应sdd3


[root@rac-stb bin]# ll /dev/sd*
brw-rw---- 1 root disk     8,  0 Jul 13 16:34 /dev/sda
brw-rw---- 1 root disk     8,  1 Jul 13 16:35 /dev/sda1
brw-rw---- 1 root disk     8,  2 Jul 13 16:34 /dev/sda2
brw-rw---- 1 grid asmadmin 8, 16 Jul 13 16:34 /dev/sdb
brw-rw---- 1 grid asmadmin 8, 17 Jul 13 17:00 /dev/sdb1
brw-rw---- 1 grid asmadmin 8, 32 Jul 13 16:34 /dev/sdc
brw-rw---- 1 grid asmadmin 8, 33 Jul 13 17:00 /dev/sdc1
brw-rw---- 1 grid asmadmin 8, 48 Jul 13 16:34 /dev/sdd
brw-rw---- 1 grid asmadmin 8, 51 Jul 13 17:00 /dev/sdd3

麻烦大家看看啊,困扰了几天了。。。


2011-07-13 18:46:15: GPnP peer profile create successfully completed.
2011-07-13 18:46:15: <--- GPnP peer profile successfully created
2011-07-13 18:46:15: GPnP local setup successfully created

2011-07-13 18:46:15: Registering ohasd
2011-07-13 18:46:15: init file = /u01/app/crs_home/crs/init/init.ohasd
2011-07-13 18:46:15: Copying file /u01/app/crs_home/crs/init/init.ohasd to /etc/init.d directory
2011-07-13 18:46:15: Setting init.ohasd permission in /etc/init.d directory
2011-07-13 18:46:15: init file = /u01/app/crs_home/crs/init/ohasd
2011-07-13 18:46:15: Copying file /u01/app/crs_home/crs/init/ohasd to /etc/init.d directory
2011-07-13 18:46:15: Setting ohasd permission in /etc/init.d directory
2011-07-13 18:46:15: Removing "/etc/rc.d/rc3.d/S96ohasd"
2011-07-13 18:46:15: Removing file /etc/rc.d/rc3.d/S96ohasd
2011-07-13 18:46:15: Failure with return code 1 from command rm /etc/rc.d/rc3.d/S96ohasd
2011-07-13 18:46:15: Failed to remove file:
2011-07-13 18:46:15: Creating a link "/etc/rc.d/rc3.d/S96ohasd" pointing to /etc/init.d/ohasd
2011-07-13 18:46:15: Removing "/etc/rc.d/rc5.d/S96ohasd"
2011-07-13 18:46:15: Removing file /etc/rc.d/rc5.d/S96ohasd
2011-07-13 18:46:15: Failure with return code 1 from command rm /etc/rc.d/rc5.d/S96ohasd
2011-07-13 18:46:15: Failed to remove file:
2011-07-13 18:46:15: Creating a link "/etc/rc.d/rc5.d/S96ohasd" pointing to /etc/init.d/ohasd
2011-07-13 18:46:15: Removing "/etc/rc.d/rc0.d/K19ohasd"
2011-07-13 18:46:15: Removing file /etc/rc.d/rc0.d/K19ohasd
2011-07-13 18:46:15: Failure with return code 1 from command rm /etc/rc.d/rc0.d/K19ohasd
2011-07-13 18:46:15: Failed to remove file:
2011-07-13 18:46:15: Creating a link "/etc/rc.d/rc0.d/K19ohasd" pointing to /etc/init.d/ohasd
2011-07-13 18:46:15: Removing "/etc/rc.d/rc1.d/K19ohasd"
2011-07-13 18:46:15: Removing file /etc/rc.d/rc1.d/K19ohasd
2011-07-13 18:46:15: Failure with return code 1 from command rm /etc/rc.d/rc1.d/K19ohasd
2011-07-13 18:46:15: Failed to remove file:
2011-07-13 18:46:15: Creating a link "/etc/rc.d/rc1.d/K19ohasd" pointing to /etc/init.d/ohasd
2011-07-13 18:46:15: Removing "/etc/rc.d/rc2.d/K19ohasd"
2011-07-13 18:46:15: Removing file /etc/rc.d/rc2.d/K19ohasd
2011-07-13 18:46:15: Failure with return code 1 from command rm /etc/rc.d/rc2.d/K19ohasd
2011-07-13 18:46:15: Failed to remove file:
2011-07-13 18:46:15: Creating a link "/etc/rc.d/rc2.d/K19ohasd" pointing to /etc/init.d/ohasd
2011-07-13 18:46:15: Removing "/etc/rc.d/rc4.d/K19ohasd"
2011-07-13 18:46:15: Removing file /etc/rc.d/rc4.d/K19ohasd
2011-07-13 18:46:15: Failure with return code 1 from command rm /etc/rc.d/rc4.d/K19ohasd
2011-07-13 18:46:15: Failed to remove file:
2011-07-13 18:46:15: Creating a link "/etc/rc.d/rc4.d/K19ohasd" pointing to /etc/init.d/ohasd
2011-07-13 18:46:15: Removing "/etc/rc.d/rc6.d/K19ohasd"
2011-07-13 18:46:15: Removing file /etc/rc.d/rc6.d/K19ohasd
2011-07-13 18:46:15: Failure with return code 1 from command rm /etc/rc.d/rc6.d/K19ohasd
2011-07-13 18:46:15: Failed to remove file:
2011-07-13 18:46:15: Creating a link "/etc/rc.d/rc6.d/K19ohasd" pointing to /etc/init.d/ohasd
2011-07-13 18:46:15: The file ohasd has been successfully linked to the RC directories
2011-07-13 18:46:15: Starting ohasd
2011-07-13 18:46:15: itab entries=
2011-07-13 18:46:21: Created backup /etc/inittab.no_crs
2011-07-13 18:46:21: Appending to /etc/inittab.tmp:
2011-07-13 18:46:21: h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1
2011-07-13 18:46:21: Done updating /etc/inittab.tmp
2011-07-13 18:46:21: Saved /etc/inittab.crs
2011-07-13 18:46:21: Installed new /etc/inittab
2011-07-13 18:46:26: ohasd is starting
2011-07-13 18:46:26: Checking ohasd
2011-07-13 18:46:27: ohasd started successfully
2011-07-13 18:46:27: Creating CRS resources and dependencies
2011-07-13 18:46:27: Configuring HASD
2011-07-13 18:46:27: Registering type ora.daemon.type
2011-07-13 18:46:34: Registering type ora.mdns.type
2011-07-13 18:46:36: Registering type ora.gpnp.type
2011-07-13 18:46:37: Registering type ora.gipc.type
2011-07-13 18:46:39: Registering type ora.cssd.type
2011-07-13 18:46:43: Registering type ora.cssdmonitor.type
2011-07-13 18:46:49: Registering type ora.crs.type
2011-07-13 18:46:51: Registering type ora.evm.type
2011-07-13 18:46:53: Registering type ora.ctss.type
2011-07-13 18:46:54: Registering type ora.asm.type
2011-07-13 18:46:58: Registering type ora.drivers.acfs.type
2011-07-13 18:47:01: Registering type ora.diskmon.type
2011-07-13 18:47:34: ADVM/ACFS is configured

2011-07-13 18:47:35: Successfully created CRS resources for cluster daemon and ASM
2011-07-13 18:47:35: Checking if initial configuration has been performed
2011-07-13 18:47:35: Starting CSS in exclusive mode
2011-07-13 18:48:06: CRS-2672: Attempting to start 'ora.gipcd' on 'rac-pri'
2011-07-13 18:48:06: CRS-2672: Attempting to start 'ora.mdnsd' on 'rac-pri'
2011-07-13 18:48:06: CRS-2676: Start of 'ora.gipcd' on 'rac-pri' succeeded
2011-07-13 18:48:06: CRS-2676: Start of 'ora.mdnsd' on 'rac-pri' succeeded
2011-07-13 18:48:06: CRS-2672: Attempting to start 'ora.gpnpd' on 'rac-pri'
2011-07-13 18:48:06: CRS-2676: Start of 'ora.gpnpd' on 'rac-pri' succeeded
2011-07-13 18:48:06: CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac-pri'
2011-07-13 18:48:06: CRS-2676: Start of 'ora.cssdmonitor' on 'rac-pri' succeeded
2011-07-13 18:48:06: CRS-2672: Attempting to start 'ora.cssd' on 'rac-pri'
2011-07-13 18:48:06: CRS-2672: Attempting to start 'ora.diskmon' on 'rac-pri'
2011-07-13 18:48:06: CRS-2676: Start of 'ora.diskmon' on 'rac-pri' succeeded
2011-07-13 18:48:06: CRS-2676: Start of 'ora.cssd' on 'rac-pri' succeeded
2011-07-13 18:48:06: Querying for existing CSS voting disks
2011-07-13 18:48:06: Performing initial configuration for cluster
2011-07-13 18:48:08: Start of resource "ora.ctssd -init" Succeeded
2011-07-13 18:48:08: Configuring ASM via ASMCA
2011-07-13 18:48:08: Executing as grid: /u01/app/crs_home/bin/asmca -silent -diskGroupName DATA -diskList ORCL:VOL1 -redundancy EXTERNAL -configureLocalASM
2011-07-13 18:48:08: Running as user grid: /u01/app/crs_home/bin/asmca -silent -diskGroupName DATA -diskList ORCL:VOL1 -redundancy EXTERNAL -configureLocalASM
2011-07-13 18:48:08:   Invoking "/u01/app/crs_home/bin/asmca -silent -diskGroupName DATA -diskList ORCL:VOL1 -redundancy EXTERNAL -configureLocalASM" as user "grid"
2011-07-13 18:49:31: Creating or upgrading OCR keys
2011-07-13 18:49:39: Command return code of 255 (65280) from command: /u01/app/crs_home/bin/ocrconfig -upgrade grid oinstall
2011-07-13 18:49:39: Failed to create Oracle Cluster Registry configuration, rc 255
2011-07-13 18:49:39: Exiting exclusive mode
2011-07-13 18:49:39: Command return code of 1 (256) from command: /u01/app/crs_home/bin/crsctl stop resource ora.crsd -init
2011-07-13 18:49:39: Stop of resource "ora.crsd -init" failed
2011-07-13 18:49:39: Failed to stop CRSD
2011-07-13 18:50:13: Initial cluster configuration failed.  See /u01/app/crs_home/cfgtoollogs/crsconfig/rootcrs_rac-pri.log for details


用这个命令验证下共享存储,出问题了,但cvuqdisk这个rpm我是装了的啊

[root@rac-pri ~]# rpm -qa|grep cvu
cvuqdisk-1.0.7-1

[oracle@rac-pri grid]$ ./runcluvfy.sh comp ssa -n rac-pri,rac-stb -s /dev/sdb1,/dev/sbc1,/dev/sdd3

Verifying shared storage accessibility

Checking shared storage accessibility...

ERROR:  /dev/sdb1
PRVF-7017 : Package cvuqdisk not installed

ERROR:  /dev/sbc1
Could not get the type of storage

ERROR:  /dev/sdd3
PRVF-7017 : Package cvuqdisk not installed


Shared storage check failed on nodes "rac-stb,rac-pri"

Verification of shared storage accessibility was unsuccessful on all the specified nodes.收起
参与3

查看其它 2 个回答haku7916的回答

haku7916haku7916项目经理博康
这时候你需要metalink~~~
系统集成 · 2011-07-14
浏览3493

回答者

haku7916
项目经理博康
擅长领域: 服务器AIXUnix

haku7916 最近回答过的问题

回答状态

  • 发布时间:2011-07-14
  • 关注会员:0 人
  • 回答浏览:3493
  • X社区推广