Unable To Open Database After ASM Upgrade From Release 11.1 To Release 11.2

 

After upgrade the ASM instance from release 11.1 to release 11.2 existing database is unable to start/open due to the next error:

/u01/app/oracle/product/11.1.0/dbs>sqlplus

SQL*Plus: Release 11.1.0.6.0 - Production on Wed Apr 7 15:49:33 2010

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

Enter user-name: / as sysdba
Connected to an idle instance.

SQL> startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+ORADATA_DBAT/dbat/spfiledbat.ora'
ORA-17503: ksfdopn:2 Failed to open file +ORADATA_DBAT/dbat/spfiledbat.ora
ORA-15077: could not locate ASM instance serving a required diskgroup

 

Cause

The ocrconfig_loc variable in the /var/opt/oracle/ocr.loc file was still pointing to previous the ASM 11gR1 Oracle Home:

ocrconfig_loc=/u01/app/oracle/product/11.1.0/cdata/localhost/local.ocr
local_only=TRUE



It should point to the new 11.2 Grid Oracle Home:

ocrconfig_loc=/u01/app/oracle/product/11.2.0/grid/cdata/localhost/local.ocr
local_only=TRUE




Note: On Linux the ocr.loc file is located at: /etc/oracle/ocr.loc.

Solution

Please update the /var/opt/oracle/ocr.loc file with the next entries:

ocrconfig_loc=/u01/app/oracle/product/11.2.0/grid/cdata/localhost/local.ocr
local_only=TRUE




 

 

 

From Oracle

-------------------------------------------------------------------------------------------------------

Blog http://blog.csdn.net/tianlesoftware

Email: dvd.dba@gmail.com

DBA1 群:62697716();   DBA2 群:62697977()   DBA3 群:62697850()  

DBA 超级群:63306533();  DBA4 群: 83829929  DBA5群: 142216823   

聊天 群:40132017   聊天2群:69087192

--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请

posted @ 2011-04-25 17:19  生活不是用来挥霍的  阅读(197)  评论(0编辑  收藏  举报