Learnings

Wednesday, June 24, 2009

db2stop hang

If db2stop hangs and db2stop force hangs and db2start doesn't work...

If db2stop and db2stop force do not complete in a reasonable amount of
time, you can (as instance owner):
1. db2_kill
2. ipclean
3. ipcs | grep | awk '{print " ipcrm -"$1" "$2 }' > ipcln
4. chmod +x ipcln
5. ipcln
6. Then check
ipcs | grep instancename
7. Restart db2 using db2start

Labels:

0 Comments:

Post a Comment

<< Home