My Oracle Support Banner

DBMS_SPM.CONFIGURE Fails With ORA-31011, ORA-19213, LPX-00007 (Doc ID 2976527.1)

Last updated on MAY 02, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.1.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Querying SPM-related table(s) is failing with errors:

SQL> SELECT * FROM DBA_SQL_MANAGEMENT_CONFIG;
ERROR:
ORA-31011: XML parsing failed
ORA-19213: error occurred in XML processing at lines 1
LPX-00007: unexpected end-of-file encountered
ORA-06512: at "SYS.XMLTYPE", line 272
ORA-06512: at line 1

no rows selected

SQL> exec DBMS_SPM.CONFIGURE('AUTO_CAPTURE_PARSING_SCHEMA_NAME','######',false);
BEGIN DBMS_SPM.CONFIGURE('AUTO_CAPTURE_PARSING_SCHEMA_NAME','######',false); END;
*
ERROR at line 1:
ORA-31011: XML parsing failed
ORA-19213: error occurred in XML processing at lines 1
LPX-00007: unexpected end-of-file encountered
ORA-06512: at "SYS.XMLTYPE", line 272
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_SPM_INTERNAL", line 682
ORA-06512: at "SYS.DBMS_SPM", line 635
ORA-06512: at "SYS.DBMS_SPM", line 797
ORA-06512: at line 1

Changes

 

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
Changes
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.