EM 12c: Metric Collection from emctl in Enterprise Manager 18.104.22.168 Cloud Control Gives Error: XML-20221 (Fatal Error) Invalid char in text
(Doc ID 2068864.1)
Last updated on MAY 22, 2017
Applies to:Enterprise Manager for Oracle Database - Version 22.214.171.124.0 to 126.96.36.199.0 [Release 12.1]
Information in this document applies to any platform.
Executing the following command from EM 188.8.131.52 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!