ORA-01089: Immediate Shutdown or Close in Progress – Fixes & Solutions

  • Database Shutdown Initiated – The database is being shut down using commands like SHUTDOWN IMMEDIATE or SHUTDOWN ABORT.
  • Instance Crash or Restart – The database instance might be in the process of restarting.
  • User Sessions Being Terminated – Active user connections are being closed as part of the shutdown process.
ORA-01089 immediate shutdown or close in progress
  • Executing the SHUTDOWN IMMEDIATE command.
  • Performing a SHUTDOWN ABORT operation.
  • Running automated maintenance scripts that restart the database.
  • you should check the alert log and trace files for any errors that might have occurred during the shutdown process.
  • You can also try restarting the database instance to see if that resolves the issue.
  • If the problem persists even after restarting the database then you have to perform as following

1- Connect Database server with sys user

PS C:\Users\Administrator> sqlplus system/password as sysdba

2- verify database status

SQL> select status, database_status from v$instance;

3- Restart the Database

STARTUP;

4- Check for Active Sessions

SELECT * FROM V$SESSION;

5- Kill Hanging Sessions

SELECT SID, SERIAL# FROM V$SESSION WHERE STATUS='ACTIVE';
ALTER SYSTEM KILL SESSION 'sid,serial#';

6- Check Alert Logs

Monitor Oracle alert logs for further details:

tail -f /path/to/alert.log

7- Force Shutdown (if necessary)

SHUTDOWN ABORT;
STARTUP;
ORA-01089
  • Regularly back up your database.
  • Monitor database performance metrics.
  • Apply Oracle patches and updates.
  • Schedule maintenance during non-peak hours.
  • Ensure proper user notifications before shutting down.
  • Use SHUTDOWN NORMAL to avoid lingering processes.

FAQs About ORA-01089

The ORA-01089 error is a normal response to an ongoing database shutdown. If encountered unexpectedly, check the shutdown process, database status, and active sessions before performing a manual restart. If issues persist, consult your DBA or Oracle support.

Read More

How To Export/Import Oracle schema on AWS RDS through Data pump Utility

Previous Post
Next Post

Leave a Reply

Your email address will not be published. Required fields are marked *