oracle 控制文件启动不了,Oracle控制文件出错致使启动不到mount状态

SQL> startup nomount;

ORACLE instance started.

Total System Global Area  217157632 bytes

Fixed Size

2251816 bytes

Variable Size

159384536 bytes

Database Buffers

50331648 bytes

Redo Buffers

5189632 bytes

SQL> start

SP2-1506: START, @ or @@ command has no arguments

SQL>

SQL> alter database mount;

alter database mount

*

ERROR at line 1:

ORA-00205: error in identifying control file, check alert log for more infooracle

Oracle能够启动到nomount状态,可是启动不到mount状态,经过上面提示能够肯定在启动到mount状态的时候,控制文件出错了。这样多是参数文件里面控制文件的路径出现了错误。app

db_name=ordb

control_files='/u01/app/oracle/oradata/oradb/control01.ctl','/u01/app/oracle/oradata/oradb/control02.ctl' 参数文件里的内容。

实际控制文件所在路径ide

[oracle@oracle11g oradata]$ cd oradb/

[oracle@oracle11g oradb]$ ls

ctl01.ctl  ctl02.ctl  redo01.log  redo02.log  redo03.log  sysaux01.dbf  system01.dbf  temp01.dbf  undotbs01.dbf 能够看到参数文件里面控制的路径和实际控制文件路不同。经过修改参数文件以后。

SQL> create spfile from pfile='/home/oracle/initoradb.txt';

create spfile from pfile='/home/oracle/initoradb.txt'

*

ERROR at line 1:

ORA-32002: cannot create SPFILE already being used by the instance

spa

能够看到当前实例正在使用以前错误的参数文件,先将实例关闭了。it

SQL> shutdown immediate;

ORA-01507: database not mounted

ORACLE instance shut down.

SQL> create spfile from pfile='/home/oracle/initoradb.txt';

File created.sed

SQL> startup nomount;

ORACLE instance started.

Total System Global Area  217157632 bytes

Fixed Size   2251816 bytes

Variable Size 159384536 bytes

Database Buffers  50331648 bytes

Redo Buffers   5189632 bytes

SQL> alter database mount;

Database altered.

SQL> alter database open;

Database altered.file

上面错误中能够看到实例启动的过程中是先去读取参数文件,若是参数文件中控制文件的路径出现问题会致使没法启动到mount状态。command

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值