Hi,I'm getting the following error message when starting up the database:
OS: SUN Solaris 5.10 DB: 10.2.0.3 USING ASM
SQL> startup
ORACLE instance started.
Total System Global Area 2634022912 bytes
Fixed Size 2130720 bytes
Variable Size 513637600 bytes
Database Buffers 2113929216 bytes
Redo Buffers 4325376 bytes
Database mounted.
ORA-16038: log 2 sequence# 1704 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 2 thread 1:
'+SHARED_DATA_DG02/proddb/onlinelog/group_2.257.681318315'
ORA-00312: online log 2 thread 1:
'+SHARED_DATA_DG03/proddb/onlinelog/group_2.263.681321803'
I couldn't figure out what to do. I even deleted all the archivelogs from RMAN:
RMAN> delete noprompt archivelog all;
released channel: ORA_DISK_1
released channel: ORA_DISK_2
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=64 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=163 devtype=DISK
specification does not match any archive log in the recovery catalog
I then checked the recovery area:
SQL> show parameter recovery
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string +SHARED_FRA_DG01
db_recovery_file_dest_size big integer 2G
recovery_parallelism integer 0
After checking this, I knew what my problem was. The db_recovery_file_dest_size is set to 2G. When i had created my spfile, i had set it to 200G, but this time, I had started it with the init<sid>.ora file and the initfile had it set to 2G and the archiver had been stuck. I changed it by issuesing the following command:
SQL> alter system set db_recovery_file_dest_size=200G scope=both;
System altered.
Then i shutdown the db and started it up again:
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 2634022912 bytes
Fixed Size 2130720 bytes
Variable Size 513637600 bytes
Database Buffers 2113929216 bytes
Redo Buffers 4325376 bytes
Database mounted.
Database opened.
SQL> exit
Hope this helps.