问题描述
当启动ASM实例时出现以下错误:
[grid@strong ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.4.0 Production on Sat Sep 30 17:35:34 2017
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-01078: failure in processing system parameters
ORA-29701: unable to connect to Cluster Synchronization Service
SQL>
解决办法
出现上面的错误,原因是没有启动CSS(Cluster Synchronization Services),查看CSS状态如下:
[grid@strong ~]$ crsctl check css
CRS-4530: Communications failure contacting Cluster Synchronization Services daemon
启动CSS:
[grid@strong ~]$ crsctl start resource ora.cssd
CRS-2672: Attempting to start 'ora.cssd' on 'strong'
CRS-2672: Attempting to start 'ora.diskmon' on 'strong'
CRS-2676: Start of 'ora.diskmon' on 'strong' succeeded
CRS-2676: Start of 'ora.cssd' on 'strong' succeeded
[grid@strong ~]$ crsctl check css
CRS-4529: Cluster Synchronization Services is online
[grid@strong ~]$
再次启动ASM实例:
[grid@strong ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.4.0 Production on Sat Sep 30 17:51:21 2017
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ASM instance started
Total System Global Area 1135747072 bytes
Fixed Size 2260728 bytes
Variable Size 1108320520 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted
SQL>