Highlighted
Absent Member.. GTrejos7 Absent Member..
Absent Member..
129 views

[OM TIP] Error when trying to edit a node via the adminui: "Duplicate widget id"

PROBLEM:

After installing the new patch (9.11.040) on OMU server, the following error is shown when trying to edit a node via the AdminUI:
Duplicate widget id "1__linux____x86____linux26" detected at fd:group -
file:/HPOM/opt/OMU/adminUI/webapps/midas/work/webapp/content/ovo/nodeedit/forms/edit-node-model-MonOMPTK_server.xml:4888:962.
Container widget "node-type-platform-sel" at fd:union -
file:/HPOM/opt/OMU/adminUI/webapps/midas/work/webapp/content/ovo/nodeedit/forms/edit-node-model-MonOMPTK_server.xml:6:720
already contains a widget with id "1__linux____x86____linux26" at fd:group -
file:/HPOM/opt/OMU/adminUI/webapps/midas/work/webapp/content/ovo/nodeedit/forms/edit-node-model-MonOMPTK_server.xml:4428:96

CAUSE:

The error shown: " Duplicate widget id " indicates, that there is an AgentPlatform file twice in the OM server.
MIDAS & AdminUI do not allow the same platform file (& platform numbers) more than once.


RESOLUTION:

Remove the additional agent bits:

Please check your system for any duplicates.

Example:

#cd /var/opt/OV/share/databases/OpC/mgd_node/vendor
#find / -name AgentPlatform

...
./ibm/rs6000/aix5/AgentPlatform
./ip/other/other/AgentPlatform
./hp/alpha/tru64/AgentPlatform
./hp/alpha/tru64/A.08.10.160/RPC_BBC/AgentPlatform
...



In this example deleted this one (the whole directory structure, not just the AgentPlatform file):
./hp/alpha/tru64/A.08.10.160/RPC_BBC/AgentPlatform

and performed the steps below and adding nodes worked again :

notes: Make sure you move the file outside the OM vendor tree. You could also delete it.

Additionally, please remove ALL .xml files inside the following directory:
/opt/OV/OMU/adminUI/webapps/midas/work/webapp/content/ovo/nodeedit/forms/

After that a restart of AdminUI is necessary:
/opt/OV/OMU/adminUI/adminui stop
/opt/OV/OMU/adminUI/adminui start


This is documented in the following KCS article: http://support.openview.hp.com/selfsolve/document/KM00779402

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.