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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

slightwv (䄆 Netminder) Commented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.