DeepDiverMom
Programmer
Background: I am a "Brand X" (Oracle) DBA by training and profession. I have inherited some DB2 installations to manage, as well. I am doing on-the-job training with DB2.
Problem: Yesterday, we discovered several DB2 run-away processes that were consuming most of the CPU resources of our Unix server. We attempted to do a "db2 force appliction all" followed by a "db2stop". We received an error (gone now, so I cannot quote it) that prevented a shutdown. We followed by killing the run-away processes and the rest of the db2 processes via the o/s. We used "ipcs" and "ipcrm" to detect and clean up any "dangling" DB2 processes.
Yet when we issues a "db2start", we receive the following response:
We have followed the instructions resulting from a "db2 ? SQL1072C", but still receive the same message, above.
Can you please advise me what command(s) I should invoke next to cause the database to return to a consistent state and to successfully restart my database instance?
Thanks,
Becca
Problem: Yesterday, we discovered several DB2 run-away processes that were consuming most of the CPU resources of our Unix server. We attempted to do a "db2 force appliction all" followed by a "db2stop". We received an error (gone now, so I cannot quote it) that prevented a shutdown. We followed by killing the run-away processes and the rest of the db2 processes via the o/s. We used "ipcs" and "ipcrm" to detect and clean up any "dangling" DB2 processes.
Yet when we issues a "db2start", we receive the following response:
Code:
SQL1072C The database manager resources are in an inconsistent state. DB2 may have been incorrectly terminated, or another application may be using system resources in a way which conflicts with DB2's use of system resources. System resource cleanup may be required.
We have followed the instructions resulting from a "db2 ? SQL1072C", but still receive the same message, above.
Can you please advise me what command(s) I should invoke next to cause the database to return to a consistent state and to successfully restart my database instance?
Thanks,
Becca