在安装GRID过程中,运行root.sh脚本时报如下信息:
Adding Clusterware entries to upstartCRS-2672: Attempting to start 'ora.mdnsd' on 'rac11g1'CRS-2676: Start of 'ora.mdnsd' on 'rac11g1' succeededCRS-2672: Attempting to start 'ora.gpnpd' on 'rac11g1'CRS-2676: Start of 'ora.gpnpd' on 'rac11g1' succeededCRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac11g1'CRS-2672: Attempting to start 'ora.gipcd' on 'rac11g1'CRS-2676: Start of 'ora.gipcd' on 'rac11g1' succeededCRS-2676: Start of 'ora.cssdmonitor' on 'rac11g1' succeededCRS-2672: Attempting to start 'ora.cssd' on 'rac11g1'CRS-2672: Attempting to start 'ora.diskmon' on 'rac11g1'CRS-2676: Start of 'ora.diskmon' on 'rac11g1' succeededCRS-2676: Start of 'ora.cssd' on 'rac11g1' succeededASM created and started successfully.Disk Group ocr created successfully.Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Errors in file :ORA-27091: unable to queue I/OORA-15081: failed to submit an I/O operation to a diskORA-06512: at line 4Failed to create Oracle Cluster Registry configuration, rc 255Oracle Grid Infrastructure Repository configuration failed at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 6919./u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed
google中有人遇到类似的错误,原因是:
Diskgroup is succesfully created, root.sh fails at generating the OCR keys when invoking ocrconfig because userid used for ASMlib driver differs from grid software owner.
本次安装是使用udev,检查udev脚本配置的时候发现asm磁盘的对应属主是grid,而安装时使用的对应的操作系统用户是oragrid。
最后修改udev配置文件,将asm磁盘修改成正确的属主。