ORA-01078 和 LRM-00109 报错解决方法


系统版本:CentOS 5.5 x64

数据库版本:Oracle 11G R2 11.2.0 

报错如下:

  1. [oracle@server253 ~]$ sqlplus  / as sysdba 
  2.  
  3. SQL*Plus: Release 11.2.0.1.0 Production on 1 17:38:49 2012 
  4.  
  5. Copyright (c) 1982, 2009, Oracle.  All rights reserved. 
  6.  
  7.  
  8.  
  9.  SQL> startup 
  10. ORA-01078: failure in processing system parameters 
  11. LRM-00109: ???????????????? '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initmander.ora' 
  12. SQL>  

解决过程如下:

  1. [oracle@server253 pfile]$ cat init.ora.6212012171120 >/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initmander.ora 
  2. [oracle@server253 pfile]$ pwd 
  3. /u01/app/oracle/admin/benguo/pfile 
  4. [oracle@server253 pfile]$  

这是因为在oracle9i和oracle10g中,数据库默认将使用spfile启动数据库,如果spfile不存在,则就会出现上述错误。
解决方法:(过程代码上——)
将$ORACLE_BASE/admin/数据库名称/pfile目录下的init.ora.012009233838形式的文件copy到$ORACLE_HOME/dbs目录下initoracle.ora即可。(注:initoracle.ora中的oracle为你的实例名 ORACLE_SID)

  1.  SQL> startup 
  2. ORA-01078: failure in processing system parameters 
  3. LRM-00109: ???????????????? '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initmander.ora' 
  4. SQL>  
  5. SQL>  
  6. SQL> e^Hs 
  7. SP2-0042: δ֪ "s" -  
  8.  
  9.                    SQL>  
  10. SQL>  
  11. SQL> startup 
  12. ORACLE  
  13.  
  14.         Total System Global Area  417546240 bytes 
  15. Fixed Size                  2213936 bytes 
  16. Variable Size             268437456 bytes 
  17. Database Buffers          142606336 bytes 
  18. Redo Buffers                4288512 bytes 
  19.  
  20.  
  21.   
  22.  
  23.   SQL>  

相关内容