Srvctl start gives crs-0223 and crs-1028.

When you try to start a database using srvctl you get the error below. What is the problem and how to fix ?
 
/home/oracle $ srvctl start instance -d RAC –i RAC1
PRKP-1001 : Error starting instance RAC1 on node racworkshop1
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.RAC.RAC1.inst' has placement error.
 
When you check out the crsd.log file in the $ORA_CRS_HOME/log/ 
2007-09-12 14:27:36.224: [  CRSRES][11986]32Resource recovery not purged:ora.RAC.RAC1.inst
2007-09-12 14:27:36.224: [  CRSRES][11986]32`ora.RAC.RAC1.inst` is already OFFLINE.
2007-09-12 14:28:16.838: [  CRSRES][11991]32CRS-1028: Dependency analysis failed because of:
'Resource in UNKNOWN state: ora.racworkshop1.ASM1.asm'
 
When now checking the status of the ASM instance involved you get
$ crs_stat ora.racworkshop1.ASM1
 
NAME=ora.racworkshop1.ASM1.asm
TYPE=application
TARGET=ONLINE
STATE=UNKNOWN on racworkshop1
 
Solution So the problem is that the STATE of the ASM instance is not clear for the Clusterware layer. Due to this the instance can not be started as there is the dependency with the ASM instance.
 
To solve the problem, the status of the ASM instance must be changed from UNKNOWN to OFFLINE and then ONLINE. If the status is reported correctly the instance can also be started.
 
Action: Use the crs_stop command to reset the status in the Clusterware.
 
/home/oracle $ crs_stop -f ora.racworkshop1.ASM1.asm
Attempting to stop `ora.racworkshop1.ASM1.asm` on member `racworkhop1`
Stop of `ora.racworkshop1.ASM1.asm` on member `racworkshop1` succeeded.
 
NAME=ora.racworkshop1.ASM1.asm
TYPE=application
TARGET=OFFLINE
STATE=OFFLINE
 
By using the crs_stop –f command with the resource name a reset is done, and the Clusterware is told to set the target and state to offline.
 
Note: If the ASM instance is running, it will be stopped.
 
Action: Now start the ASM instance again and after that the RAC database.
 
/home/oracle $ srvctl start asm –n racworkshop1
When now checking the status of the ASM instance involved you get
$ crs_stat ora.racworkshop1.ASM1
 
NAME=ora.racworkshop1.ASM1.asm
TYPE=application
TARGET=ONLINE
STATE=ONLINE on racworkshop1
 

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

转载于:http://blog.itpub.net/14673072/viewspace-615892/

你可能感兴趣的:(Srvctl start gives crs-0223 and crs-1028.)