Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1106134
  • 博文数量: 159
  • 博客积分: 3063
  • 博客等级: 中校
  • 技术积分: 2703
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-01 01:51





分类: Oracle

2013-07-04 13:43:42


[oracle@RAC2 ~]$ srvctl start database -d RACDB
PRKP-1001 : Error starting instance RACDB1 on node rac1
CRS-0215: Could not start resource 'ora.RACDB.RACDB1.inst'.
PRKP-1001 : Error starting instance RACDB2 on node rac2
CRS-0215: Could not start resource 'ora.RACDB.RACDB2.inst'.

[oracle@RAC2 ~]$ oerr crs 215
215,    0, "Could not start resource '%s'."
// *Cause:  There was an internal error while starting the resource.
// *Action: Check the CRS daemon log file.

PRKP-1001 "Error starting instance {0} on node {1}"
    Cause: The instance could not be started using the SQL*Plus startup command.
    Action: Try starting the named instance manually using SQL*Plus to see why it failed.


as root: 
crsctl stop crs
rm -f /var/tmp/.oracle/*
crsctl start crs

Wait a few minutes (2-3 minutes) for crs to start. When crs_stat comes batch without "error connecting to CRSD", start the instance with srvctl (as the oracle user, not as root): 
srvctl start instance -d DEVRX -i DEVRX2


[oracle@rac2 ~]$ srvctl remove instance -d rac -i rac1
Remove instance rac1 from the database rac? (y/[n]) y
[oracle@rac2 ~]$ srvctl remove instance -d rac -i rac2
Remove instance rac2 from the database rac? (y/[n]) y
[oracle@rac2 ~]$ srvctl remove database -d rac 
Remove the database rac? (y/[n]) y
[oracle@rac2 ~]$ 

[oracle@rac2 ~]$ srvctl add database -d westhope -o /u01/app/oracle/product/10.2.0/db_1
[oracle@rac2 ~]$ srvctl add instance -d westhope -i westhope1 -n rac1
[oracle@rac2 ~]$ srvctl add instance -d westhope -i westhope2 -n rac2
[oracle@rac2 ~]$ srvctl modify instance -d westhope -i westhope1 -s +ASM1
[oracle@rac2 ~]$ srvctl modify instance -d westhope -i westhope2 -s +ASM2
阅读(6525) | 评论(0) | 转发(0) |