zoukankan      html  css  js  c++  java
  • ORA-01033: ORACLE initialization or shutdown in progress 实用的处理方法

    ORA-01033: ORACLE initialization or shutdown in progress 实用的处理方法,此问题通常是由于电脑非正常关机造成的,我们可以用下面的方法查找出是那个文件损坏,再针对文件进行修复。

    SQL*Plus: Release 11.1.0.7.0 - Production on 星期三 6月 8 17:34:30 2016

    Copyright (c) 1982, 2008, Oracle.  All rights reserved.

    SQL> conn sys/sys as sysdba
    已连接。
    SQL> shutdown immediate;
    ORA-01109: 数据库未打开


    已经卸载数据库。
    ORACLE 例程已经关闭。
    SQL> startup
    ORACLE 例程已经启动。

    Total System Global Area  425897984 bytes
    Fixed Size                  2130120 bytes
    Variable Size             343936824 bytes
    Database Buffers           71303168 bytes
    Redo Buffers                8527872 bytes
    数据库装载完毕。
    ORA-01172: 线程 1 的恢复停止在块 990 (在文件 3 中)
    ORA-01151: 如果需要, 请使用介质恢复以恢复块和还原备份
    --黄色部分中的3就是文件,下面要用到。

    SQL> shutdown immediate;
    ORA-01109: 数据库未打开


    已经卸载数据库。
    ORACLE 例程已经关闭。
    SQL> startup mount
    ORACLE 例程已经启动。

    Total System Global Area  425897984 bytes
    Fixed Size                  2130120 bytes
    Variable Size             343936824 bytes
    Database Buffers           71303168 bytes
    Redo Buffers                8527872 bytes
    数据库装载完毕。
    SQL> recover datafile 3;
    完成介质恢复。
    SQL> shutdown immediate;
    ORA-01109: 数据库未打开


    已经卸载数据库。
    ORACLE 例程已经关闭。
    SQL> startup
    ORACLE 例程已经启动。

    Total System Global Area  425897984 bytes
    Fixed Size                  2130120 bytes
    Variable Size             343936824 bytes
    Database Buffers           71303168 bytes
    Redo Buffers                8527872 bytes
    数据库装载完毕。
    数据库已经打开。
    SQL>

  • 相关阅读:
    混用Int与IntPtr导致GetProcAddress始终返回null
    Net中获取程序集路径
    Sql server 2014 同一数据库换名还原,导致同名库一直处于还原状态
    微耕N3000注入
    Xaramin IOS 开发常见问题
    Vs2017 xaramin mac build agent部署后记
    Git 笔记
    spring AOP
    JAVA 反射原理
    Hyperledger Fabric:fabric private data技术【官方文档翻译】
  • 原文地址:https://www.cnblogs.com/mohai/p/5570827.html
Copyright © 2011-2022 走看看