Oracle Database File Corruption, error: ORA-01033: Oracle initialization or shutdown in progress

Source: Internet
Author: User

Oracle Database File Corruption has been solved. The problem is "error: ORA-01033: Oracle initialization or shutdown in progress", and later from the Internet to find some information, and finally add their own practice finally solved, but there is a problem, it seems that the database files are useless.

Solution
In a DOS environment
Sqlplus/nolog
SQL> connect sys/sys as sysdba
SQL> shutdown normal
SQL> startup Mount
SQL> alter database open;

Row 3 has an error:
ORA-01157: unable to identify/lock data file 6-see dbwr trace file
ORA-01110: data file 6: 'd:/Oracle/oradata/oragwh/indx01.dbf''

If this problem occurs, continue to enter
SQL> conn sys/sys as sysdba;
Connected.
SQL> alter database datafile 6 offline drop;

Until Scott logs in.
SQL> conn Scott/Tiger

Then enter
SQL> shutdown normal
SQL> startup
 

Related Article

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.