Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1796
  • Last Modified:

ORA-01033: ORACLE initialization or shutdown in progress.

Hi,
      I am getting this error, when i try logging into the database. I guess I tried shutting down the db, when there was a huge transaction pending. I am not concerned of teh transaction now, but need to get my database up and running asap.
My environment: Oracle 9i on Windows 2k Server.

Please help. Very, very Urgent.
0
ezee
Asked:
ezee
1 Solution
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
these 4 steps should open the database again:
start svrmgr
connect as sysdba
shutdown abort
startup open

on startup, you might get a notification that you need to recover the database, then issue this statement in the svrmgr:
recover database

CHeers
0
 
schwertnerCommented:
Error:  ORA 1033
Text:   Oracle startup or shutdown in progress
-------------------------------------------------------------------------------
Cause:  An attempt was made to log on while Oracle is being started up or shut
        down.
Action: Wait a few minutes.
        Then retry the operation.
0
 
MathiasMagnussonCommented:
Is the database in archive log mode? If not, the abort could result in the database being unable to start properly. I would start with shutdown immediate. You could alse look in v$session to make sure no user is connected to the database.

If only your session and the Oracle background sessions are in the database, then the shutdown immediate should work as soon as the database is ready to shut down the database.

Your large transaction may be rolling back, in which case the shutdown is waiting for that to complete. You'll have to wait for that before you can shut down, or when you're starting up (if you use the abort option).

Mathias
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
thorhiCommented:
You could also do the following

start svrmgrl
connect internal or sysdba
and issue startup force

which kills the database and starts it up again.

Thor Hjalmar
0
 
ezeeAuthor Commented:
i fixed it. but oracle 9i doesnt have server manager
SQL>connect sys/***@**as sysdba
Connected.
SQL> shutdown abort
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Database mounted.
SQL> alter database hspd recover;
Database altered.
SQL> alter database open;
Database altered.

thanks a lot anyways. waiting doenst work, as i waited the whole night.
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
I agree that 9i has dropped some things like servermanager tool and internal account...
Glad I could help.

CHeers
0
 
SpideyModCommented:
Administrative Action - PAQ'd and points NOT refunded.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now