数据库

 首页 > 数据库 > Oracle > ORA-01078:failure in processing system parameters的问题

ORA-01078:failure in processing system parameters的问题

分享到:
【字体:
导读:
         摘要:故障现象:ORA-01078:failureinprocessingsystemparametersLRM-00109:couldnotopenparameterfile'/u01/app/oracle/product/10.2.0/db_1/dbs/initorcl10g.ora'原理...

ORA-01078:failure in processing system parameters的问题

故障现象:ORA-01078: failure in processing system parameters 
 
LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0/db_1/dbs/initorcl10g.ora'
 
原理:在oracle9i和oracle10g中,数据库默认将使用spfile启动数据库,如果spfile不存在,则就会出现上述错误。
  www.2cto.com  
解决办法:
 
方法一:将$ORACLE_BASE/admin/orcl/pfile目录下的init.ora.0212012125517形式的文件copy到$ORACLE_HOME/dbs目录下initoracl.ora即可。(注:initoracl.ora中的oracl为你的实例名 ORACLE_SID,这里我的SID为:orcl10g)
 
方法二:将$ORACLE_HOME/dbs目录下spflieoracl.ora改名为spfileorcl10g.ora即可。(注:spfileorcl10g.ora中的orcl10g为环境变量中设置的SID,我的是orcl10g)
---------------------------------------------------------------------------------------
 
故障: 
[root@RHEL5 ~]# su – oracle 
[oracle@RHEL5 ~]$ sqlplus "/as sysdba"
 
SQL*Plus: Release 10.2.0.1.0 Production on Sat Jan 21 13:10:47 2012
 
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
 
Connected to an idle instance.
  www.2cto.com  
SQL> startup 
ORA-01078: failure in processing system parameters 
LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0/db_1/dbs/initorcl10g.ora'
 
解决: 
[oracle@RHEL5 ~]$ find /u01  -name pfile    //查看pfile位置 
/u01/ora/admin/orcl/pfile 
[oracle@RHEL5 ~]$ ls -l /u01/app/admin/orcl/pfile   
total 4 
-rw-r----- 1 oracle oinstall 1909 Jan 21 12:45 init.ora.0212012125517 
[oracle@RHEL5 ~]$  
cp /u01/ora/admin/orcl/pfile/init.ora.0212012125517  /u01/app/oracle/product/10.2.0/db_1/dbs/          //把pfile下的init.ora.0212012125517
 
复制/u01/app/oracle/product/10.2.0/db_1/dbs/initorc1.ora并改名为initorc1.ora 
[oracle@RHEL5 ~]$ cp /u01/app/admin/orcl/pfile/init.ora.0212012125517  /u01/app/oracle/product/10.2.0/db_1/dbs/initorc1.ora 
[oracle@RHEL5 ~]$ ls -l  /u01/app/oracle/product/10.2.0/db_1/dbs 
total 32 
-rw-r--r-- 1 oracle oinstall 2851 May 15  2009 init.ora 
drwx------ 2 oracle oinstall 4096 Jan 21 12:45 peshm_orcl_0 
-rw-rw---- 1 oracle oinstall 1544 Jan 21 12:45 hc_orcl.dat 
-rw-r----- 1 oracle oinstall   24 Jan 21 12:49 lkORCL 
-rw-r----- 1 oracle oinstall 1536 Jan 21 12:56 orapworcl 
-rw-r----- 1 oracle oinstall 2560 Jan 21 13:16 spfileorcl.ora 
-rw-r----- 1 oracle oinstall 1909 Jan 21 13:18 initorc1.ora
  www.2cto.com  
[oracle@RHEL5 ~]$ sqlplus "/as sysdba"
 
SQL*Plus: Release 10.2.0.1.0 Production on Sat Jan 21 13:26:28 2012
 
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
 
Connected to an idle instance.
 
 
 
作者 aaron8219
ORA-01078:failure in processing system parameters的问题
分享到:
create pfile时报ORA-27037问题的处理
create pfile时报ORA-27037问题的处理 今天启动数据库的时候,出现以下问题:   [root@p570a2:/crs/app/oracle/product/crs_1/bin]#su - oracle   [oracle@p570a2:/oracle/app/oracle]$sqlplus "/as sysdba"   SQL*Plus: Release 10.2.0.4.0 - Production on Tue Jan 5 11:53:42 2010   www.2cto.com   Copyright (c...
Oracle数据表结构/字段/类型/大小的查询
Oracle数据表结构/字段/类型/大小的查询   Oracle数据库字典       在Oracle的绝大多数数据字典视图中都有象DBA_TABLES,ALL_TABLES和USER_TABLES这样的视图家族。Oracle中有超过100个视图家族,下表列出了最重要和最常用的视图家族,需要注意的是每个视图家族都有一个DBA_,一个ALL_一个USER_视图。   视图家族   www....
  •         php迷,一个php技术的分享社区,专属您自己的技术摘抄本、收藏夹。
  • 在这里……