Resolution: 

Once db2stop is given, and if it does not stop DB2, execute ipclean to clean up all the IPC components 


$ ipclean 

$ ipcs | grep instancename | awk '{print " ipcrm -"$1" "$2 }' _ ipcln 

$ chmod +x ipcln 

$ ipcln 


Then check 

$ ipcs | grep