系统:RedHat5
数据库:oracle10g小弟菜鸟一枚,在虚拟机上演练oracle的备份和恢复。采用rman备份脚本备份后,自作主张将/oracle/oradata/orcl/下文件全部删除(空空的,啥也没有了),本想使用rman进行恢复,却发现连rman也启动不了了(真想剁手)。跪求大牛指点迷津!!!
PS:实在找不到方法,我就只好重装了

解决方案 »

  1.   

    rman怎么启动不了?报什么错?
      

  2.   


    [oracle@localhost ~]$ rman target /Recovery Manager: Release 10.2.0.1.0 - Production on Wed Jan 13 10:57:28 2016Copyright (c) 1982, 2005, Oracle.  All rights reserved.RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-06003: ORACLE error from target database: 
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: '/oracle/oradata/orcl/control01.ctl'
    ORA-27041: unable to open file
    Linux Error: 2: No such file or directory
    Additional information: 3
      

  3.   

    我找到原因了。
    因为我是以数据库open状态,删除了/oracle/oradata/orcl/下的文件,所以导致rman打不开。
    解决办法是:
    sqlplus "/as sysdba"
    shutdown abort
    这样就可以等陆rman了