启动Oracle时提示:ORA-01078:failure in processing system parameters

转至: http://blog.sina.com.cn/s/blog_75acbe0b01017ol4.html
启动Oracle时提示:ORA-01078:failure in processing system parameters (2013-03-21 15:03:09)转载▼
标签: it
一、使用环境
操作系统:OEL 6.3 x64
数据库:Oracle 11.2.0.1.0
数据库主目录:/u01/app/oracle/product/10.2.0/

二、问题描述
用sys用户登录sqlplus后,用startup命令启动Oracle时提示:
ORA-01078:failure in processing system parameters
LRM-00109: could not open parameter file ‘/u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora’

三、错误原因
在oracle9i、10g、11g最近几个版本中,数据库默认使用spfile启动数据库,如果spfile不存在,则就会出现上述错误。

四、解决方法
方法一:
用find /u01 -name pfile命令查找pfile文件的位置,/u01/app/oracle/admin/orcl/pfile/
O R A C L E B A S E / a d m i n / o r c l / p f i l e 目 录 下 的 i n i t . o r a . 2212013132036 形 式 的 文 件 c o p y 到 ORACLE_BASE/admin/orcl/pfile目录下的init.ora.2212013132036形式的文件copy 到ORACLEBASE/admin/orcl/pfileinit.ora.2212013132036copyORACLE_HOME/dbs目录下命名为initorcl.ora即可。
(注:initorcl.ora中的orcl为你的实例名 ORACLE_SID,这里我的SID为:center)

方法二:
将$ORACLE_HOME/dbs目录下spflieorcl.ora改名为spfilecenter.ora即可。(注:spfilecenter.ora中的center为环境变量中设置的SID,我的是center)


版权声明:本文为guojun8446原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。