Resolving Oracle Error ORA-01033

Source: Internet
Author: User

The database shuts down unexpectedly during the import of data. After restarting the machine, Pl/sql-developer cannot log in to the database, error ora-01033:oracle Initializationor shutdown in progress. The steps to resolve are as follows:

  1. Run cmd

    C:\users\dell3800>set ORACLE_SID=ORCL

    C:\users\dell3800>sqlplus "/as sysdba"

    Sql*plus:release 12.1.0.2.0 Production on Mon Mar 2 08:52:09 2015

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


    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-production
    With the partitioning, OLAP, Data Mining and Real application testing options

  2. Shut down the database and restart

    sql> shutdown Immediate
    Ora-01109:database not open


    Database dismounted.
    ORACLE instance shut down.
    Sql> Startup
    ORACLE instance started.

    Total System Global area 778387456 bytes
    Fixed Size 1374808 bytes
    Variable Size 318768552 bytes
    Database buffers 452984832 bytes
    Redo buffers 5259264 bytes
    Database mounted.
    Ora-01172:recovery of Thread 1 stuck at block 2937401 of file 7
    Ora-01151:use Media Recovery to recover block, restore backup if needed

  3. After starting the report ORA-01172, follow the prompts to recover. Use the command ALTER DATABASE recover

    sql> ALTER DATABASE recover
    2;

    Database altered.

  4. Restart the database without error. Pl/sql-developer landed successfully.

    sql> shutdown Immediate
    Ora-01109:database not open


    Database dismounted.
    ORACLE instance shut down.
    Sql> Startup
    ORACLE instance started.

    Total System Global area 778387456 bytes
    Fixed Size 1374808 bytes
    Variable Size 318768552 bytes
    Database buffers 452984832 bytes
    Redo buffers 5259264 bytes
    Database mounted.
    Database opened.

Resolving Oracle Error ORA-01033

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.