ORA-01078 ORA-29701 11gr2 asm 單例項重啟系統後不能啟動

lovestanford發表於2014-01-24

使用 sqlplus / as sysasm 啟動asm例項出現下面錯誤資訊:
ORA-01078: failure in processing system parameters
ORA-29701: unable to connect to Cluster Synchronization Service

[root@asmtest ~]# /etc/init.d/oracleasm start
Initializing the Oracle ASMLib driver: [  OK  ]
Scanning the system for Oracle ASMLib disks: [  OK  ]


[grid@asmtest ~]$ sqlplus  / as sysasm

SQL*Plus: Release 11.2.0.1.0 Production on Wed May 30 00:41:21 2012

Copyright (c) 1982, 2009, 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


 
檢視css如下:
css
[grid@asmtest ~]$ crs_stat -p ora.cssd
NAME=ora.cssd
TYPE=ora.cssd.type
ACTION_SCRIPT=
ACTIVE_PLACEMENT=0
AUTO_START=never
CHECK_INTERVAL=30
DESCRIPTION="Resource type for CSSD"
FAILOVER_DELAY=0
FAILURE_INTERVAL=3
FAILURE_THRESHOLD=5
HOSTING_MEMBERS=
PLACEMENT=balanced
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=600
START_TIMEOUT=600
STOP_TIMEOUT=900
UPTIME_THRESHOLD=1m

diskmon:

[grid@asmtest ~]$ crs_stat  -p  ora.diskmon
NAME=ora.diskmon
TYPE=ora.diskmon.type
ACTION_SCRIPT=
ACTIVE_PLACEMENT=0
AUTO_START=never
CHECK_INTERVAL=20
DESCRIPTION="Resource type for Diskmon"
FAILOVER_DELAY=0
FAILURE_INTERVAL=3
FAILURE_THRESHOLD=5
HOSTING_MEMBERS=
PLACEMENT=balanced
RESTART_ATTEMPTS=10
SCRIPT_TIMEOUT=60
START_TIMEOUT=60
STOP_TIMEOUT=60
UPTIME_THRESHOLD=5s

 

css 和diskmon都沒有自動啟動


手工啟動css,啟動過程diskmon也被拉起,如下:

[grid@asmtest ~]$ crsctl start resource ora.cssd
CRS-2672: Attempting to start 'ora.cssd' on 'asmtest'
CRS-2679: Attempting to clean 'ora.diskmon' on 'asmtest'
CRS-2681: Clean of 'ora.diskmon' on 'asmtest' succeeded
CRS-2672: Attempting to start 'ora.diskmon' on 'asmtest'
CRS-2676: Start of 'ora.diskmon' on 'asmtest' succeeded
CRS-2676: Start of 'ora.cssd' on 'asmtest' succeeded


檢視css狀態:

[grid@asmtest ~]$ crs_stat -t
Name           Type           Target    State     Host       
------------------------------------------------------------
ora.DATA.dg    ora....up.type OFFLINE   OFFLINE              
ora....ER.lsnr ora....er.type ONLINE    ONLINE    asmtest    
ora.asm        ora.asm.type   OFFLINE   OFFLINE              
ora....tand.db ora....se.type OFFLINE   OFFLINE              
ora.cssd       ora.cssd.type  ONLINE    ONLINE    asmtest    
ora.diskmon    ora....on.type ONLINE    ONLINE    asmtest    

 

再次手工啟動asm:
[grid@asmtest ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Wed May 30 00:50:24 2012

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup
ASM instance started

Total System Global Area  283930624 bytes
Fixed Size                  2212656 bytes
Variable Size             256552144 bytes
ASM Cache                  25165824 bytes
ASM diskgroups mounted


將css 和diskmon設定為自啟動:
crsctl modify resource "ora.cssd" -attr "AUTO_START=1"
crsctl modify resource "ora.diskmon" -attr "AUTO_START=1"


[grid@asmtest ~]$ crs_stat -p ora.cssd
NAME=ora.cssd
TYPE=ora.cssd.type
ACTION_SCRIPT=
ACTIVE_PLACEMENT=0
AUTO_START=1
CHECK_INTERVAL=30
DESCRIPTION="Resource type for CSSD"
FAILOVER_DELAY=0
FAILURE_INTERVAL=3
FAILURE_THRESHOLD=5
HOSTING_MEMBERS=
PLACEMENT=balanced
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=600
START_TIMEOUT=600
STOP_TIMEOUT=900
UPTIME_THRESHOLD=1m

[grid@asmtest ~]$ crs_stat -p ora.diskmon
NAME=ora.diskmon
TYPE=ora.diskmon.type
ACTION_SCRIPT=
ACTIVE_PLACEMENT=0
AUTO_START=1
CHECK_INTERVAL=20
DESCRIPTION="Resource type for Diskmon"
FAILOVER_DELAY=0
FAILURE_INTERVAL=3
FAILURE_THRESHOLD=5
HOSTING_MEMBERS=
PLACEMENT=balanced
RESTART_ATTEMPTS=10
SCRIPT_TIMEOUT=60
START_TIMEOUT=60
STOP_TIMEOUT=60
UPTIME_THRESHOLD=5s

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/21754115/viewspace-1074881/,如需轉載,請註明出處,否則將追究法律責任。

相關文章