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 : 28-04-2017

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

  • ora-32108 : max column or parameter size not specified
  • ora-16555 : the Data Guard database is not active
  • ora-31700 : Very long string supplied for AUDIT_SYSLOG_LEVEL parameter
  • ora-31693 : Table data object string failed to load/unload and is being skipped due to error: string
  • ora-00219 : required control file size (string logical blocks) exceeds maximum allowable size (string logical blocks)
  • ora-13005 : recursive HHCODE function error
  • ora-29379 : resource plan string is involved in a loop in top-plan string
  • ora-14290 : PRIMARY KEY constraint mismatch in ALTER TABLE EXCHANGE [SUB]PARTITION
  • ora-25215 : user_data type and queue type do not match
  • ora-08231 : smscre: unable to attach to SGA
  • ora-29910 : invalid callback operation
  • ora-32773 : operation not supported for smallfile tablespace string
  • ora-02777 : Stat failed on log directory
  • ora-30656 : column type not supported on external organized table
  • ora-19815 : WARNING: string of string bytes is string%% used, and has string remaining bytes available.
  • ora-01978 : Missing sequence number
  • ora-01918 : user 'string' does not exist
  • ora-29518 : name string resolved to an object in schema string that is not a Java class
  • ora-14079 : illegal option for a partition marked Index Unusable
  • ora-26040 : Data block was loaded using the NOLOGGING option
  • ora-28024 : must revoke grants of external roles to this role/user
  • ora-13770 : Baseline "string" does not exist.
  • ora-27008 : function called with invalid file structure
  • ora-28221 : REPLACE not specified
  • ora-17618 : Unable to update block 0 to version 10 format
  • ora-23496 : can not change disabled status for "string" and "string"
  • ora-14314 : resulting List partition(s) must contain atleast 1 value
  • ora-06975 : X.25 Driver: connect to host failed
  • ora-25207 : enqueue failed, queue string.string is disabled from enqueueing
  • ora-06722 : TLI Driver: connection setup failure
  • 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.