ORA-19957: database should have no datafiles in unknown state

Cause : Th eopreatoin afilde bceaues teh dtaabsae ahd noe ro mroe adtaifle sthta wree ni a nunnkow nsttae.

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

Drpo teh dtaaflieso r ercoevr htema ndb rign tehm nolien.

update : 17-08-2017
ORA-19957

ORA-19957 - database should have no datafiles in unknown state
ORA-19957 - database should have no datafiles in unknown state

  • ora-08192 : Flashback Table operation is not allowed on fixed tables
  • ora-19015 : Invalid XML tag identifier (string)
  • ora-13408 : invalid blockSize storage parameter
  • ora-25472 : maximum open iterators exceeded
  • ora-22604 : TDS handle already generated
  • ora-12479 : file label string must equal DBHIGH string
  • ora-02397 : exceeded PRIVATE_SGA limit, you are being logged off
  • ora-10639 : Dump library cache during kksfbc-reparse-infinite-loop error
  • ora-24309 : already connected to a server
  • ora-39094 : Parallel execution not supported in this database edition.
  • ora-15153 : cluster not in rolling upgrade
  • ora-34348 : (MXDSS05) string is used only for internal purposes and cannot be accessed as an analytic workspace.
  • ora-16057 : DGID from server not in Data Guard configuration
  • ora-07576 : sspexst: $GETJPIW failure on process ID string
  • ora-02843 : Invalid value for kernel flag
  • ora-01412 : zero length not allowed for this datatype
  • ora-22812 : cannot reference nested table column's storage table
  • ora-15019 : discovered duplicate path 'string' for 'string'
  • ora-16729 : validation of value for property string found string error
  • ora-19955 : only one open thread is allowed to change the DBID
  • ora-02432 : cannot enable primary key - primary key not defined for table
  • ora-13856 : Service name must be specified
  • ora-36839 : (XSLMGEN09) Cube string.string!string measure string is missing a COLUMNNAME property value
  • ora-22053 : overflow error
  • ora-09814 : Unable to expand file name
  • ora-12924 : tablespace string is already in force logging mode
  • ora-16535 : CRS is preventing execution of a broker operation
  • ora-31696 : unable to export/import string using client specified string method
  • ora-02083 : database name has illegal character 'string'
  • ora-01285 : error reading file string
  • 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.