Oracle Solution for Error ora-38768

Solution for Oracle Error ORA-38768

ORA-38768: resizing datafile string failed

What triggered the Error:

An operating system error occurred when Flashback Database tried to shrink (resize) a datafile. Flashback shrinks a file in order to undo the effects of a file expand, for example, an autoextension of the file.

What should we do to fix it:

Recover the database to return it to its previous state, or fix the cause of the operating system error and retry the Flashback. If that is not possible, then the file can be taken offline and the Flashback command retried. The file will have to be restored from a backup and rolled forward.