EM 12c: Metric Collection from emctl in Enterprise Manager 188.8.131.52 Cloud Control Gives Error: XML-20221 (Fatal Error) Invalid char in text
(Doc ID 2068864.1)
Last updated on FEBRUARY 25, 2019
Applies to:Enterprise Manager for Oracle Database - Version 184.108.40.206.0 to 220.127.116.11.0 [Release 12.1]
Information in this document applies to any platform.
Executing the following command from EM 18.104.22.168 Cloud Control gives the command session error shown:
$emctl control agent runCollection <YOUR_DATABASE>:oracle_database oracle_dbconfig
EMD runCollection error:
oracle_dbconfig:Could not send some or all data over to repository: Failed to upload file: XML error during upload to https://someserver.oracle.local:4900/empbs/upload uplE_P4_S2_I1745.xml will be saved in the badfile directory (TIMEOUT)
Reviewing the badfile uplE_P4_S2_I1745.xml the invalid character can be seen in Line 1, Column 28385
Coincidentally, the .../agent_inst/sysman/log/gcagent.log messages start with:
Due to this issue, users cannot monitor all areas of the database.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document