My Oracle Support Banner

Grid Control Target Maintenance: Trying to Manually Discover a Database Results in "LPX-00245: extra data after end of document" (Doc ID 945002.1)

Last updated on MAY 23, 2021

Applies to:

Enterprise Manager Base Platform - Version 10.2.0.1 to 10.2.0.5 [Release 10.2]
Information in this document applies to any platform.

Symptoms

Cannot manually add RAC Database on second node of RAC cluster from the Grid Console:

Failed to retrieve value for parameter " orcl2.service_names": Failed to convert spfile
+Data/crs/spfileorcl.ora to pfile using sqlplus: Invalid argument 0. The output of sqlplus
is "SQLPLUS: Release 10.2.0.3.0- Production on Wed Sep 9 10:34:38 2009 copyright (c) 1982, 2006,
Oracle. All Rights Reserved. Error: ORA-12560: TNS: protocol adapter error.

The <AGENT_HOME>/<nodename>/sysman/log/emagent.trc shows:

2009-09-14 12:47:12,220 Thread-2744 WARN TargetManager: Can't save file, fatal error in targets.xml: ORAXML-245, File=file:/C:/racagent/agent10g/<nodename>/sysman/emd/targets.xml,
Line=11, Msg=LPX-00245: extra data after end of document


Cause

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
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.