The solution is as follows:
SQL> Conn/As sysdba
Connected.
SQL> conn HR/hr
Error:
ORA-01033: Oracle is initializing or shutting down
Warning: you are no longer connected to Oracle.
SQL> shutdown immediate
ORA-01109: the database is not open
The database has been detached.
The Oracle routine has been disabled.
SQL> startup
The Oracle routine has been started.
Total system global area 612368384 bytes
Fixed size 1250428 bytes
Variable Size 180358020 bytes
Database buffers 423624704 bytes
Redo buffers 7135232 bytes
The database has been loaded.
ORA-16038: log 3 serial number 108 cannot be archived
ORA-19809: exceeds the limit on the number of recovery files
ORA-00312: Online log 3 thread 1:
'D: \ oracle \ product \ 10.2.0 \ oradata \ orcl \ onlinelog \ o1_mf_3_7tqzwzoy_.log'
ORA-00312: Online log 3 thread 1:
'D: \ oracle \ product \ 10.2.0 \ flash_recovery_area \ orcl \ onlinelog \ o1_mf_3_7tqzx11d_.l
OG'
SQL> alter system set db_recovery_file_dest_size = 5g;
The system has been changed.
SQL> archive log start;
Processed statements
SQL> archive log next;
One log is archived.
SQL> alter database open;
The database has been changed.