Verifying your admin server “ofm 11g Middleware Console” has shutdown properly

At times I noticed that when I went to start the Middleware Console after just having stopped the Middleware Console that there was an error can not get lock on file.
I found that this means that the Middleware Console was still running although it claimed it successfully shutdown.

To check this

ps -ef | grep Admin

kill –9 <myadminpid>

startup