數據庫啓動報錯 ORA-01078和LRM-00109
$ sqlplus / as sysdba
Connected to an idle instance. 提示連接到一個空實例
Connected to an idle instance. 提示連接到一個空實例
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/opt/oracle/product/11.2.0/dbhome_1/dbs/initorc1.ora'
解決方法:
cp $ORACLE_BASE/admin/$ORACLE_SID/pfile/init.ora.10102009132131 /opt/oracle/product/11.2.0/dbhome_1/dbs/initorcl.ora
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/opt/oracle/product/11.2.0/dbhome_1/dbs/initorc1.ora'
解決方法:
cp $ORACLE_BASE/admin/$ORACLE_SID/pfile/init.ora.10102009132131 /opt/oracle/product/11.2.0/dbhome_1/dbs/initorcl.ora
注:這裏的initorcl換成自己的數據庫名字即可
$lsnrctl start
$sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Thu Nov 17 14:54:51 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> conn /as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 534462464 bytes
Fixed Size 2215064 bytes
Variable Size 197133160 bytes
Database Buffers 327155712 bytes
Redo Buffers 7958528 bytes
Database mounted.
Database opened.
SQL>
Fixed Size 2215064 bytes
Variable Size 197133160 bytes
Database Buffers 327155712 bytes
Redo Buffers 7958528 bytes
Database mounted.
Database opened.
SQL>
數據庫已啓動