ORA-31159: XML DB is in an invalid state

Cause : XMLD B'si ntenral atble sarei n a ninvlaid tsate ,proabblyb ecasue teh daatbas ewasn ot pugraedd o rtheu pgrdae wsa no tsucecssflu

Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts

Ensrue taht teh daatbas eis pugraedd scucesfsull.y Ift he rpoblme pesrist,s cotnactO racel Support

update : 23-01-2017

ORA-31159 - XML DB is in an invalid state
ORA-31159 - XML DB is in an invalid state

  • ora-02051 : another session in same transaction failed
  • ora-38405 : quotes not allowed in the attribute set name
  • ora-36681 : (XSDPART19) Partitions string and string are out of order.
  • ora-10584 : Can not invoke parallel recovery for test recovery
  • ora-30013 : undo tablespace 'string' is currently in use
  • ora-28334 : column is already encrypted
  • ora-19693 : backup piece string already included
  • ora-03008 : parameter COMPATIBLE >= string needed for string
  • ora-28106 : input value for argument #string is not valid
  • ora-16235 : DDL skipped because import has occurred
  • ora-22998 : CLOB or NCLOB in multibyte character set not supported
  • ora-19726 : cannot plug data [string] at level string into database running at compatibility level string
  • ora-12505 : TNS:listener does not currently know of SID given in connect descriptor
  • ora-03231 : the INITIAL extent may not be deallocated
  • ora-06736 : TLI Driver: server not running
  • ora-14036 : partition bound value too large for column
  • ora-07840 : sllfop: LIB$GET_VM failure
  • ora-30364 : this level has the same set of columns as another
  • ora-38505 : invalid default value for the attribute
  • ora-06030 : NETDNT: connect failed, unrecognized node name
  • ora-01154 : database busy. Open, close, mount, and dismount not allowed now
  • ora-16169 : LGWR network server invalid parameters
  • ora-25105 : RECOVERABLE option can only be used with ALTER INDEX REBUILD
  • ora-16770 : physical standby database not in read-only state
  • ora-28104 : input value for string is not valid
  • ora-16785 : the database is not in ARCHIVELOG mode
  • ora-24062 : Subscriber table string inconsistent with queue table string
  • ora-24307 : invalid length for piece
  • ora-30100 : internal error [number]
  • ora-09988 : error while detaching SGA
  • Oracle Database Error Messages

    Oracle Database High Availability Any organization evaluating a database solution for enterprise data must also evaluate the High Availability (HA) capabilities of the database. Data is one of the most critical business assets of an organization. If this data is not available and/or not protected, companies may stand to lose millions of dollars in business downtime as well as negative publicity. Building a highly available data infrastructure is critical to the success of all organizations in today's fast moving economy.

    Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.