启动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)

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

一本郑经

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值