Question & Answer
Question
Windows S-TAP upgrade aborted and below error logged in 'IBM Windows S-TAP*.ctl' file under path <STAP-InstallationPath>\IBM\Windows S-TAP\Logs
Error:
"The process cannot access the file 'C:\Program Files (x86)\Guardium\WINSTAP\Bin\TaggedMemoryx64.dll' because it is being used by another process"
How to check what processes have an open handle to the DLL on Windows Server?
Cause
The error indicates that there is an open handle to the TaggedMemoryx64.dll which didn't allow the installer to replace the dll with the new one and the upgrade process failed.
Answer
To find all the processes that have an open handle to any DLL file, You can use the Microsoft utility Process Explorer.
It can be downloaded from here.
The unique capabilities of Process Explorer make it useful for tracking down DLL-version problems or handle leaks, and provide insight into the way Windows and applications work.
Steps:
- Open the 'Process Explorer' utility on Windows server
- 'Ctrl+F' to find Handle or DLL
- Enter DLL's name and click Search
Below example shows that the DLL 'TaggedMemoryx64.dll' is being used by SQLSERVER, Guardium STAP and Guardium Database monitor processes.
The Process Explorer display consists of two sub-windows.
- The top window always shows a list of the currently active processes, including the names of their owning accounts.
- The information displayed in the bottom window depends on the mode that Process Explorer is in:
- If it is in handle mode you'll see the handles that the process selected in the top window has opened.
- If Process Explorer is in DLL mode you'll see the DLLs and memory-mapped files that the process has loaded.
You have to engage IBM Technical Support in the usual manner by uploading STAP diagnostics along with above information for further investigation.
Related Information
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSZSXX","label":"Guardium Database Activity Monitor"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)","Line of Business":{"code":"LOB24","label":"Security Software"}}]
Product Synonym
IBM Guardium
Was this topic helpful?
Document Information
Modified date:
27 May 2020
UID
ibm16216051