ORA-38871: cannot enable flashback before open resetlogs after incomplete recovery.
Cause: To enable flashback on a primary database, the database must be clean without requiring open resetlogs.
Action: Open resetlogs first and then enable flashback database.
Error Type: ORA