ITPub博客

首页 > 数据库 > Oracle > 12c rac节点2执行root.sh脚本报错(CLSRSC-507,crsutils.pm line 3681)

12c rac节点2执行root.sh脚本报错(CLSRSC-507,crsutils.pm line 3681)

原创 Oracle 作者:张宇999 时间:2015-07-04 13:32:26 1 删除 编辑
在安装配置oracle12.1.0.2 linux x64版本rac过程中,执行root.sh脚本,在节点1执行成功,但是在节点2执行中报错如下:
/u01/app/12.1.0.2/grid/root.sh
Performing root user operation.
 
The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/12.1.0.2/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/12.1.0.2/grid/crs/install/crsconfig_params
2015/07/01 19:27:27 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
 
2015/07/01 19:27:27 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
 
2015/07/01 19:27:30 CLSRSC-363: User ignored prerequisites during installation
 
2015/07/01 19:28:12 CLSRSC-507: The root script cannot proceed on this node node2 because either the first-node operations have not completed on node node1 or there was an error in obtaining the status of the first-node operations.
 
Died at /u01/app/12.1.0.2/grid/crs/install/crsutils.pm line 3681.
The command '/u01/app/12.1.0.2/grid/perl/bin/perl -I/u01/app/12.1.0.2/grid/perl/lib -I/u01/app/12.1.0.2/grid/crs/install /u01/app/12.1.0.2/grid/crs/install/rootcrs.pl ' execution failed

    确认该问题由bug导致,需要打补丁18456643(参考文档1919825.1)
    在节点2打补丁18456643
[grid@node2 18456643]$ /u01/app/12.1.0.2/grid/OPatch/opatch apply
Oracle Interim Patch Installer version 12.1.0.1.3
Copyright (c) 2015, Oracle Corporation.  All rights reserved.
 
 
Oracle Home       : /u01/app/12.1.0.2/grid
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/12.1.0.2/grid/oraInst.loc
OPatch version    : 12.1.0.1.3
OUI version       : 12.1.0.2.0
Log file location : /u01/app/12.1.0.2/grid/cfgtoollogs/opatch/18456643_Jul_02_2015_11_11_37/apply2015-07-02_11-11-36AM_1.log
 
Applying interim patch '18456643' to OH '/u01/app/12.1.0.2/grid'
Verifying environment and performing prerequisite checks...
All checks passed.
 
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/12.1.0.2/grid')
 
 
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
 
Patching component oracle.rdbms.rsf, 12.1.0.2.0...
 
Patching component oracle.rdbms.deconfig, 12.1.0.2.0...
 
Patching component oracle.rdbms, 12.1.0.2.0...
 
Verifying the update...
Patch 18456643 successfully applied

    打补丁成功后,在节点2重新执行root.sh脚本如下:
#/u01/app/12.1.0.2/grid/root.sh
……
CRS-5017: The resource action "ora.asm start" encountered the following error: 
ORA-15135: cluster is not in the rolling patch
. For details refer to "(:CLSN00107:)" in "/u01/app/grid/diag/crs/node2/crs/trace/ohasd_oraagent_grid.trc".
CRS-2883: Resource 'ora.asm' failed during Clusterware stack start.
CRS-4406: Oracle High Availability Services synchronous start failed.
CRS-4000: Command Start failed, or completed with errors.
2015/07/02 11:41:48 CLSRSC-117: Failed to start Oracle Clusterware stack
 
Died at /u01/app/12.1.0.2/grid/crs/install/crsinstall.pm line 914.
The command '/u01/app/12.1.0.2/grid/perl/bin/perl -I/u01/app/12.1.0.2/grid/perl/lib -I/u01/app/12.1.0.2/grid/crs/install /u01/app/12.1.0.2/grid/crs/install/rootcrs.pl ' execution failed

    该错误是由于之前打opatch补丁,只在节点2打了补丁,节点1还没有打补丁,两边patch不一致从而导致节点2无法启动,所以会报ORA-15135: cluster is not in the rolling patch的错误,现在需要给节点1也打18456643补丁。在给节点1打补丁过程中会报错当前由进程在运行过程中,需要停止所有服务再打补丁,但是由于rac当前还在安装过程中,oui还在等待继续下一步,至迟,完全删除卸载oracle,重新进行安装,安装步骤如下:
    1、正常安装grid集群件
    2、在提升执行root脚本的时候,两个节点均不执行该步骤
    3、分别在两节点安装补丁18456643
    4、按照顺序在两个节点执行root.sh脚本
    12c rac集群件安装成功后,状态查看:
[grid@node1 ~]$ crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.CRS.dg
               ONLINE  ONLINE       node1                    STABLE
               ONLINE  ONLINE       node2                    STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       node1                    STABLE
               ONLINE  ONLINE       node2                    STABLE
ora.asm
               ONLINE  ONLINE       node1                    Started,STABLE
               ONLINE  ONLINE       node2                    Started,STABLE
ora.net1.network
               ONLINE  ONLINE       node1                    STABLE
               ONLINE  ONLINE       node2                    STABLE
ora.ons
               ONLINE  ONLINE       node1                    STABLE
               ONLINE  ONLINE       node2                    STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       node2                    STABLE
ora.MGMTLSNR
      1        ONLINE  ONLINE       node1                    169.254.230.82 20.20
                                                             .20.1,STABLE
ora.cvu
      1        ONLINE  ONLINE       node1                    STABLE
ora.mgmtdb
      1        ONLINE  ONLINE       node1                    Open,STABLE
ora.node1.vip
      1        ONLINE  ONLINE       node1                    STABLE
ora.node2.vip
      1        ONLINE  ONLINE       node2                    STABLE
ora.oc4j
      1        ONLINE  ONLINE       node1                    STABLE
ora.scan1.vip
      1        ONLINE  ONLINE       node2                    STABLE
--------------------------------------------------------------------------------

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

请登录后发表评论 登录
全部评论

注册时间:2012-09-14

  • 博文量
    7
  • 访问量
    42605