baidu_41809005
2022-01-13 19:08
采纳率: 0%
浏览 73

CRS-2800: Cannot start resource 'ora.ctssd' as it is already in the INTERMEDIATE state

报错内容如下:
[root@rac2 install]# tail -n2000 root_rac2_2022-01-13_18-11-33.log
Performing root user operation for Oracle 11g 

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /oracle/app/11.2.0/grid
   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: /oracle/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 oracle-ohasd.service
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node rac1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
Start of resource "ora.asm" failed
CRS-2800: Cannot start resource 'ora.ctssd' as it is already in the INTERMEDIATE state on server 'rac2'
CRS-4000: Command Start failed, or completed with errors.
Failed to start Oracle Grid Infrastructure stack
Failed to start ASM at /oracle/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 1339.
/oracle/app/11.2.0/grid/perl/bin/perl -I/oracle/app/11.2.0/grid/perl/lib -I/oracle/app/11.2.0/grid/crs/install /oracle/app/11.2.0/grid/crs/install/rootcrs.pl execution failed
[root@rac2 install]# tail -n2000 root_rac2_2022-01-13_18-11-33.log
Performing root user operation for Oracle 11g 

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /oracle/app/11.2.0/grid
   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: /oracle/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 oracle-ohasd.service
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node rac1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
Start of resource "ora.asm" failed
CRS-2800: Cannot start resource 'ora.ctssd' as it is already in the INTERMEDIATE state on server 'rac2'
CRS-4000: Command Start failed, or completed with errors.
Failed to start Oracle Grid Infrastructure stack
Failed to start ASM at /oracle/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 1339.
/oracle/app/11.2.0/grid/perl/bin/perl -I/oracle/app/11.2.0/grid/perl/lib -I/oracle/app/11.2.0/grid/crs/install /oracle/app/11.2.0/grid/crs/install/rootcrs.pl execution failed

执行crsctl stat res -t -init发现crsdoffline

[grid@rac2 root]$ crsctl stat res -t -init
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
      1        ONLINE  ONLINE       rac2                     Started             
ora.cluster_interconnect.haip
      1        ONLINE  ONLINE       rac2                                         
ora.crf
      1        ONLINE  ONLINE       rac2                                         
ora.crsd
      1        OFFLINE  OFFLINE                                        
ora.cssd
      1        ONLINE  ONLINE       rac2                                         
ora.cssdmonitor
      1        ONLINE  ONLINE       rac2                                         
ora.ctssd
      1        ONLINE  ONLINE       rac2                     ACTIVE:0            
ora.diskmon
      1        OFFLINE OFFLINE                                                   
ora.evmd
      1        OFFLINE OFFLINE                                                   
ora.gipcd
      1        ONLINE  ONLINE       rac2                                         
ora.gpnpd
      1        ONLINE  ONLINE       rac2                                         
ora.mdnsd
      1        ONLINE  ONLINE       rac2 

手动启动后变成INTERMEDIATE

[grid@rac2 root]$ crsctl start resource ora.crsd -init
CRS-2672: Attempting to start 'ora.crsd' on 'rac2'
CRS-2676: Start of 'ora.crsd' on 'rac2' succeeded
[grid@rac2 root]$ crsctl stat res -t -init
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
      1        ONLINE  ONLINE       rac2                     Started             
ora.cluster_interconnect.haip
      1        ONLINE  ONLINE       rac2                                         
ora.crf
      1        ONLINE  ONLINE       rac2                                         
ora.crsd
      1        ONLINE  INTERMEDIATE rac2                                         
ora.cssd
      1        ONLINE  ONLINE       rac2                                         
ora.cssdmonitor
      1        ONLINE  ONLINE       rac2                                         
ora.ctssd
      1        ONLINE  ONLINE       rac2                     ACTIVE:0            
ora.diskmon
      1        OFFLINE OFFLINE                                                   
ora.evmd
      1        OFFLINE OFFLINE                                                   
ora.gipcd
      1        ONLINE  ONLINE       rac2                                         
ora.gpnpd
      1        ONLINE  ONLINE       rac2                                         
ora.mdnsd
      1        ONLINE  ONLINE       rac2 

crsd.log报错如下
[grid@rac2 ~]$ cd $ORACLE_HOME
[grid@rac2 grid]$ cd log/
[grid@rac2 log]$ cd rac2/
[grid@rac2 rac2]$ cd crsd/
[grid@rac2 crsd]$ tail -f crsd.log 
2022-01-14 01:17:46.971: [  OCRMAS][1892235008]proath_master: SUCCESSFULLY CONNECTED TO THE MASTER
2022-01-14 01:17:46.971: [  OCRMAS][1892235008]th_master: NEW OCR MASTER IS 1
2022-01-14 01:17:46.971: [  OCRSRV][2022037312]th_snap_local_spawn: Inside snap local spawn. host is [rac2]
2022-01-14 01:17:46.974: [ CRSMAIN][2022037312] Running mode check...
2022-01-14 01:17:46.974: [ CRSMAIN][2022037312] Running as user: root
2022-01-14 01:17:46.974: [ CRSMAIN][2022037312] CRSD running as the Privileged user

2022-01-14 01:17:46.974: [ CRSMAIN][2022037312] Checking compatibility...
2022-01-14 01:17:46.974: [  CLSVER][2022037312] Static Version 11.2.0.4.0
2022-01-14 01:18:11.413: [ CRSMAIN][1922373376] Policy Engine is not initialized yet!
2022-01-14 01:18:41.429: [ CRSMAIN][1922373376] Policy Engine is not initialized yet!
2022-01-14 01:19:11.444: [ CRSMAIN][1922373376] Policy Engine is not initialized yet!
2022-01-14 01:19:41.441: [ CRSMAIN][1922373376] Policy Engine is not initialized yet!
2022-01-14 01:20:11.443: [ CRSMAIN][1922373376] Policy Engine is not initialized yet!
2022-01-14 01:20:41.436: [ CRSMAIN][1922373376] Policy Engine is not initialized yet!

不是selinux状态的问题
[root@rac2 install]# getenforce
Disabled
[root@rac2 install]#

磁盘组没有selinux问题
[root@rac1 ~]# ls -l /dev/oracleasm/disks/
total 0
brw-rw---- 1 grid asmadmin 253, 3 Jan 14 01:30 ASM_CRS1
brw-rw---- 1 grid asmadmin 253, 4 Jan 14 01:30 ASM_CRS2
brw-rw---- 1 grid asmadmin 253, 5 Jan 14 01:30 ASM_CRS3
brw-rw---- 1 grid asmadmin 253, 6 Jan 14 00:41 ASM_DATA1
brw-rw---- 1 grid asmadmin 253, 7 Jan 14 00:41 ASM_FRA1
[root@rac1 ~]# 

[root@rac2 ~]# ls -l /dev/oracleasm/disks/
total 0
brw-rw---- 1 grid asmadmin 253, 3 Jan 14 01:30 ASM_CRS1
brw-rw---- 1 grid asmadmin 253, 4 Jan 14 01:30 ASM_CRS2
brw-rw---- 1 grid asmadmin 253, 5 Jan 14 01:30 ASM_CRS3
brw-rw---- 1 grid asmadmin 253, 6 Jan 14 00:41 ASM_DATA1
brw-rw---- 1 grid asmadmin 253, 7 Jan 14 00:41 ASM_FRA1
[root@rac2 ~]#
  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 收藏
  • 邀请回答

4条回答 默认 最新

相关推荐 更多相似问题