Absent Member.. GTrejos7 Absent Member..
Absent Member..

[ST OMU] opcacta aborted in Windows node

Action agent process (opcacta) is in aborted state in a Windows 11.11 agent.
Restarting this process does not help. This is the only process in aborted state on the node.  
System.txt shows error:

ovoadif (10316/3624): [ntevents.c:233]: NT API OpenEvent: Event Global\OpcMessageInMsgQ does not exist.
System Error Number: 2 (2) - The system cannot find the file specified.


The root cause is unknown. However one thing to notice is that the path variable contains more than 1024 characters.
[cpvri01a0002] omadmin /opt/omadmin> ovdeploy -cmd "echo %PATH%" -node abc.net
C:/Windows/Tools;C:/Program Files (x86)/Dell/SysMgt/shared/bin;C:/Program Files (x86)/Dell/SysMgt/oma/bin;
C:/Program Files (x86)/Dell/SysMgt/idrac;C:/ProgramData/Opsware/custom/local_security_cli;
C:/PROGRA~1/DISKEE~1/DISKEE~1/;C:/Program Files (x86)/Symantec/Critical System Protection/Agent/IPS/bin;
C:/Program Files/Veritas/Veritas Volume Manager/;
C:/Program Files/Veritas/VERITAS Object Bus/Bin;D:/Program Files (x86)/Microsoft SQL Server/100/Tools/Binn/;
D:/Program Files/Microsoft SQL Server/100/Tools/Binn/;D:/Program Files/Microsoft SQL Server/100/DTS/Binn/;
D:/Program Files (x86)/Microsoft SQL Server/100/Tools/Binn/VSShell/Common7/IDE/;
C:/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE/PrivateAssemblies/;
D:/Program Files (x86)/Microsoft SQL Server/100/DTS/Binn/  
C:/Windows/system32;D:/Program Files (x86)/Microsoft SQL Ser;C:/Program Files/System Center Operations Manager 2007/;
D:/IBM/db2/9.7/BIN;D:/IBM/db2/9.7/FUNCTION;C:/Program Files/HP Openview/lib;
C:/Program Files/HP Openview/bin;C:/Program Files/HP Openview/bin/win64;
C:/Program Files/HP Openview/bin/win64/OpC;d;C:/Program Files/HP Openview/data/bin/instrumentation;.;
C:/Program Files/HP Openview/data/bin/instrumentation



1. Ensure PATH variables doesn't have big spaces between Paths
2. Ensure each Path mentioned in the PATH variable is closed by a semicolon
3. If the PATH variable is crossing 1024 characters, ensure that you use small paths by using the command

for %I in (.) do echo %~sI

C:\Program Files (x86)\Create Software>for %I in (.) do echo %~sI

C:\Program Files (x86)\Create Software>echo C:\PROGRA~2\CREATE~1

Modify the PATH variable and use a short path of less than 1024 characters.

C:\Program Files\HP\HP BTO Software\lbin\eaagt>echo %PATH%
ROGRA~1\HP\HPBTOS~1\bin\win64;C:\PROGRA~1\HP\HPBTOS~1\bin\win64\OpC;C:\Program F
iles (x86)\Windows Kits\8.1\Windows Performance Toolkit\;
C:\Program Files\HP\HP BTO Software\lbin\eaagt>opcacta

You can change the PATH variable as follows:

    From the Desktop, right-click My Computer and click Properties.
    In the System Properties window, click on the Advanced tab.
    In the Advanced section, click the Environment Variables button.
    Finally, in the Environment Variables window,
    highlight the Path variable in the Systems Variable section and click the Edit button.
    Add or modify the path lines with the paths you wish the computer to access.
    Each different directory is separated with a semicolon as shown below.

    C:\Program Files;C:\Winnt;C:\Winnt\System32

After this clean start the agent.
Clean start is required after modifying the path variable for Operations Manager for Unix (OMU) agent to catch the new PATH variable.

This is documented in the following KCS document:

HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
If you liked it I would appreciate KUDOs.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.