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

[Support Tip] After upgrading from OMU 8.x to OMU/OML 9 opcragt -distrib crashing


Running an 'opcragt -distrib <node>' to some of our nodes is crashing.  
The following commands can be run 'opcragt -status', ovpolicy, ovdeploy, etc. to the same nodes and they all work.  
From the Management Server it is possible to distribute to other nodes with the exact same OS and agent version successfully.  

Here is the output from the failed opcragt:

[root@cnlip-ovom01 distrib]# opcragt -distrib -distrib abc.net
Node abc.net:
Create distribution data and inform agent...*** glibc detected *** opcragt: double free or corruption (!prev): 0x0000000001fd4d30 ***
======= Backtrace: =========
======= Memory map: ========
00400000-00419000 r-xp 00000000 fd:06 753829                             /opt/OV/bin/OpC/opcragt
00518000-0051b000 rw-p 00018000 fd:06 753829                             /opt/OV/bin/OpC/opcragt
01dee000-0202d000 rw-p 01dee000 00:00 0                                  [heap]
3717c00000-3717c1c000 r-xp 00000000 fd:00 459075                         /lib64/ld-2.5.so
3717e1c000-3717e1d000 r--p 0001c000 fd:00 459075                         /lib64/ld-2.5.so
3717e1d000-3717e1e000 rw-p 0001d000 fd:00 459075                         /lib64/ld-2.5.so
3718000000-371814f000 r-xp 00000000 fd:00 459076                         /lib64/libc-2.5.so
371814f000-371834f000 ---p 0014f000 fd:00 459076                         /lib64/libc-2.5.so
2b34fb5d1000-2b34fb5d2000 rw-p 2b34fb5d1000 00:00 0
2b34fb5f1000-2b34fb5f5000 r-xp 00000000 fd:00 458777                     /lib64/libnss_dns-2.5.so
2b34fb5f5000-2b34fb7f5000 ---p 00004000 fd:00 458777                     /lib64/libnss_dns-2.5.so
2b34fb7f5000-2b34fb7f6000 r--p 00004000 fd:00 458777                     /lib64/libnss_dns-2.5.so
2b34fb7f6000-2b34fb7f7000 rw-p 00005000 fd:00 458777                     /lib64/libnss_dns-2.5.so
2b34fb7f7000-2b34fb849000 rw-p 2b34fb7f7000 00:00 0
7fff3b18f000-7fff3b1ac000 rwxp 7ffffffe0000 00:00 0                      [stack]
7fff3b1ac000-7fff3b1ad000 rw-p 7fffffffe000 00:00 0
7fff3b1fd000-7fff3b200000 r-xp 7fff3b1fd000 00:00 0                      [vdso]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0                  [vsyscall]


The cache of the agent may contain older versions of some policies and this prevents new policies from being deployed to the node correctly.


Remove all the the templates from the node and redeploy the migrated policies from the new Management Server.

You can run the following command on the node:

#ovpolicy -remove -all

After that the command ‘opcragt –distrib’ to it should run with no issues.

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.