I have a db2 instance, and I need to stop it properly, clean, without any db2stop force. I need this in order to restart it fast in a batch process.

I am completly sure there are not connections or active databases; however, the instance does not stop. Attached, there is an image that shows this behaviour.

enter image description here

What can I do? what is using the instance that produces the SQL1025 error?

  • Have you tried quiesce?
    – Lennart
    May 16 '19 at 5:35

You need to deactivate all active databases first, in your case

db2 deactivate db 🔴🔴🔴🔴🔴🔴🔴

before stopping the instance. db2stop force does that for you, so I'm not sure what's wrong with simply using the force option.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.