ITPub博客

首页 > 数据库 > Oracle > ORA-01565: error in identifying file '+DATA3/spfilePROD.ora'

ORA-01565: error in identifying file '+DATA3/spfilePROD.ora'

原创 Oracle 作者:地铁上小虫 时间:2015-09-23 14:41:14 0 删除 编辑

环境:DB:11.2.0.2 RAC  OS:RHEL 5.5

  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 '+DATA3/spfilePROD.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. 

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

请登录后发表评论 登录
全部评论

注册时间:2014-05-12

  • 博文量
    49
  • 访问量
    165806