Oracle报错,ORA-00214: ????

1、报错详情:

[oracle@oraclecent7402 admin]$ sqlplus / as sysdba

SQL> shutdown abort

SQL> startup nomount;

SQL> alter database mount;

alter database mount

*

ERROR at line 1:

ORA-00214: control file '/u01/app/oracle/oradata/ywsrmtest/control01.ctl'

version 18992 inconsistent with file

'/u01/app/oracle/fast_recovery_area/ywsrmtest/control02.ctl' version 18988

2、开始解决:

SQL> create pfile='/u01/app/oracle/oradata/ywsrmtest/init.ora' from spfile;

File created.

前往以上文件路径,编辑ora文件,删除control02.ctl

[oracle@oraclecent7402 ywsrmtest]$ vi init.ora

ywsrmtest.__db_cache_size=9462349824

ywsrmtest.__java_pool_size=134217728

ywsrmtest.__large_pool_size=167772160

ywsrmtest.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment

ywsrmtest.__pga_aggregate_target=3791650816

ywsrmtest.__sga_target=11374952448

ywsrmtest.__shared_io_pool_size=0

ywsrmtest.__shared_pool_size=1543503872

ywsrmtest.__streams_pool_size=0

*.audit_file_dest='/u01/app/oracle/admin/ywsrmtest/adump'

*.audit_trail='db'

*.compatible='11.2.0.4.0'

*.control_files='/u01/app/oracle/oradata/ywsrmtest/control01.ctl'---删除掉02.ctl

……

SQL> shutdow abort

ORACLE instance shut down.

SQL> create spfile from pfile='/u01/app/oracle/oradata/ywsrmtest/init.ora';

File created.

SQL> startup nomount

ORACLE instance started.

Total System Global Area 1.1324E+10 bytes

Fixed Size 2263416 bytes

Variable Size 2113930888 bytes

Database Buffers 9193914368 bytes

Redo Buffers 14053376 bytes

SQL>

SQL> alter database mount;

Database altered.----这一次数据库挂载成功咯~

SQL> exit

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值