How to resolve ORA-011033: ORACLE initialization or shutdown in progress
After some googling, I found the advice to do the following, and it worked:
SQL> startup mount
ORACLE Instance started
SQL> recover database
Media recovery complete
SQL> alter database open;
Database altered
Getting ORA-01033: ORACLE initialization or shutdown in progress
I've had the same problem and just want to share my solution with you, if anybody else gets the ORA-01033: ORACLE initialization or shutdown in progress
Error in Oracle 12c Database. My database showed me the error everytime i tried to connect to a user of a sample schema (for ex. hr).
The following worked for me:
SQLPlus> connect sys as sysdba
SQLPlus> alter pluggable database all open;
oracle initialization or shutdown in progress error
Seems that your redo log file is corrupted. It's required to clear redo log.....
You can follow following steps for the same:
Assuming that your database is on mount state and login as a sys with sysdba privilege:
alter system set "_allow_resetlogs_corruption"=true scope=spfile;
shutdown immediate;
Again, login as a sys with sysdba privileges(i.e. sqlplus sys as sysdba)
startup mount;
alter database open resentlogs;
recover database until cancel; --Here, you need to press when it prompts to specify a log.
alter database open resetlogs;
startup;
alter system set "_allow_resetlogs_corruption"=false scope=spfile; --Reverting back and bouncing the db for applying the changes.
shutdown immedaite;
startup;
Related Topics
How to Pivot Rows to Columns in MySQL Without Using Case
How to "Reset" Running Sum After It Reaches a Threshold
Group by Using Parameters in SQL
Find Min and Max for Subsets of Consecutive Rows - Gaps and Islands
How to Select First N Rows from a Table in T-Sql
SQL Aggregate Function to Obtain a List
SQL How to Have a "Conditionally Unique" Constraint on a Table
How to Get the Date and Time from Timestamp in Postgresql Select Query
Is It Better to Do an Equi Join in the from Clause or Where Clause
How to Find All Open/Active Connections in Db2 (8.X)
How to Distinct or Group by a Text (Or Ntext) in SQL Server 2005
Why Does My Entity Framework Turn '2.87' into Just '2' (Decimal Field)