How to fix “ORA-01033: ORACLE initialization or shutdown in progress” error

oraclestartupwindows-server-2003

I have an Oracle 9.2 database. The server has crashed. After rebooting any attempt to connect to the Oracle server returns error ORA-01033 (as in title).

I've tried stopping and starting the Oracle services (from Control Panel -> Administrative Tools -> Services).

Also, I have waited half an hour, so I don't think the Oracle server is legitimately still starting up. My feeling is that more likely something is corrupted.

Best Answer

Not necessarily corrupted (that's actually pretty hard to do). Try these steps:

  1. Log onto the database server
  2. Set ORACLE_SID=yourSID
  3. at a command prompt, type sqlplus /nolog
  4. in sql*plus, enter: SHUTDOWN ABORT, then STARTUP
  5. If the database starts up normally, issue a SHUTDOWN IMMEDIATE and another STARTUP.

If that starts the database, you're good to go. If not, you should then get some sort of error message that will get you started down the path of getting a solution. Check the alert log for your instance for additional information. Update this question if you still need help.

Assuming the manual startup fixes the issue, then to make your database startup automatically when the service starts, edit the registry. Look for the key HKLM\Software\Oracle\HOMEx\ORA_sid_AUTOSTART. You want the value of this key to be TRUE. Note: HOMEx will be of the form HOME0, HOME1, etc.