oracle database shutdown

SQL> shutdown immediate

In alert log file:
shutting down instance (immediate)
license high water mark = 7
sculkget : failed to lock $ORACLE_HOME/dbs/lkinstabc exclusive
sculkget : lock held by PID: 16191
shutdown : active processes prevent shutdown operation

Can you guys help me in shuttting down database gracefully as I dont want to corrupt the database
hussainkhan22Asked:
Who is Participating?
 
slightwv (䄆 Netminder) Commented:
0
 
Praveen Kumar ChandrashekatrDatabase Analysist Senior Commented:
Hi,

check the PID what exactly its doing if its not required kill that particular PID and try to shutdown the database.

kill -9 PID

0
 
point_pleasantCommented:
no its the same page but not describing a "known Problem" but describing a workaround !!!!
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
hussainkhan22Author Commented:
How to find that process I'd which need to be deleted. I heard in this case we can try.       SQL> shutdown abort.       SQL> startup restrict.        SQL> shutdown immediate . But my question is if we issue shutdown abort won't it corrupt the database as it's not graceful shutdown
0
 
slightwv (䄆 Netminder) Commented:
It is not a graceful shutdown but it will likely not corrupt the database per say.  Oracle is pretty good about instance recovery after a 'system crash'.  A shutdown abort basically simulates a crash.

You should be able to track down the session from v$session but since you are hitting a bug that seems to refer to a SYS process, killing it would also likely simulate a crash.

Read the Metalink note referenced in the link I posted above.  It should have all the details.  The note I'd is at the bottom of the discussion.
0
 
Praveen Kumar ChandrashekatrDatabase Analysist Senior Commented:
The process id is nothing but it is showing in ur alert log file i.e PID:16191 through this trace the sid and check there is any active session are running.

As slightwv told the shutdown abort will not corrupt the database usually.

and also go through the metalink doc which will give u more inputs on it.

and also you can try enabling event trace on it as mention in the slightwv posted above.
0
 
johnsoneSenior Oracle DBACommented:
I was told once by someone at Oracle that shutdown abort is not as bad as it sounds.  What they told me was that everything that shutdown immediate does on the way down, shutdown abort does on the way back up.

I also have met DBAs that only use shutdown abort and nothing else.  Personally, I don't think that is a good idea though.

Take all that with a grain of salt and use at your own risk.
0
 
slightwv (䄆 Netminder) Commented:
I do agree that it isn't all that bad.

>>shutdown immediate does on the way down, shutdown abort does on the way back up

Like your post, going from old memory here: Shutdown immediate waits for all current transactions to either commit or rollback.  Shutdown abort kills all current transactions.  On the way back up Oracle will have to roll through the undo, replay the partial transactions then turn around and roll them all back.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.