ORA-00392: log 5 of thread 1 is being cleared, operation not allowed ORA-00312

Hi,

When you open database with resetlogs option, you can get ” ORA-00392: log 5 of thread 1 is being cleared, operation not allowed” error.

 

When I open Oracle database with resetlogs like following, I got ” ORA-00392: log 5 of thread 1 is being cleared, operation not allowed ” error.

SQL> 
SQL> alter database open resetlogs; 
alter database open resetlogs
*
ERROR at line 1:
ORA-00392: log 5 of thread 1 is being cleared, operation not allowed
ORA-00312: online log 5 thread 1: '/data/DEVECI/redologs/o1_mf_5_g11qrjms_.log'
ORA-00312: online log 5 thread 1: '/data/DEVECI/redologs/o1_mf_5_g11qrjoz_.log'

 

To solve this problem, you can clear related online log group like following.

You should change group number according to your environment.

SQL> alter database clear logfile group 5;

Database altered.

 

Or Sometimes you may need unarchive it, you can execute following script to solve.  You should change group number according to your environment.

SQL> alter database clear unarchived logfile group 1;

Database altered.

 

Do you want to learn Oracle Database for Beginners, then read the following articles.

https://ittutorial.org/oracle-database-19c-tutorials-for-beginners/

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *