Edit

ORA-19821: an intentionally corrupt log file was found

Note:
It occured when used parameter _disable_logging=true while converting a database to archivelog mode, after completing a Data Pump export/import

SQL> startup mount;
SQL> alter database archivelog;
ERROR at line 1: ORA-19821: an intentionally corrupt log file was found
SQL> alter system set "_disable_logging"=false scope=spfile;
SQL> shutdown immediate
SQL> startup mount
SQL> recover database until cancel;
SQL> alter database archivelog;
SQL> alter database open resetlogs;

%23%23%23%60ORA-19821%3A%20an%20intentionally%20corrupt%20log%20file%20was%20found%60%0A%0A%3E**Note%3A**%0A*It%20occured%20when%20used%20parameter%20_disable_logging%3Dtrue%20while%20converting%20a%20database%20to%20archivelog%20mode%2C%20after%20completing%20a%20Data%20Pump%20export/import*%0A%60%60%60sql%0ASQL%3E%20startup%20mount%3B%0ASQL%3E%20alter%20database%20archivelog%3B%0AERROR%20at%20line%201%3A%20ORA-19821%3A%20an%20intentionally%20corrupt%20log%20file%20was%20found%0ASQL%3E%20alter%20system%20set%20%22_disable_logging%22%3Dfalse%20scope%3Dspfile%3B%0ASQL%3E%20shutdown%20immediate%0ASQL%3E%20startup%20mount%0ASQL%3E%20recover%20database%20until%20cancel%3B%0ASQL%3E%20alter%20database%20archivelog%3B%0ASQL%3E%20alter%20database%20open%20resetlogs%3B%0A%60%60%60%0A@%28Postach.io%29%5Bora-19821%2C%20error%2C%20published%5D