安装11.2.0.4 grid过程中执行root.sh脚本报ORA-15018 ORA-15031 ORA-15025 ORA-15056

Linux 6.7平台上安装Oracle 11.2.0.4版本的grid软件,在节点2上执行root.sh脚本时,报如下错误:
# /u01/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g 


The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/11.2.0/grid


Enter the full pathname of the local bin directory: [/usr/local/bin]: 
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...




Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
Adding Clusterware entries to upstart
CRS-2672: Attempting to start 'ora.mdnsd' on 'hwdbn2'
CRS-2676: Start of 'ora.mdnsd' on 'hwdbn2' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'hwdbn2'
CRS-2676: Start of 'ora.gpnpd' on 'hwdbn2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'hwdbn2'
CRS-2672: Attempting to start 'ora.gipcd' on 'hwdbn2'
CRS-2676: Start of 'ora.cssdmonitor' on 'hwdbn2' succeeded
CRS-2676: Start of 'ora.gipcd' on 'hwdbn2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'hwdbn2'
CRS-2672: Attempting to start 'ora.diskmon' on 'hwdbn2'
CRS-2676: Start of 'ora.diskmon' on 'hwdbn2' succeeded
CRS-2676: Start of 'ora.cssd' on 'hwdbn2' succeeded


Disk Group SYSDG creation failed with the following message:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification '/dev/mapper/sys5g5' matches no disks
ORA-15025: could not open disk "/dev/mapper/sys5g5"
ORA-15056: additional error message




Configuration of ASM ... failed
see asmca logs at /u01/app/grid/cfgtoollogs/asmca for details
Did not succssfully configure and start ASM at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 6912.
/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

首先想到的是权限,果不其然:
[grid@hwdbn2 mapper]$ dd if=/dev/mapper/sys5g4 of=/tmp/sys5.tmp bs=1024M count=1
dd: opening `/dev/mapper/sys5g4': Permission denied

对权限进行纠正后,重新运行root.sh脚本,正常通过。

# /u01/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g 


The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/11.2.0/grid


Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.


Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
User ignored Prerequisites during installation
Installing Trace File Analyzer
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node hwdbn1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
Preparing packages for installation...
cvuqdisk-1.0.9-1
Configure Oracle Grid Infrastructure for a Cluster ... succeeded

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15156791/viewspace-2120384/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/15156791/viewspace-2120384/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值