Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
May the source be with you, but remember the KISS principle ;-)
Skepticism and critical thinking is not panacea, but can help to understand the world better

opcmsgm message manager aborted

News HP Operations Center Recommended Links  Reference Server Health checking Checking the HPOM Processes
HPOM Server processes Log Files        
Message from opcmsg not reaching manager   Tracing Troubleshooting HPOM agents Humor Etc

Note: HP renamed the product called now HP operations manager way too many times. Also it is very inconsistent with using abbreviations. Here we will assume that the term "HP Operations manager" and abbreviations HPOM, OMU, and OVO  mean the same thing :-)

In HPOM opcmsgm is message manager which receives messages from the managed nodes through the message receiver (opcmsgr). The messages can be correlated, regrouped and logged by the message manager running on the management server. The message manager is also responsible for adding annotations, triggering notifications, and forwarding the message to the trouble ticket and notification service manager for external notification and trouble ticket generation.

This problem demonstrates itself when the process opcmsgm aborts frequently with OpC40-687, OpC20-87 and OpC40-679 errors. No messages are delivered to operator GUI.

This problems is connected with the fact that There is at least one duplicated agent_id in the opc_nodes table in the Oracle database. The agent_id column holds coreIDs which must be unique. This column is updated after a certificate grant but it can be altered also manually (with the opcnode tool).

It can be caused by several different reasons:

There is HP document KM831198 ( HPOM 9: opcmsgm aborts frequently: Problem within HPOM message correlation module detected. (OpC40-679) ) from Aug-30. 2010

It provides a good method to diagnose the problem while incorrectly stating that it was resolved in patch  OML_00006 (Linux) or  PHSS_41175 (HP-UX):

This problem is registered as QCCR1A101191 and now solved on :

Linux by OML_00006 : Server patch 09.01.300

HP-UX by PHSS_41175 : IA-64 cons. server 09.00.250

Here are some key quotes:

Operations Manager for UNIX ( HPOM ) 9.0. The process opcmsgm aborts frequently after logging the following messages to the /var/opt/OV/log/System.txt file:

0: ERR: Wed Jan 20 10:54:13 2010: opcmsgm (23750/1): [opcmsgm.c:16121]: A severe error caused the main controller loop to abort. (OpC40-687)
0: ERR: Wed Jan 20 10:54:33 2010: opcmsgm (23750/4): [opcmsgm.c:5203]: Select failed: errno=Bad file number. (OpC20-87)
Problem within HPOM message correlation module detected. (OpC40-679)

The problem happens during a license check where opcmsgm expects a single row to be returned from an SQL (Structured Query Language) query.

They provided workaround:

The following SQL query can be used to identify nodes with duplicate coreID:

select label,node_id,agent_id from opc_nodes where agent_id in (select agent_id from opc_nodes group by agent_id having count(*)>1 and agent_id<>'000000000000000000000000000000000000');

as in the following example:

$ sqlplus opc_op@ov_net

SQL*Plus: Release - Production on Mon Jan 25 18:13:58 2010

Copyright (c) 1982, 2008, Oracle.  All rights reserved.

Enter password:

Connected to:
Oracle Database 11g Enterprise Edition Release - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> select label,node_id,agent_id from opc_nodes where agent_id in
(select agent_id from opc_nodes group by agent_id
having count(*)>1 and agent_id<>'000000000000000000000000000000000000');

NODE_ID                              AGENT_ID
------------------------------------ ------------------------------------
3f62933e-0524-71df-04eb-10171d980000 ff0a7954-3f4b-7542-1602-fcddc91afb72

3f6520f4-0524-71df-04eb-10171d980000 ff0a7954-3f4b-7542-1602-fcddc91afb72

In the example above, both nodes (node1 and node2) are cloned systems and the HPOM administrator has set the coreID of both of them using opcnode on the server.

The problem disappears after changing the coreID of  one of the nodes by running this command on the node:

ovcoreid -create -force

removing the old certificates on the node (ovcert -list / ovcert -remove), requesting new certificates (ovcert -certreq) and granting them on the server.

Top Visited
Past week
Past month


Old News

[Nov 23, 2010] Critical Error in HPOM 9 opcmsgm failed

Solution see:
Nov 23, 2010 | IT Resource Center forums
Vitaliy Ostapchuk

Help pls, don't work in HPOM Managements Server component - opcmsgm

[root@omu /]# ovc
ovcd OV Control CORE (25557) Running
ovbbccb OV Communication Broker CORE (25558) Running
ovconfd OV Config and Deploy COREXT (5851) Running
ovcs OV Certificate Server SERVER (5859) Running
ovtomcatB OV Tomcat(B) Servlet Container WEB,SERVER (6041) Running
opcactm  HPOM  Action Manager SERVER,OPC (6105) Running
opcbbcdist  HPOM  BBC Config Adapter SERVER,OPC (13616) Running
opccsad  HPOM  Cert. Server Adapter SERVER,OPC (13602) Running
opcdispm  HPOM  Display Manager SERVER,OPC (6063) Running
opcforwm  HPOM  Forward Manager SERVER,OPC (13588) Running
opcmsgm  HPOM  Message Manager SERVER,OPC Aborted
opcmsgrb  HPOM  Message Receiver (HTTPS) SERVER,OPC (6091) Running
opcsvcm  HPOM  Service Engine SERVER,OPC (13630) Running
opcttnsm  HPOM  TT & Notify Manager SERVER,OPC (13574) Running
ovoareqsdr  HPOM  Request Sender SERVER,OPC (6077) Running
opcuihttps  HPOM  HTTPS Communication Proxy SERVER,OPC (13674) Running
opcsvcam  HPOM  Svc. Nav. Action Manager SERVER,OPC (13688) Running
opcsvcdisc  HPOM  Service Discovery Server SERVER,OPC (6266) Running
opcmsga OVO Message Agent AGENT,EA (6275) Running
opcacta OVO Action Agent AGENT,EA (6276) Running
opcmsgi OVO Message Interceptor AGENT,EA (6277) Running
opcle OVO Logfile Encapsulator AGENT,EA (6293) Running
opcmona OVO Monitor Agent AGENT,EA (6295) Running
opctrapi OVO SNMP Trap Interceptor AGENT,EA (6304) Running
coda OV Performance Core COREXT (6357) Running
adminui  HPOM  Administration UI Server SERVER,OPC,UI (13701) Running
HPSESPI_Ack HP SE SRM SPI event clearing SERVER (6420) Running
HPSIMIntAck HP SIM SPI event clearing SERVER (6427) Running
When use ovc -start opcmsgm

In System.txt receive:

0: ERR: Tue Nov 23 12:53:06 2010: opcmsgm (18382/1): [opcmsgm.c:16109]: A severe error caused the main controller loop to abort. (OpC40-687)
0: ERR: Tue Nov 23 12:53:26 2010: opcmsgm (18382/4): [opcmsgm.c:5203]: Select failed: errno=Bad file number. (OpC20-87)
Problem within HPOM message correlation module detected. (OpC40-679)
0: ERR: Tue Nov 23 12:53:26 2010: ovcd (25557/441): (ctrl-94) Component 'opcmsgm' exited after very short runtime, therefore it will not be automatically restarted. Use 'ovc -start opcmsgm'.
the problem was not solved by server reboot

Before errors, I run only 2 commands

opcnode -chg_id id=97008760-019c-7532-0356-e39ad39c75ba
2) opcragt -primmgr

and Deploy policies to node 



Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy


War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes


Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law


Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Haterís Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D

Copyright © 1996-2020 by Softpanorama Society. was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to to buy a cup of coffee for authors of this site


The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March 12, 2019