IBM / db2-samples

Db2 application code, configuration samples, and other examples
https://www.ibm.com/analytics/developing-with-db2
Apache License 2.0
85 stars 86 forks source link

db2 restart automatically on window #69

Closed hsc2013 closed 1 year ago

hsc2013 commented 1 year ago

I have a package that uses the Db2 API for the archive of logs and also backup but when whenever i am uninstalling the package then db2 got stopped automatically and sometimes starts itself on the window. Is there any specific thing that I can look in db2diag for stopping and starting of db2 daemon?

MESSAGE : Obtained exclusive mode lock on the file: H:\DB2\DB2TPS\DB2TPS\ctrl\db2stst.0000^M

FUNCTION: DB2 UDB, base sys utilities, DB2StopMain, probe:749^M DATA #1 : String, 113 bytes^M EntryId[001][Reason:LOCAL_INUSE] Active Db:[ ] [QsAttemptCnt=0] [DbActivated=1] [UseCnt=36] [DbQuiesced=0]^M