EM 12c: Metric Collection from emctl in Enterprise Manager 220.127.116.11 Cloud Control Gives Error: XML-20221 (Fatal Error) Invalid char in text
Last updated on MAY 22, 2017
Applies to:Enterprise Manager for Oracle Database - Version 18.104.22.168.0 to 22.214.171.124.0 [Release 12.1]
Information in this document applies to any platform.
Executing the following command from EM 126.96.36.199 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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms