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 : 01-05-2017
ORA-31159

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

  • ora-40003 : wordsize must be in the range string - string for BLAST-P
  • ora-26078 : file "string" is not part of database being loaded
  • ora-38777 : database must not be started in any other instance.
  • ora-12671 : Shared server: adapter failed to save context
  • ora-31490 : could not attach to LogMiner session
  • ora-02847 : Server did not terminate when posted
  • ora-30104 : 'string' is not a legal integer for 'string'
  • ora-12064 : invalid refresh sequence number: string
  • ora-07275 : unable to send signal to process
  • ora-14510 : can specify VALIDATE INTO clause only for partitioned tables
  • ora-30108 : invalid positional parameter value 'string'
  • ora-25216 : invalid recipient, either NAME or ADDRESS must be specified
  • ora-24009 : invalid value string, QUEUE_TYPE should be NORMAL_QUEUE or EXCEPTION_QUEUE
  • ora-00981 : cannot mix table and system auditing options
  • ora-32330 : invalid operation on online redefinition interim table "string"."string"
  • ora-13347 : the coordinates defining an arc are not distinct
  • ora-23437 : template authorization already exists for user
  • ora-39204 : No subsetting of tablespaces is allowed for transportable import.
  • ora-26681 : command type not supported
  • ora-25127 : RELY not allowed in NOT NULL constraint
  • ora-07426 : spstp: cannot obtain the location of dbs directory.
  • ora-24006 : cannot create QUEUE, string already exists
  • ora-26101 : tablespace # in file header is string rather than string for file string
  • ora-14252 : invalid ALTER TABLE MODIFY PARTITION option for a Hash partition
  • ora-08466 : raw buffer length string is too short for string
  • ora-25148 : ONLINE option not permitted
  • ora-08184 : attempting to re-enable Flashback while in Flashback mode
  • ora-28292 : No Domain Policy registered for Kerberos based authentication
  • ora-02701 : osnoraenv: error translating oracle image name
  • ora-01296 : character set mismatch between dictionary string and logfiles
  • 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.