Here is a small vbscript that can be used to check if DRM Application is up and running, this will come handy if for any reason you want to check if application is up and may be kick off exports form batch utility. Or may be use this to notify support team whenever the application is down.
1. Create a text file with extension vbs. e.g. Check_Application_Status.vbs
Note: In the example i’m only checking for Engines,Services, Process Manager and netjnibridge. If you want you can include DRM-api-Adapter and event-host.
— Here is the vbscript code —
set service = GetObject(“winmgmts:”)
for each Process in Service.InstancesOf(“Win32_Process”)
If Process.Name=”drm-engine.exe” Then
if i=2 then
ElseIf Process.Name=”drm-process-manager.exe” Then
ElseIf Process.Name=”drm-service.exe” Then
ElseIf Process.Name=”drm-netjnibridge-host.exe” Then
If cnt >=4 Then
— end of the vbscript code — — Batch File to call the vbscript —
echo Drm Services are up and running.
echo DRM services are down. Please Restart.
— End of Batch File —
The “ORA-12154: TNS:could not resolve the connect identifier specified” Oracle error is a commonly seen message for database administrators.
Learn how to fix common Log Shipping Failure errors in SQL Server. Includes step-by-step instructions, screenshots, and software script.