ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file '/orada...

本文详细介绍了如何解决在启动Oracle时遇到的ORA-01078和LRM-00109错误,通过指定pfile文件启动,创建新的spfile文件,然后关闭并再次启动数据库来解决此问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

启动oracle时找不到spfile文件,报ORA-01078和LRM-00109错误

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

SQL*Plus: Release 11.2.0.1.0 Production on Wed Apr 11 17:45:40 2012

Copyright (c) 1982, 2009, 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 '/oradata/oracle/112/dbs/initORCL.ora'

 

解决方法:

1.启动时指定pfile文件

SQL> startup pfile=/oradata/oracle/admin/orcl/pfile/init.ora.3102012232637

ORACLE instance started.

 

Total System Global Area 523108352 bytes

Fixed Size                  1337632 bytes

Variable Size             314574560 bytes

Database Buffers          201326592 bytes

Redo Buffers                5869568 bytes

Database mounted.

Database opened.

2.启动后,重新创建spfile文件

SQL> create spfile from pfile='/oradata/oracle/admin/orcl/pfile/init.ora.3102012232637';

 

File created.

3.关闭数据库

SQL> shutdown immediate

Database closed.

Database dismounted.

ORACLE instance shut down.

4.此时启动就不需要指定pfile文件了,默认以spfile文件启动

SQL> startup

ORACLE instance started.

 

Total System Global Area 523108352 bytes

Fixed Size                  1337632 bytes

Variable Size             314574560 bytes

Database Buffers          201326592 bytes

Redo Buffers                5869568 bytes

Database mounted.

Database opened.

转载于:https://www.cnblogs.com/lanzi/archive/2012/04/12/2443674.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值