數據庫啓動報錯 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啓動

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