ORA-01078: failure in processing system parameters 问题的解决方法(oracle 11g)

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/lzwgood/article/details/26358725

ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/db_1/dbs/initDATATEST.ora'

[oracle@datatest ~]$ sqlplus "/as sysdba"

SQL*Plus: Release 11.2.0.3.0 - Production on Wed Dec 15 10:54:03 2010

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/oracle/app/oracle/product/11.2.0/db_1/dbs/initicare1.ora '

 

原来打不开initicare1.ora,于是进入/oracle/app/oracle/product/11.2.0/db_1/dbs/目录,

[oracle@datatest ~]$ cd /oracle/app/oracle/product/11.1.0/db_1/dbs/
[oracle@datatest dbs]$ ls
hc_orcl.dat   init.ora  lkORCL  orapworcl  spfileorcl.ora

 

原来是没有initicare1.ora文件

解决此问题的方法就是到cd /oracle/app/oracle/admin/orcl/pfile/目录下,将ora.1114201016265复制到dbs目录下:

cp init.ora.4202014111350 /u01/app/oracle/product/11.2.0/db_1/initicare1.ora

 

注:在复制时有可能会遇到授权问题 用chmod命令: chmod -R 777  目标   /目标文件夹


然后再次用sqlplus连接数据库

[oracle@datatest dbs]$ sqlplus "/as sysdba"

SQL*Plus: Release 11.2.0.3.0 - Production on Wed Dec 15 11:04:25 2010

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup
ORACLE instance started.

Total System Global Area  954155008 bytes
Fixed Size                  1303916 bytes
Variable Size             239078036 bytes
Database Buffers          708837376 bytes
Redo Buffers                4935680 bytes
ORA-01102: cannot mount database in EXCLUSIVE mode

猜你喜欢

转载自blog.csdn.net/lzwgood/article/details/26358725