[oracle@rhel55 ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 1 20:52:34 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file ‘/u01/oracle/dbs/initwilson.ora’
解决办法:
[oracle@rhel55 dbs]$ export ORACLE_SID=venus
[oracle@rhel55 dbs]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 1 21:10:51 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> conn /as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 422670336 bytes
Fixed Size 1336960 bytes
Variable Size 251660672 bytes
Database Buffers 163577856 bytes
Redo Buffers 6094848 bytes
Database mounted.
Database opened.
SQL>
问题出在设置oracle用户.bash_profile文件的ORACLE_SID变量时,写为了 ORACLE_SID=wilson ,在startup的时候报错,其实真正的数据库实例名称是venus。
从Oracle9i开始,spfile被引入Oracle数据库,
Oracle首选spfile
如果该文件不存在,Oracle选择spfile.ora文件;
如果前两者都不存在,Oracle将会选择init
如果以上三个文件都不存在,Oracle将无法创建和启动instance。
这只是原因之一,不保证绝对解决。