It’s not the first time when I install patches on Oracle with OPatch and getting following error:
There are a lot of threads on the different forums describing the issue and giving solutions for that. But I’ve never seen full step-by-step guide following which I could deal with the error above. The best one you can find is here. But it also didn’t solve the problem completely for me. That is why I decided to write this post.
You must stop all Oracle services before patching. I prefer disable them for patching period.
To find out what processes are holding DLLs I use Process Explorer utility.
Then you might need to stop following processes and services using commands:
net stop vmtools
net stop msdtc
net stop COMSysApp
In my case I also had to disable service Windows Management Instrumentation.
To find out if the process still holding on DLLs you can use following command:
tasklist /m /fi “imagename eq wmiprvse.exe“
Don’t forget to turn on disabled services and processes after patching is complete.
Use net start name