1. 程式人生 > >ORA-01078: failure in processing system parameters 問題的解決方法(oracle 11g)

ORA-01078: failure in processing system parameters 問題的解決方法(oracle 11g)

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'

[[email protected] ~]$ 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/目錄,

[[email protected] ~]$ cd /oracle/app/oracle/product/11.1.0/db_1/dbs/
[

[email protected] 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連線資料庫

[[email protected] 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