oracle10g ora-01078,折腾个半死,数据库初始化设置不当报错 ORA-01078: failure in proces......

[oracle@localhost ~]$ sqlplus / as sysdba

提示 Connected to an idle instance.  连接到一个空的实例。

SQL> startup

ORA-01078: failure in processing system parameters

LRM-00109: could not open parameter file '/oracle/product/10g/dbs/initorc1.ora'

解决方法:

cp $ORACLE_BASE/admin/$ORACLE_SID/pfile/init.ora.10102009132131    /oracle/product/10g/dbs/initorc1.ora    注initora文件可能名字不一样

>lsnrctl start listener

>sqlplus /nolog    是不登陆到数据库服务器的模式

SQL*Plus: Release 10.1.0.3.0 - Production on Thu Jun 8 13:16:00 2006

Copyright (c) 1982, 2004, Oracle.  All rights reserved.

SQL> conn / as sysdba

Connected to an idle instance.

SQL> startup

ORACLE instance started.

Total System Global Area  167772160 bytes

Fixed Size                   778212 bytes

Variable Size              57679900 bytes

Database Buffers          109051904 bytes

Redo Buffers                 262144 bytes

Database mounted.

Database opened.

问题解决!

注:Oracle在启动过程中,需要读取参数文件(pfile/spfile)来创建实例.Oracle在启动过程中,寻找参数文件的顺序为:spfile.ora,spfile.ora,init.ora.

spfile:服务器参数文件   是二进制格式,不能用记事本打开修改

pfile:参数文件   是文本文件格式,可以用记事本打开修改,

如果不指定用什么启动,则系统默认使用spfile,如果没有spfile,则使用pfile启动

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值