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 ,如需转载请自行联系原作者


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值