Oracle Solution for Error ora-01227

Solution for Oracle Error ORA-01227

ORA-01227: log string is inconsistent with other logs

What triggered the Error:

The log file in the accompanying error is inconsistent with the contents of other logs given in the CREATE CONTROLFILE command. Either a file header is corrupted, or some file is an old copy rather than the current version. The problem may not be with the log listed since all that can be detected is that there is an inconsistancy. All log files listed in the command must be the current versions of the online logs.

What should we do to fix it:

Find the correct online logs or use the RESETLOGS option.