Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Standby Database not Sync with Primary. Also error ORA-16038 + 272

user7490278Apr 23 2016 — edited Apr 24 2016

Current Version(Primary) : 12.1.0.1.0

Alert Log :

Sat Apr 23 07:19:40 2016

Errors in file /u01/app/oracle/diag/rdbms/prd1/PRD1/trace/PRD1_tt00_128839.trc:

ORA-16038: log 9 sequence# 43550 cannot be archived

LNS: Failed to archive log 9 thread 2 sequence 43550 (272)

Sat Apr 23 07:19:45 2016

Thread 2 advanced to log sequence 43559 (LGWR switch)

  Current log# 3 seq# 43559 mem# 0: +DATAC1/PRD/ONLINELOG/group_3.2068.887536431

  Current log# 3 seq# 43559 mem# 1: +RECOC1/PRD/ONLINELOG/group_3.2403.887536431

Trace File :

*** 2016-04-23 07:19:35.525084 9169 krsw.c

Detected online logfile reuse - accessing archived log.

Archive log +RECOC1/PRD/ARCHIVELOG/2016_04_23/thread_2_seq_43552.5896.909904731 opened for thr 2 seq 43552

*** 2016-04-23 07:19:37.855

*** 2016-04-23 07:19:37.855163 6396 krsb.c

krsb_stream_reap: Error 3111 reaping buffers

*** 2016-04-23 07:19:40.013

*** 2016-04-23 07:19:40.013686 4662 krsh.c

TT00:  Error 272 archiving log 9 to 'STDBY'

krsb_stream_dispatch: No active stream for destination 2 - returning

*** 2016-04-23 07:19:40.021583 6742 krsi.c

krsi_dst_fail: dest:2 err:272 force:0 blast:1

ORA-16038: log 9 sequence# 43550 cannot be archived

Closing Redo Read Context

Note: DB_UNIQUE_NAME for PRIMARY AND STANDBY are different.

Enough spaces are there in O

Disk Group            Sector   Block   Allocation

Name                    Size    Size    Unit Size State       Type   Total Size (MB) Used Size (MB) Pct. Used

-------------------- ------- ------- ------------ ----------- ------ --------------- -------------- ---------

DATAC1                   512   4,096    4,194,304 CONNECTED   NORMAL      54,429,696     27,306,468     50.17

RECOC1                   512   4,096    4,194,304 CONNECTED   NORMAL      13,610,880      1,956,120     14.37

Standby is not in sync :

SQL>  select thread#,max(sequence#) from v$archived_log group by thread#;


   THREAD# MAX(SEQUENCE#)

---------- --------------

         1          48610

         2          43603


SQL> select thread#,max(sequence#) from v$archived_log where APPLIED='YES' group by thread#;


   THREAD# MAX(SEQUENCE#)

---------- --------------

         1          48575

         2          43521

I don't have login information of standby database. Just Need to know how I can identify the correct issue with the alert and trace file informations given above? I did not find any particular document related to ORA-16038 and 272. From the trace file , Is "krsb_stream_dispatch: No active stream for destination 2 - returning" a noted info about the issue? Please Help and provide any Doc ID which is closely related with this issue.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 22 2016
Added on Apr 23 2016
3 comments
2,627 views