ORA-01033: ORACLEinitializationorshutdowninprogress.

Source: Internet
Author: User
Because a data file in the Oracle database is deleted by mistake, the Oracle-related services on the control panel are started, but SQL * Plus cannot be connected. SQLgt; shutdownimmediate; (s

Because a data file in the Oracle database is deleted by mistake, the Oracle-related services on the control panel are started, but SQL * Plus cannot be connected. SQLgt; shutdown immediate; (s

Cause: because a data file in the Oracle database is accidentally deleted, the Oracle-related services on the control panel are started, but SQL * Plus cannot be connected.

Solution:

You can open the database by taking the data file offline (deleting the data file normally.

SQL> conn/as sysdba;
Connected.
SQL> shutdown immediate; (shutdown does not seem to display a ORA-01109: the database did not open such information)
ORA-01109: the database is not open
The database has been detached.
The ORACLE routine has been disabled.
The ORACLE routine has been started.
(In fact, this error means that the database initialization or is closed, When I directly close, finally reported a ORA-01109: Database not open error .)
Startup force; (Be sure to force the startup)
Total System Global Area 118255568 bytes
Fixed Size 282576 bytes
Variable Size 83886080 bytes
Database Buffers 33554432 bytes
Redo Buffers 532480 bytes
The database has been loaded.

ORA-01157: unable to identify/lock data file 9-see DBWR trace file
ORA-01110: data file 9: 'd: \ test \ ELOA'
Questions left: (dizzy, not offline last time, but the shadows are not scattered. You can study what else is following the tablespace)
SQL> shutdown immediate
ORA-01109: the database is not open
The database has been detached.
The ORACLE routine has been disabled.
SQL> startup mount;
SQL> alter database datafile 9 offline drop;
The database has been changed.
SQL> recover datafile 9; (if it is another file, it can be restored. This is not required here)
Media recovery is completed.
SQL> alter database open;
The database has been changed.
SQL> drop tablespace orcl

The tablespace is discarded.
SQL> conn/as sysdba

Connected.

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.