Rootop 服务器运维与web架构

LRM-00109: could not open parameter file ‘/u01/oracle/dbs/init*.ora’

| 暂无评论

[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  849530880 bytes
Fixed Size                  1339824 bytes
Variable Size             503320144 bytes
Database Buffers          339738624 bytes
Redo Buffers                5132288 bytes
????????
????????
SQL>

问题出在设置oracle用户.bash_profile文件的ORACLE_SID变量时,写为了 ORACLE_SID=wilson ,在startup的时候报错,其实真正的数据库实例名称是venus。

从Oracle9i开始,spfile被引入Oracle数据库,
Oracle首选spfile<ORACLE_SID>.ora文件作为启动参数文件;
如果该文件不存在,Oracle选择spfile.ora文件;
如果前两者都不存在,Oracle将会选择init<ORACLE_SID>.ora文件;
如果以上三个文件都不存在,Oracle将无法创建和启动instance。

这只是原因之一,不保证绝对解决。

原创文章,转载请注明。本文链接地址: https://www.rootop.org/pages/1071.html

作者:Venus

服务器运维与性能优化

发表回复