ORA-01565: error in identifying file '+DATA/spfilerac.ora'

简介:

环境:

DB:11.2.0.2 RAC  OS:RHEL 5.6

今天在做11GR2下面单机升级到RAC时遇到下面的问题

 
  1. [oracle@11rac5 ~]$ sqlplus / as sysdba 
  2.  
  3. SQL*Plus: Release 11.2.0.2.0 Production on Tue Oct 9 19:06:51 2012 
  4.  
  5. Copyright (c) 1982, 2010, Oracle.  All rights reserved. 
  6.  
  7. Connected to an idle instance. 
  8.  
  9. SQL> startup 
  10. ORA-01078: failure in processing system parameters 
  11. ORA-01565: error in identifying file '+DATA/spfilerac.ora' 
  12. ORA-17503: ksfdopn:2 Failed to open file +DATA/spfilerac.ora 
  13. ORA-01034: ORACLE not available 
  14. ORA-27123: unable to attach to shared memory segment 
  15. Linux-x86_64 Error: 13: Permission denied 
  16. Additional information: 3833863 
  17. Additional information: 10 

查看grid与oracle用户下面的oracle文件的权限

 
  1. 查看grid用户下面的oracle的权限 
  2. [root@11rac5 log]# su - grid 
  3. [grid@11rac5 ~]$ ls -l $ORACLE_HOME/bin/oracle 
  4. -rwxr-x--x 1 grid oinstall 200678430 Oct  9 13:35 /u01/app/11.2.0/grid/bin/oracle 
  5. 权限不正确,修改。 
  6. [grid@11rac5 ~]$ chmod 6751 $ORACLE_HOME/bin/oracle 
  7. [grid@11rac5 ~]$ ls -l $ORACLE_HOME/bin/oracle 
  8. -rwsr-s--x 1 grid oinstall 200678430 Oct  9 13:35 /u01/app/11.2.0/grid/bin/oracle 
  9. 查看oracle用户下面的oracle权限 
  10. [oracle@11rac5 trace]$ ls -l $ORACLE_HOME/bin/oracle 
  11. -rwsr-x--x 1 oracle asmadmin 228886426 Oct  9 15:29 /u01/app/oracle/product/11.2.0/db_2/bin/oracle 
  12.  
  13. 在grid用户下面修改 
  14. [oracle@11rac5 trace]$ su - grid 
  15. Password:  
  16. [grid@11rac5 ~]$ cd $ORACLE_HOME/bin/ 
  17. [grid@11rac5 bin]$ set 
  18. set            setasmgid      setasmgidwrap  setfattr       setkeycodes    setmetamode    setsid         setup           
  19. setarch        setasmgid0     setfacl        setfont        setleds        setserial      setterm        setxkbmap       
  20. [grid@11rac5 bin]$ setasmgidwrap o=/u01/app/oracle/product/11.2.0/db_2/bin/oracle 
  21. [grid@11rac5 bin]$ ls -l /u01/app/oracle/product/11.2.0/db_2/bin/oracle 
  22. -rwsr-s--x 1 oracle asmadmin 228886426 Oct  9 15:29 /u01/app/oracle/product/11.2.0/db_2/bin/oracle 

再次启动数据库:

 
  1. 再次启动正常 
  2. [oracle@11rac5 ~]$ sqlplus / as sysdba 
  3.  
  4. SQL*Plus: Release 11.2.0.2.0 Production on Tue Oct 9 19:28:34 2012 
  5.  
  6. Copyright (c) 1982, 2010, Oracle.  All rights reserved. 
  7.  
  8. Connected to an idle instance. 
  9.  
  10. SQL> startup 
  11. ORACLE instance started. 
  12.  
  13. Total System Global Area  839282688 bytes 
  14. Fixed Size                  2231128 bytes 
  15. Variable Size             557843624 bytes 
  16. Database Buffers          276824064 bytes 
  17. Redo Buffers                2383872 bytes 
  18. Database mounted. 
  19. Database opened. 
本文转自7343696 51CTO博客,原文链接:http://blog.51cto.com/luoping/1019993 ,如需转载请自行联系原作者


相关文章
|
12月前
|
数据库
ORA-01113: file 1 needs media recovery ORA-01110: data file 1:
把下面两个隐含参数加入到pfile中
143 0
|
12月前
|
存储
rman备份失败:ORA-00245: control file backup failed; target is likely on a local file system
rman备份失败:ORA-00245: control file backup failed; target is likely on a local file system
100 0
|
关系型数据库 数据库 Oracle
|
Linux 存储
ORA-01403: no data found
在项目的存储过程中有这样一句话 select jgdm,jgmc into parm_mrjgdm,parm_mrjgmc From BL_KHXX  where jgdm=PARM_JGDM; 每次调试存储过程总是报错 ORA-01403: 未找到任何数据 ORA-06512: 在 "HISORCL.
1142 0
ORA-2330 ORA-01403: no data found
<p><br></p> <p><br><br></p> <div style="font-family:'lucida Grande',Verdana,'Microsoft YaHei'; font-size:14px; line-height:23px"> <span style="font-family:lucida Grande,Verdana">生产库模拟测试</span>
1708 0
|
数据库 数据库管理 关系型数据库
ORA-01157: cannot identify/lock data file %s - see DBWR trace file的处理
<span style="color:rgb(102,102,102); font-family:宋体,Arial; line-height:26px">一个测试环境,由于主机工程师更换存储,在没有停数据库的情况下关闭操作系统,导致启动数据库时报ORA-</span><span style="color:rgb(102,102,102); font-family:宋体,Arial; lin
2717 0