数据库启动报错 ORA-01078和LRM-00109

[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

>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<sid>.ora,spfile.ora,init<sid>.ora.

spfile:服务器参数文件   是二进制格式,不能用记事本打开修改   
pfile:参数文件   是文本文件格式,可以用记事本打开修改,   
如果不指定用什么启动,则系统默认使用spfile,如果没有spfile,则使用pfile启动

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章