My Oracle Support Banner

Installation Of XDB Fails With ORA-04063, ORA-31000, ORA-600 [qmxqtmChkXQAtomMapSQL:2] (Doc ID 2504343.1)

Last updated on APRIL 17, 2023

Applies to:

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


On, the installation of XDB fails with the following errors:

ORA-04063: package body "SYS.DBMS_METADATA" has errors
ORA-04063: package body "XDB.DBMS_XDBZ" has errors
ORA-06575: Package or function XDB$PATCHUPSCHEMA is in an invalid state
ORA-31000: Resource '' is not an XDB schema document
ORA-00600: internal error code, arguments: [qmxqtmChkXQAtomMapSQL:2], [], [], [], [], [], [], [], [], [], [], []


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

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