您的位置:首页 > 其它

不能打开参数文件initORCL.ora解决办法

2015-08-16 19:27 323 查看


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

SQL*Plus: Release 9.2.0.4.0 - Production on Wed Feb 27 21:43:51 2008

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Connected to an idle instance.

SQL> startup

ORA-01078: failure in processing system parameters

LRM-00109: could not open parameter file '/opt/oracle/product/dbs/initorcl.ora'

SQL> startup nomount

ORA-01078: failure in processing system parameters

LRM-00109: could not open parameter file '/opt/oracle/product/dbs/initorcl.ora'

没有文件,拷贝一个

[oracle@localhost dbs]$ ls

initdw.ora init.ora

[oracle@localhost dbs]$ vi init.ora

[oracle@localhost dbs]$ cp init.ora initorcl.ora

[oracle@localhost dbs]$ vi initorcl.ora

修改第78行的dbname=orcl

SQL> startup nomount

ORACLE instance started.

Total System Global Area 42742804 bytes

Fixed Size 451604 bytes

Variable Size 41943040 bytes

Database Buffers 204800 bytes

Redo Buffers 143360 bytes

可以到nomount状态,实例和后台进程都已经启动。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: