Archive log not shipped to standby.

Dear Experts,
We have are using oracle 10.2.0.4.0 on AIX.
And we have configured physical standby database which was working fine till date.
suddenly i found that the MRP process is waiting for gap.
i have all the archive logs on the primary system and all the logs are getting shipped to standby database expect one file.
/oracle/PRD/saparch/PRDarch1_46811_755493268.dbf only this file is not getting shipped to standby database....due to which the standby is waiting for this log.
log applied till 46810
other logs are getting shipped.
However i tried to manually copy this log to standby but it didnt start applying this log.
and i heard that if i copy the log file manually then i need to register it...please let me know how to register it if it is the correct method.
Please help to overcome this issue....
Thanks,
Shankar.
Edited by: Shankar Viji on Jun 19, 2012 10:34 PM

Shankar Viji wrote:
Dear Mesberg,
Is there any way to over come this bug.
Bug 6851669 - ORA-308 / ORA-27037 from Dataguard GAP resolution [ID 6851669.8]
if not i am planing to take offline backup of my primary and restore it on standby and start the DR again.
Please suggest is that the correct way to do it r not.
Thanks,
Shankar.
Edited by: Shankar Viji on Jun 21, 2012 10:51 PMHi,
It looks for me that archive unable to read, it may be because of any header verification or corrupted blocks.
Now do you have backup of archives ?
If so restore it and retry again.
If not, I suggest you to go with incremental scn for standby instead of recreation whole DR.
Check this link http://www.oracle-ckpt.com/rman-incremental-backups-to-roll-forward-a-physical-standby-database-2/

Similar Messages

  • Archive logs not applied on standby!!

    Hi Guys,
    I am trying to set up physical standby on windows 2003 server. I am using oracle 10.2.0.4.0. I get the following error in my alert file on standby
    Failed to request gap sequence
    Following is the results of some queries :
    SQL> SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#, BLOCKS FROM V$MANAGED_STANDBY;
    PROCESS STATUS THREAD# SEQUENCE# BLOCK# BLOCKS
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    MR(fg) WAIT_FOR_GAP 1 10004 0 0
    SQL> select * from v$archive_gap;
    no rows selected
    SQL> select message from v$dataguard_status;
    MESSAGE
    ARC0: Archival started
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC4: Archival started
    ARC5: Archival started
    ARC6: Archival started
    ARC7: Archival started
    ARC8: Archival started
    ARC9: Archival started
    ARC0: Becoming the 'no FAL' ARCH
    MESSAGE
    ARC0: Becoming the 'no SRL' ARCH
    ARC1: Becoming the heartbeat ARCH
    Attempt to start background Managed Standby Recovery process
    MRP0: Background Managed Standby Recovery process started
    Managed Standby Recovery not using Real Time Apply
    Media Recovery Waiting for thread 1 sequence 10004
    Fetching gap sequence in thread 1, gap sequence 10004-10017
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 10004-10017
    DBID 2422302575 branch 670594799
    FAL[client]: All defined FAL servers have been attempted.
    MESSAGE
    MRP0: Background Media Recovery cancelled with status 16037
    MRP0: Background Media Recovery process shutdown
    Managed Standby Recovery Canceled
    Media Recovery Start: Managed Standby Recovery
    Managed Standby Recovery not using Real Time Apply
    Media Recovery Waiting for thread 1 sequence 10004
    Fetching gap sequence in thread 1, gap sequence 10004-10017
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 10004-10017
    DBID 2422302575 branch 670594799
    FAL[client]: All defined FAL servers have been attempted.
    SQL>SELECT THREAD#, SEQUENCE#, APPLIED FROM V$ARCHIVED_LOG
    where applied= 'YES'
    no rows selected
    ##Modification to primary##
    *.log_archive_dest_2='SERVICE=STANDBY'
    *.fal_client='STUTEST'
    *.fal_server='STUSTANDBY'
    *.log_archive_config='DG_CONFIG=(STUTEST,STUSTANDBY)'
    ##Modification to standby##
    *.db_unique_name='STANDBY'
    *.log_archive_dest_2='SERVICE=STANDBY'
    *.log_archive_dest_state_2='ENABLE'
    *.Fal_server=STUTEST
    *.Fal_client=STUSTANDBY
    *.db_file_name_convert='H:\ORACLE\ORADATA\STUTEST\','I:\ORACLE\ORADATA\STUTEST\s_'
    *.log_file_name_convert='D:\oracle\oradata\STUTEST\','D:\oracle\oradata\STUTEST\s_'
    Nore: I used RMAN to create the standby database. The following are brief steps
    Below are the steps to accomplish the task :
    Step 1: Backup the database that includes backup of datafiles, archivelogs and controlfile for standby
    backup current controlfile for standby;
    Step 2: Move the backups to the standby server and restore control file from backup
    Step 3: Make changes in the parameter files of both primary and standby database
    Step 4: Do the restore and recover on standby database
    Step 5: Put the standby database in recover managed mode
    Thanks for help guys!!!!!

    Hi sb92075
    Alert log on standby
    alter database mount standby database
    Mon Jul 26 14:10:40 2010
    Setting recovery target incarnation to 1
    ARCH: STARTING ARCH PROCESSES
    ARC0 started with pid=21, OS id=6708
    ARC1 started with pid=22, OS id=3892
    ARC2 started with pid=23, OS id=4380
    ARC3 started with pid=24, OS id=4896
    ARC4 started with pid=25, OS id=6348
    ARC5 started with pid=26, OS id=5868
    ARC6 started with pid=27, OS id=6904
    ARC7 started with pid=28, OS id=4428
    ARC8 started with pid=29, OS id=5008
    Mon Jul 26 14:10:40 2010
    ARC0: Archival started
    ARC9 started with pid=30, OS id=5804
    Mon Jul 26 14:10:41 2010
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC4: Archival started
    ARC5: Archival started
    ARC6: Archival started
    ARC7: Archival started
    ARC8: Archival started
    ARC9: Archival started
    ARCH: STARTING ARCH PROCESSES COMPLETE
    Mon Jul 26 14:10:41 2010
    ARC0: Becoming the 'no FAL' ARCH
    ARC0: Becoming the 'no SRL' ARCH
    ARC0: Thread not mounted
    Mon Jul 26 14:10:41 2010
    Successful mount of redo thread 1, with mount id 2477113436
    Mon Jul 26 14:10:41 2010
    Physical Standby Database mounted.
    Mon Jul 26 14:10:42 2010
    ARC1: Becoming the heartbeat ARCH
    Completed: alter database mount standby database
    Mon Jul 26 14:10:42 2010
    Errors in file c:\oracle\admin\stustandby\udump\stustandby_ora_6604.trc:
    Mon Jul 26 14:11:41 2010
    alter database recover managed standby database disconnect from session
    MRP0 started with pid=19, OS id=3696
    Managed Standby Recovery not using Real Time Apply
    parallel recovery started with 7 processes
    Mon Jul 26 14:11:46 2010
    Waiting for all non-current ORLs to be archived...
    Media Recovery Waiting for thread 1 sequence 10004
    Fetching gap sequence in thread 1, gap sequence 10004-10017
    Mon Jul 26 14:11:47 2010
    Completed: alter database recover managed standby database disconnect from session
    Mon Jul 26 14:12:16 2010
    *FAL[client]: Failed to request gap sequence*
    GAP - thread 1 sequence 10004-10017
    DBID 2422302575 branch 670594799
    *FAL[client]: All defined FAL servers have been attempted.*
    Alert log on primary
    Mon Jul 26 13:50:11 2010
    db_recovery_file_dest_size of 40960 MB is 49.73% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Mon Jul 26 13:50:12 2010
    Successfully onlined Undo Tablespace 19.
    Mon Jul 26 13:50:12 2010
    SMON: enabling tx recovery
    Mon Jul 26 13:50:12 2010
    Database Characterset is WE8ISO8859P1
    Opening with internal Resource Manager plan
    where NUMA PG = 1, CPUs = 8
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    QMNC started with pid=38, OS id=3776
    Mon Jul 26 13:50:14 2010
    Completed: ALTER DATABASE OPEN
    Mon Jul 26 13:51:10 2010
    Shutting down archive processes
    Mon Jul 26 13:51:15 2010
    ARCH shutting down
    ARCa: Archival stopped
    Mon Jul 26 14:11:47 2010
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    *FAL[server]: DGID from FAL client not in Data Guard configuration*
    *FAL[server]: FAL request for destination STUSTANDBY was:*
    GAP - thread 1 sequence 10004-10017
    DBID 2422302575 branch 670594799
    Mon Jul 26 15:04:10 2010
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    *FAL[server]: DGID from FAL client not in Data Guard configuration*
    *FAL[server]: FAL request for destination STUSTANDBY was:*
    GAP - thread 1 sequence 10004-10017 DBID 2422302575 branch 670594799

  • RMAN-08120: WARNING: archived log not deleted, not yet applied by standby

    i get RMAN-08120: WARNING: archived log not deleted, not yet applied by standby on primary
    but when i run below query i get the same result from primary and standby
    SQL> select max(sequence#) from v$archived_log;
    MAX(SEQUENCE#)
    44051
    SQL>
    standby is one log switch behind only!

    i get RMAN-08120: WARNING: archived log not deleted, not yet applied by standby on primary You already have answer by post of Mseberg.
    but when i run below query i get the same result from primary and standby
    SQL> select max(sequence#) from v$archived_log;
    MAX(SEQUENCE#)
    44051
    SQL>
    standby is one log switch behind only!this is wrong query used on primary & standby. even if any one of archive gap available lets suppose sequence *44020* , this archive not transported to standby due to some network problem and so on. later if archives from *44021* all the archives transported on standby upto *44051* , then it shows the maximum sequence transferred to standby, It wont shows applied sequence.
    Check the below queries.
    Primary:-
    SQL> select thread#,max(sequence#) from v$archived_log group by thread#;
    Standby:-
    SQL> select thread#,max(sequence#) from v$archived_log where applied='YES' group by thread#;
    HTH.

  • Will RMAN delete archive log files on a Standby server?

    Environment:
    Oracle 11.2.0.3 EE on Solaris 10.5
    I am currently NOT using an RMAN repository (coming soon).
    I have a Primary database sending log files to a Standby.
    My Retention Policy is set to 'RECOVERY WINDOW OF 8 DAYS'.
    Question: Will RMAN delete the archive log files on the Standby server after they become obsolete based on the Retention Policy or do I need to remove them manually via O/S command?
    Does the fact that I'm NOT using an RMAN Repository at the moment make a difference?
    Couldn't find the answer in the docs.
    Thanks very much!!
    -gary

    Hello again Gary;
    Sorry for the delay.
    Why is what you suggested better?
    No, its not better, but I prefer to manage the archive. This method works, period.
    Does that fact (running a backup every 4 hours) make my archivelog deletion policy irrelevant?
    No. The policy is important.
    Having the Primary set to :
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBYBut set to "NONE" on the Standby.
    Means the worst thing that can happen is RMAN will bark when you try to delete something. ( this is a good thing )
    How do I prevent the archive backup process from backing up an archive log file before it gets shipped to the standby?
    Should be a non-issue, the archive does not move, the REDO is transported and applied. There's SQL to monitor both ( Transport and Apply )
    For Data Guard I would consider getting a copy of
    "Oracle Data Guard 11g Handbook" - Larry Carpenter (AKA Dr. Paranoid ) ISBN 978-0-07-162111-2
    Best Oracle book I've read in 10 years. Covers a ton of ground clearly.
    Also Data Guard forum here :
    Data Guard
    Best Regards
    mseberg
    Edited by: mseberg on Apr 10, 2012 4:39 PM

  • WARNING: archive log not deleted as it is still needed

    Our Oralce Database is a single node database of version 10.1.0.
    Dataguard/Standby is not configured.....we are executing the following command for archivelog backup
    run
    allocate channel c1 device type sbt;
    backup archivelog all delete input;
    This script is successfull in backingup all the archvied log files however it is not deleteing the input files. Instead it gives the warning....
    "WARNING: archive log not deleted as it is still needed"
    What could be the problem?

    If you do a Metalink seach on "WARNING: archive log not deleted as it is still needed." you'll find a couple of documents that explain the issue.
    The short answer is that RMAN has backed up logs which have not yet shipped to standby, so it won't delete them, cause they're still needed till they're successfully shipped to standby.
    -Mark

  • Archive log not found

    Hi,
    I want to run the RMAN backup, but I lost some of the archivers. How to take the backup excluding those lost archivers?
    Thanks,
    GK

    Only as note: You are faced to the error RMAN-06059.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 03/05/2006 12:43:42
    RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
    ORA-19625: errore nell'identificare il file C:\ORACLE\DB\TEST\ARCHIVE\1_36.DBF
    ORA-27041: impossibile aprire file
    OSD-04002: impossibile aprire il file
    O/S-Error: (OS 2) Impossibile trovare il file specificato.

  • Archive logs not getting shipped when we do a swtich

    Hi Team.
    I am facing an strange issue on one of our standby.
    After the setup of the standby when we enabled the MrM mode, the archive got shipped smoothly.After after sometime when we tried to switch log file and check if it was working or not.
    From the alert log of the DR , we can only see these msg " Media Recovery Waiting for thread 1 sequence ***". But the moment we cancel the MrM mode and re enable it , its ships the same smooth.
    So need some guidance to debug the same .
    Please advise .
    Thanks

    Hello;
    On something like this I would check BOTH the Primary and Standby alert logs.
    Here's a SWITCH I forced yesterday:
    Thu Sep 12 16:01:11 2013
    ALTER SYSTEM ARCHIVE LOG
    Thu Sep 12 16:01:11 2013
    Thread 1 advanced to log sequence 811 (LGWR switch)
      Current log# 1 seq# 811 mem# 0: /u01/app/oracle/oradata/PRIMARY/redo01.log
    Thu Sep 12 16:01:11 2013
    LNS: Standby redo logfile selected for thread 1 sequence 811 for destination LOG_ARCHIVE_DEST_2
    Notice the last line is logged on the Primary almost the very moment I do the switch. Does your Database in  Primary mode show that?
    Best Regards
    mseberg

  • Log Files are not shipping to standby.

    Hi,
    I am getting the below error. My log files are not getting shipped from primary to standby. Below is the error msg from alert log file. Help needed.
    Thu Jan 10 17:27:17 2013
    Error 1031 received logging on to the standby
    Errors in file d:\app\sesa241915\diag\rdbms\orcl\orcl\trace\orcl_arc2_2944.trc:
    ORA-01031: insufficient privileges
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    Thanks in advance.

    Please find the content of trace file.
    *** 2013-01-11 10:16:41.389
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:16:41.404 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:16:41.404 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:16:41.420 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:16:41.420 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    *** 2013-01-11 10:17:41.482
    Redo shipping client performing standby login
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1017 and errmsg is 'ORA-01017: invalid username/password; logon denied
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:17:41.795 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:17:41.795 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:17:41.795 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:17:41.795 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    *** 2013-01-11 10:18:41.857
    Redo shipping client performing standby login
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1017 and errmsg is 'ORA-01017: invalid username/password; logon denied
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:18:42.154 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:18:42.154 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:18:42.154 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:18:42.154 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    *** 2013-01-11 10:19:42.185
    Redo shipping client performing standby login
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1017 and errmsg is 'ORA-01017: invalid username/password; logon denied
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:19:42.467 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:19:42.467 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:19:42.467 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:19:42.467 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    *** 2013-01-11 10:20:42.545
    Redo shipping client performing standby login
    *** 2013-01-11 10:20:42.639
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1017 and errmsg is 'ORA-01017: invalid username/password; logon denied
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:20:42.810 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:20:42.810 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:20:42.810 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:20:42.810 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    *** 2013-01-11 10:21:42.889
    Redo shipping client performing standby login
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1017 and errmsg is 'ORA-01017: invalid username/password; logon denied
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:21:43.217 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:21:43.217 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:21:43.217 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:21:43.217 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    *** 2013-01-11 10:22:43.295
    Redo shipping client performing standby login
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1017 and errmsg is 'ORA-01017: invalid username/password; logon denied
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:22:43.639 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:22:43.639 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:22:43.639 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:22:43.639 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    *** 2013-01-11 10:23:43.701
    Redo shipping client performing standby login
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1017 and errmsg is 'ORA-01017: invalid username/password; logon denied
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:23:44.045 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:23:44.045 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:23:44.045 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:23:44.045 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    *** 2013-01-11 10:24:44.123
    Redo shipping client performing standby login
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1017 and errmsg is 'ORA-01017: invalid username/password; logon denied
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:24:44.451 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:24:44.451 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:24:44.451 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:24:44.451 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    *** 2013-01-11 10:25:44.514
    Redo shipping client performing standby login
    *** 2013-01-11 10:25:44.639
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1017 and errmsg is 'ORA-01017: invalid username/password; logon denied
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:25:44.951 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:25:44.951 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:25:44.951 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:25:44.951 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    *** 2013-01-11 10:26:45.014
    Redo shipping client performing standby login
    *** 2013-01-11 10:26:45.170
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1017 and errmsg is 'ORA-01017: invalid username/password; logon denied
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:26:45.373 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:26:45.373 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:26:45.389 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:26:45.389 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    *** 2013-01-11 10:27:45.435
    Redo shipping client performing standby login
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1017 and errmsg is 'ORA-01017: invalid username/password; logon denied
    *** 2013-01-11 10:27:45.779
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:27:45.951 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:27:45.951 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:27:45.967 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:27:45.967 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    *** 2013-01-11 10:28:46.029
    Redo shipping client performing standby login
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1017 and errmsg is 'ORA-01017: invalid username/password; logon denied
    *** 2013-01-11 10:28:46.326
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:28:46.435 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:28:46.435 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:28:46.435 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:28:46.435 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    *** 2013-01-11 10:29:46.482
    Redo shipping client performing standby login
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1017 and errmsg is 'ORA-01017: invalid username/password; logon denied
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:29:46.889 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:29:46.889 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:29:46.904
    *** 2013-01-11 10:29:46.904 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:29:46.904 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    Redo shipping client performing standby login
    *** 2013-01-11 10:30:47.140
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1017 and errmsg is 'ORA-01017: invalid username/password; logon denied
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:30:47.297 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:30:47.297 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:30:47.312 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:30:47.312 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    *** 2013-01-11 10:31:47.378
    Redo shipping client performing standby login
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1017 and errmsg is 'ORA-01017: invalid username/password; logon denied
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:31:47.691 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:31:47.691 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:31:47.691 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:31:47.691 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    *** 2013-01-11 10:32:47.772
    Redo shipping client performing standby login
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1017 and errmsg is 'ORA-01017: invalid username/password; logon denied
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:32:48.069 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:32:48.069 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:32:48.069 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:32:48.069 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    *** 2013-01-11 10:33:48.135
    Redo shipping client performing standby login
    *** 2013-01-11 10:34:09.261
    OCIServerAttach failed -1
    .. Detailed OCI error val is 12170 and errmsg is 'ORA-12170: TNS:Connect timeout occurred
    *** 2013-01-11 10:34:45.873
    OCIServerAttach failed -1
    .. Detailed OCI error val is 12170 and errmsg is 'ORA-12170: TNS:Connect timeout occurred
    *** 2013-01-11 10:35:06.984
    OCIServerAttach failed -1
    .. Detailed OCI error val is 12170 and errmsg is 'ORA-12170: TNS:Connect timeout occurred
    *** 2013-01-11 10:35:06.984 4132 krsh.c
    Error 12170 received logging on to the standby
    *** 2013-01-11 10:35:06.984 869 krsu.c
    Error 12170 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 12170 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-12170: TNS:Connect timeout occurred
    *** 2013-01-11 10:35:06.999 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 12170.
    *** 2013-01-11 10:35:06.999 2747 krsi.c
    krsi_dst_fail: dest:2 err:12170 force:0 blast:1
    *** 2013-01-11 10:36:07.063
    Redo shipping client performing standby login
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1017 and errmsg is 'ORA-01017: invalid username/password; logon denied
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2013-01-11 10:36:07.267 4132 krsh.c
    Error 1031 received logging on to the standby
    *** 2013-01-11 10:36:07.267 869 krsu.c
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl'
    ORA-01031: insufficient privileges
    *** 2013-01-11 10:36:07.267 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'orcl'. Error is 1031.
    *** 2013-01-11 10:36:07.267 2747 krsi.c
    krsi_dst_fail: dest:2 err:1031 force:0 blast:1
    2. Please find the query results.
    From Primary:
    SQL> set lines 200
    SQL> set numwidth 15
    SQL> column ID format 99
    SQL> column "SRLs" format 99
    SQL> column active format 99
    SQL> col type format a4
    SQL> select ds.dest_id id
    2 , ad.status
    3 , ds.database_mode db_mode
    4 , ad.archiver type
    5 , ds.recovery_mode
    6 , ds.protection_mode
    7 , ds.standby_logfile_count "SRLs"
    8 , ds.standby_logfile_active active
    9 , ds.archived_seq#
    10 from v$archive_dest_status ds
    11 , v$archive_dest ad
    12 where ds.dest_id = ad.dest_id
    13 and ad.status != 'INACTIVE'
    14 order by
    15 ds.dest_id
    16 /
    ID STATUS DB_MODE TYPE RECOVERY_MODE PROTECTION_MODE SRLs ACTIVE ARCHIVED_SEQ#
    1 VALID OPEN ARCH IDLE MAXIMUM PERFORMANCE 0 0 72
    2 ERROR UNKNOWN LGWR IDLE MAXIMUM PERFORMANCE 0 0 0
    From Standby:
    SQL> set lines 200
    SQL> set numwidth 15
    SQL> column ID format 99
    SQL> column "SRLs" format 99
    SQL> column active format 99
    SQL> col type format a4
    SQL> select ds.dest_id id
    2 , ad.status
    3 , ds.database_mode db_mode
    4 , ad.archiver type
    5 , ds.recovery_mode
    6 , ds.protection_mode
    7 , ds.standby_logfile_count "SRLs"
    8 , ds.standby_logfile_active active
    9 , ds.archived_seq#
    10 from v$archive_dest_status ds
    11 , v$archive_dest ad
    12 where ds.dest_id = ad.dest_id
    13 and ad.status != 'INACTIVE'
    14 order by
    15 ds.dest_id
    16 /
    ID STATUS DB_MODE TYPE RECOVERY_MODE PROTECTION_MODE SRLs ACTIVE ARCHIVED_SEQ#
    1 VALID OPEN ARCH IDLE MAXIMUM PERFORMANCE 0 0 72
    2 ERROR UNKNOWN LGWR IDLE MAXIMUM PERFORMANCE 0 0 0
    Regards
    Srinivasan R

  • Archive Logs NOT APPLIED but transferred

    Hi Gurus,
    I have configured Primary & Standby databases in same Oracle Home. OS version is OEL 5. Database version is 10.2.0.1. I could get the archive logs in the standby site but they are not getting applied in the standby database. I don't have OLAP installed in my database version. Would this create this issue? However I attached my primary alert log details below for your reference:
    Thu Aug 30 23:55:37 2012
    Starting ORACLE instance (normal)
    Cannot determine all dependent dynamic libraries for /proc/self/exe
    Unable to find dynamic library libocr10.so in search paths
    RPATH = /ade/aime1_build2101/oracle/has/lib/:/ade/aime1_build2101/oracle/lib/:/ade/aime1_build2101/oracle/has/lib/:
    LD_LIBRARY_PATH is not set!
    The default library directories are /lib and /usr/lib
    Unable to find dynamic library libocrb10.so in search paths
    Unable to find dynamic library libocrutl10.so in search paths
    Unable to find dynamic library libocrutl10.so in search paths
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    processes = 150
    sga_target = 289406976
    control_files = /home/oracle/oracle/product/10.2.0/db_1/oradata/newprim/control01.ctl, /home/oracle/oracle/product/10.2.0/db_1/oradata/newprim/control02.ctl, /home/oracle/oracle/product/10.2.0/db_1/oradata/newprim/control03.ctl
    db_file_name_convert = /home/oracle/oracle/product/10.2.0/db_1/oradata/newstand, /home/oracle/oracle/product/10.2.0/db_1/oradata/newprim
    log_file_name_convert = /home/oracle/oracle/product/10.2.0/db_1/oradata/newstand, /home/oracle/oracle/product/10.2.0/db_1/oradata/newprim, /home/oracle/oracle/product/10.2.0/db_1/flash_recovery_area/NEWSTAND/onlinelog, /home/oracle/oracle/product/10.2.0/db_1/flash_recovery_area/NEWPRIM/onlinelog
    db_block_size = 8192
    compatible = 10.2.0.1.0
    log_archive_config = DG_CONFIG=(newprim,newstand)
    log_archive_dest_1 = LOCATION=/home/oracle/oracle/product/10.2.0/db_1/oradata/newprim/arch/
    VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
    DB_UNIQUE_NAME=newprim
    log_archive_dest_2 = SERVICE=newstand LGWR ASYNC VALID_FOR=(online_logfiles,primary_role) DB_UNIQUE_NAME=newstand
    log_archive_dest_state_1 = enable
    log_archive_dest_state_2 = enable
    log_archive_max_processes= 30
    log_archive_format = %t_%s_%r.dbf
    fal_client = newprim
    fal_server = newstand
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = /home/oracle/oracle/product/10.2.0/db_1/flash_recovery_area
    db_recovery_file_dest_size= 2147483648
    standby_file_management = AUTO
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=newprimXDB)
    job_queue_processes = 10
    background_dump_dest = /home/oracle/oracle/product/10.2.0/db_1/admin/newprim/bdump
    user_dump_dest = /home/oracle/oracle/product/10.2.0/db_1/admin/newprim/udump
    core_dump_dest = /home/oracle/oracle/product/10.2.0/db_1/admin/newprim/cdump
    audit_file_dest = /home/oracle/oracle/product/10.2.0/db_1/admin/newprim/adump
    db_name = newprim
    db_unique_name = newprim
    open_cursors = 300
    pga_aggregate_target = 95420416
    PMON started with pid=2, OS id=28091
    PSP0 started with pid=3, OS id=28093
    MMAN started with pid=4, OS id=28095
    DBW0 started with pid=5, OS id=28097
    LGWR started with pid=6, OS id=28100
    CKPT started with pid=7, OS id=28102
    SMON started with pid=8, OS id=28104
    RECO started with pid=9, OS id=28106
    CJQ0 started with pid=10, OS id=28108
    MMON started with pid=11, OS id=28110
    MMNL started with pid=12, OS id=28112
    Thu Aug 30 23:55:38 2012
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    Thu Aug 30 23:55:38 2012
    ALTER DATABASE MOUNT
    Thu Aug 30 23:55:42 2012
    Setting recovery target incarnation to 2
    Thu Aug 30 23:55:43 2012
    Successful mount of redo thread 1, with mount id 1090395834
    Thu Aug 30 23:55:43 2012
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE MOUNT
    Thu Aug 30 23:55:43 2012
    ALTER DATABASE OPEN
    Thu Aug 30 23:55:43 2012
    LGWR: STARTING ARCH PROCESSES
    ARC0 started with pid=16, OS id=28122
    ARC1 started with pid=17, OS id=28124
    ARC2 started with pid=18, OS id=28126
    ARC3 started with pid=19, OS id=28128
    ARC4 started with pid=20, OS id=28133
    ARC5 started with pid=21, OS id=28135
    ARC6 started with pid=22, OS id=28137
    ARC7 started with pid=23, OS id=28139
    ARC8 started with pid=24, OS id=28141
    ARC9 started with pid=25, OS id=28143
    ARCa started with pid=26, OS id=28145
    ARCb started with pid=27, OS id=28147
    ARCc started with pid=28, OS id=28149
    ARCd started with pid=29, OS id=28151
    ARCe started with pid=30, OS id=28153
    ARCf started with pid=31, OS id=28155
    ARCg started with pid=32, OS id=28157
    ARCh started with pid=33, OS id=28159
    ARCi started with pid=34, OS id=28161
    ARCj started with pid=35, OS id=28163
    ARCk started with pid=36, OS id=28165
    ARCl started with pid=37, OS id=28167
    ARCm started with pid=38, OS id=28169
    ARCn started with pid=39, OS id=28171
    ARCo started with pid=40, OS id=28173
    ARCp started with pid=41, OS id=28175
    ARCq started with pid=42, OS id=28177
    ARCr started with pid=43, OS id=28179
    ARCs started with pid=44, OS id=28181
    Thu Aug 30 23:55:44 2012
    ARC0: Archival started
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC4: Archival started
    ARC5: Archival started
    ARC6: Archival started
    ARC7: Archival started
    ARC8: Archival started
    ARC9: Archival started
    ARCa: Archival started
    ARCb: Archival started
    ARCc: Archival started
    ARCd: Archival started
    ARCe: Archival started
    ARCf: Archival started
    ARCg: Archival started
    ARCh: Archival started
    ARCi: Archival started
    ARCj: Archival started
    ARCk: Archival started
    ARCl: Archival started
    ARCm: Archival started
    ARCn: Archival started
    ARCo: Archival started
    ARCp: Archival started
    ARCq: Archival started
    ARCr: Archival started
    ARCs: Archival started
    ARCt: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    ARCt started with pid=45, OS id=28183
    LNS1 started with pid=46, OS id=28185
    Thu Aug 30 23:55:48 2012
    Thread 1 advanced to log sequence 68
    Thu Aug 30 23:55:48 2012
    ARCo: Becoming the 'no FAL' ARCH
    ARCo: Becoming the 'no SRL' ARCH
    Thu Aug 30 23:55:48 2012
    ARCp: Becoming the heartbeat ARCH
    Thu Aug 30 23:55:48 2012
    Thread 1 opened at log sequence 68
    Current log# 1 seq# 68 mem# 0: /home/oracle/oracle/product/10.2.0/db_1/oradata/newprim/redo01.log
    Successful open of redo thread 1
    Thu Aug 30 23:55:48 2012
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Thu Aug 30 23:55:48 2012
    SMON: enabling cache recovery
    Thu Aug 30 23:55:48 2012
    Successfully onlined Undo Tablespace 1.
    Thu Aug 30 23:55:48 2012
    SMON: enabling tx recovery
    Thu Aug 30 23:55:49 2012
    Database Characterset is WE8ISO8859P1
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    QMNC started with pid=47, OS id=28205
    Thu Aug 30 23:55:49 2012
    Error 1034 received logging on to the standby
    Thu Aug 30 23:55:49 2012
    Errors in file /home/oracle/oracle/product/10.2.0/db_1/admin/newprim/bdump/newprim_arc1_28124.trc:
    ORA-01034: ORACLE not available
    FAL[server, ARC1]: Error 1034 creating remote archivelog file 'newstand'
    FAL[server, ARC1]: FAL archive failed, see trace file.
    Thu Aug 30 23:55:49 2012
    Errors in file /home/oracle/oracle/product/10.2.0/db_1/admin/newprim/bdump/newprim_arc1_28124.trc:
    ORA-16055: FAL request rejected
    ARCH: FAL archive failed. Archiver continuing
    Thu Aug 30 23:55:49 2012
    ORACLE Instance newprim - Archival Error. Archiver continuing.
    Thu Aug 30 23:55:49 2012
    db_recovery_file_dest_size of 2048 MB is 9.77% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Thu Aug 30 23:55:50 2012
    Errors in file /home/oracle/oracle/product/10.2.0/db_1/admin/newprim/udump/newprim_ora_28120.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12663: Services required by client not available on the server
    ORA-36961: Oracle OLAP is not available.
    ORA-06512: at "SYS.OLAPIHISTORYRETENTION", line 1
    ORA-06512: at line 15
    Thu Aug 30 23:55:50 2012
    Completed: ALTER DATABASE OPEN
    Thu Aug 30 23:56:33 2012
    FAL[server]: Fail to queue the whole FAL gap
    GAP - thread 1 sequence 1-33
    DBID 1090398314 branch 792689455
    Kindly, guide me please..
    -Vimal.

    CKPT: The trace file details are added below for your reference;
    /home/oracle/oracle/product/10.2.0/db_1/admin/newprim/bdump/newprim_arc1_28124.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning and Data Mining options
    ORACLE_HOME = /home/oracle/oracle/product/10.2.0/db_1
    System name:     Linux
    Node name:     localhost.localdomain
    Release:     2.6.18-8.el5PAE
    Version:     #1 SMP Tue Jun 5 23:39:57 EDT 2007
    Machine:     i686
    Instance name: newprim
    Redo thread mounted by this instance: 1
    Oracle process number: 17
    Unix process pid: 28124, image: [email protected] (ARC1)
    *** SERVICE NAME:() 2012-08-30 23:55:48.314
    *** SESSION ID:(155.1) 2012-08-30 23:55:48.314
    kcrrwkx: nothing to do (start)
    Redo shipping client performing standby login
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1034 and errmsg is 'ORA-01034: ORACLE not available
    *** 2012-08-30 23:55:49.723 60679 kcrr.c
    Error 1034 received logging on to the standby
    Error 1034 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'newstand'
    Error 1034 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'newstand'
    ORA-01034: ORACLE not available
    *** 2012-08-30 23:55:49.723 58941 kcrr.c
    kcrrfail: dest:2 err:1034 force:0 blast:1
    kcrrwkx: unknown error:1034
    ORA-16055: FAL request rejected
    ARCH: Connecting to console port...
    ARCH: Connecting to console port...
    kcrrwkx: nothing to do (end)
    *** 2012-08-31 00:00:43.417
    kcrrwkx: nothing to do (start)
    *** 2012-08-31 00:05:43.348
    kcrrwkx: nothing to do (start)
    *** 2012-08-31 00:10:43.280
    kcrrwkx: nothing to do (start)
    *** 2012-08-31 00:15:43.217
    kcrrwkx: nothing to do (start)
    *** 2012-08-31 00:20:43.160
    kcrrwkx: nothing to do (start)
    *** 2012-08-31 00:25:43.092
    kcrrwkx: nothing to do (start)
    *** 2012-08-31 00:30:43.031
    kcrrwkx: nothing to do (start)
    *** 2012-08-31 00:35:42.961
    kcrrwkx: nothing to do (start)
    *** 2012-08-31 00:40:42.890
    kcrrwkx: nothing to do (start)
    *** 2012-08-31 00:45:42.820
    kcrrwkx: nothing to do (start)
    *** 2012-08-31 00:50:42.755
    kcrrwkx: nothing to do (start)
    *** 2012-08-31 00:55:42.686
    kcrrwkx: nothing to do (start)
    *** 2012-08-31 01:00:42.631
    kcrrwkx: nothing to do (start)
    *** 2012-08-31 01:05:42.565
    kcrrwkx: nothing to do (start)
    *** 2012-08-31 01:10:42.496
    kcrrwkx: nothing to do (start)
    Mahir: Yes I have my 4 standby redo logs!
    I created the standby manually without using RMAN.
    Hemant: if it asks for even first thread, then obviously it shows nothing is applied on Standby. By the way so it is not called a 'GAP', I think..!
    Thanks.

  • Archived log not applying

    archived logs are not apllying in DR
    SQL> select max(sequence#) from v$archived_log where applied='YES';
    MAX(SEQUENCE#)
    SQL>
    SQL> select process,status,sequence# from v$managed_standby;
    PROCESS   STATUS        SEQUENCE#
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    RFS       IDLE                  0
    RFS       IDLE                  0
    RFS       IDLE              34473
    MRP0      WAIT_FOR_GAP      31753
    RFS       IDLE                  0
    RFS       IDLE                  0
    RFS       IDLE                  0
    11 rows selected.

    Hello,
    As previously posted, you have a GAP. So, you may have to investigate why the Archived logs cannot be applied.
    To do so, you may check for the File System if any Archive destination is FULL. Also, you may have to verify the parameters on the PRIMARY and STANDBY site:
    sqlplus "/ as sysdba"
    show parameter fal
    show parameter dest
    show parameter config
    show parameter broker
    Check also the Alert log on both Primary and Standby.
    If the DATAGUARD BROKER is enabled you may also execute this
    dgmgrl
    show configuration verbose
    Also try to "tnsping" the services used in the Archive Destination from both site.
    When you are sure that everything is correct then, verify if any Archived logs is missing and try to restore it if possible.
    Else if everything is broken, and there's no way to get back the missing Archived logs, you 'll have to "rebuild" the Standby from a new Backup of the PRIMARY.
    Hope this help.
    Best regards,
    Jean-Valentin Lubiez

  • Data guard real time apply vs archived log apply on physical standby

    Dear DBA's,
    last week i configuared DR , now the phyiscal stanby database is archive apply mode,
    i want to confirm is it better to apply the archived log or should i cahnge it to real time apply .
    give me sugesstions.
    Thanks and Regards
    Raja...

    One question are you using ARCH transport to move the redo? or have you configured standby redo logs and logwr transport (either async or syncronous), if you are using the archiver to transport the logs then you can not use real time apply.
    If you are using log writer to transpor the redo the realtime apply reduces the recovery time required if you need to failover as trher should be less redo to apply to bring the standby up to date, which mode you use to transport redo will depend on what is acceptable in terms of data loss and the impact on performance.

  • Logs not applying on Standby Database

    I am afraid I am back.
    I now have a primary database and a standby database and logs are being shipped but not applied. Done some research and I have got to the point where in my alert log I find the following when I try to start MRP:
    Fri Jun 29 15:03:40 2012
    alter database recover managed standby database disconnect from session
    Attempt to start background Managed Standby Recovery process (SAPDS)
    Fri Jun 29 15:03:40 2012
    MRP0 started with pid=29, OS id=23272
    MRP0: Background Managed Standby Recovery process started (SAPDS)
    started logmerger process
    Fri Jun 29 15:03:45 2012
    Managed Standby Recovery not using Real Time Apply
    Read of datafile '/var/hpsrp/drforp03/oradata/u04/SAPDS/DRFSAPDS/sysaux01.dbf' (fno 2) header failed with ORA-01206
    Rereading datafile 2 header failed with ORA-01206
    MRP0: Background Media Recovery terminated with error 1110
    Errors in file /var/hpsrp/drforp03/oradata/u04/SAPDS/admin/diag/rdbms/drfsapds/SAPDS/trace/SAPDS_pr00_23308.trc:
    ORA-01110: data file 2: '/var/hpsrp/drforp03/oradata/u04/SAPDS/DRFSAPDS/sysaux01.dbf'
    ORA-01122: database file 2 failed verification check
    ORA-01110: data file 2: '/var/hpsrp/drforp03/oradata/u04/SAPDS/DRFSAPDS/sysaux01.dbf'
    ORA-01206: file is not part of this database - wrong database id
    Recovery Slave PR00 previously exited with exception 1110
    Errors in file /var/hpsrp/drforp03/oradata/u04/SAPDS/admin/diag/rdbms/drfsapds/SAPDS/trace/SAPDS_mrp0_23272.trc:
    ORA-01110: data file 2: '/var/hpsrp/drforp03/oradata/u04/SAPDS/DRFSAPDS/sysaux01.dbf'
    ORA-01122: database file 2 failed verification check
    ORA-01110: data file 2: '/var/hpsrp/drforp03/oradata/u04/SAPDS/DRFSAPDS/sysaux01.dbf'
    ORA-01206: file is not part of this database - wrong database id
    MRP0: Background Media Recovery process shutdown (SAPDS)
    Completed: alter database recover managed standby database disconnect from session
    My question therefore is how can I get out of this and get my logs to apply on standby?

    Hello again;
    Do you think if I tried to repeat the duplicate?
    Yes I think you should do this.
    Give me a few minutes and I will review my Word document and provide a step by step overview here as insurance.
    I always cleanup the standby before trying another dup
    OVERVIEW
    Step 1 - Password file fro standby - Copy from primary and rename
    Step 2 - Directory Structure on the remote server - Make sure noting is missing
    Step 3 - Oracle Net Setup - entry for the CLONE in your TNSNAMES.ORA on both servers
    Step 4 - SID_LIST_LISTENER addition ( assumes listener named LISTENER )
    Step 5 - Timeouts set in listener.ora and sqlnet.ora Both Servers
    Step 6 - Initialization Parameter File for the Auxiliary Instance
    Step 7 - Set SID for Auxiliary Instance
    Step 8 - Create an SPFILE for the new database by using a pfile with the INIT settings
    Step 9 - Shutdown and startup nomount on new Spfile ( Auxiliary Instance )
    Step 10 - Start RMAN and run the DUPLICATE Command
    SID_LIST_LISTENER Example from mine
    SID_LIST_LISTENER =
       (SID_LIST =
           (SID_DESC =
           (SID_NAME = PLSExtProc)
           (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
           (PROGRAM = extproc)
           (SID_DESC =
           (global_dbname = CLONE.hostname)
           (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
           (sid_name = CLONE)
    Prevent Timeouts
    Add these to both servers
    To listener.ora
    INBOUND_CONNECT_TIMEOUT_ = 120
    To sqlnet.ora
    SQLNET.INBOUND_CONNECT_TIMEOUT = 120
    Then stop and start the listener.
    RMAN
    $ORACLE_HOME/bin/rman target=sys/@primary auxiliary=sys/@standby
    Connect should return something like this
    connected to target database: RECOVER9 (DBID=3806912436)
    connected to auxiliary database: CLONE (not mounted)RMAN>duplicate target database for standby from active database NOFILENAMECHECK;
    INIT Extras
    To avoid ORA-09925 make sure the PFILE has audit_file_dest and core_dump_dest set
    Best Regards
    mseberg
    Edited by: mseberg on Jun 29, 2012 11:12 AM

  • RMAN-08137: WARNING: archived log not deleted as it is still needed

    I am trying to delete archive logs older than 7 days in streams environment.
    1) we dont have a standby database
    2) checkpoint_retention_time = 7
    Please help me with this.
    Regards,
    Mike

    SQL> set serveroutput on
    DECLARE
    hScn number := 0;
    lScn number := 0;
    sScn number;
    ascn number;
    alog varchar2(1000);
    begin
    select min(start_scn), min(applied_scn) into sScn, ascn
    from dba_capture;
    DBMS_OUTPUT.ENABLE(2000);
    for cr in (select distinct(a.ckpt_scn)
    from system.logmnr_restart_ckpt$ a
    where a.ckpt_scn <= ascn and a.valid = 1
    and exists (select * from system.logmnr_log$ l
    where a.ckpt_scn between l.first_change# and l.next_change#)
    order by a.ckpt_scn desc)
    loop
    if (hScn = 0) then
    hScn := cr.ckpt_scn;
    else
    lScn := cr.ckpt_scn;
    exit;
    end if;
    end loop;
    if lScn = 0 then
    lScn := sScn;
    end if;
    dbms_output.put_line('Capture will restart from SCN ' || lScn ||' in the following file:');
    for cr in (select name, first_time
    from DBA_REGISTERED_ARCHIVED_LOG
    where lScn between first_scn and next_scn order by thread#)
    loop
    dbms_output.put_line(cr.name||' ('||cr.first_time||')');
    end loop;
    end;
    After i ran the above script from metalink i got the below output.
    When I have run the above code that is given in metalink to check the minimum archive logs required to restart streams i got the below ouput.
    Capture will restart from SCN 55313283790in the following file:
    +FLASH/ORCL/archivelog/2011_02_22/thread_1_seq_842.346.443519740 (11-MAR-11)*
    +FLASH/ORCL/archivelog/2011_02_22/thread_2_seq_832.189.440690538 (11-MAR-11)*
    Does this mean that I will not be able to delete the archive logs from 11-mar-11 ?
    Regards,
    Mike

  • How to monitor the successful archive log shipment to the standby database

    Hello,
    From the primary database, which data dictionary do I view to get information whether the standby database has received and processed the archive logs from the primary database. Both databases are 11202 on linux. Another question, which views on the primary database contain a flag sent by the standby database to the primary database to let the primary database knows that the standby database is up and functional? My purpose is to query the primary database for infomation that tell me the standby database is alive and functioning. I want to only query the primary database for these information about the standby database. Thank you in advance.

    watson2011 wrote:
    Hello,
    From the primary database, which data dictionary do I view to get information whether the standby database has received and processed the archive logs from the primary database. Both databases are 11202 on linux. Another question, which views on the primary database contain a flag sent by the standby database to the primary database to let the primary database knows that the standby database is up and functional? My purpose is to query the primary database for infomation that tell me the standby database is alive and functioning. I want to only query the primary database for these information about the standby database. Thank you in advance.You can troubleshoot standby by views as
    v$managed_standby (standby)
    v$dataguard_status
    v$dataguard_stats
    Some of the new views are introduced from 11g, check below link too
    http://docs.oracle.com/cd/B28359_01/server.111/b28294/views.htm#i79129

  • Delete archive log files on physical standby

    I want to delete the archive log files on the phsical standby database when they were applied. The archive log files are in the flash recovery area. So i used
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
    in rman.
    My question:
    Does rman delete the archive log files immediately when they are applied or when the disk space becomes scarce?

    Hi,
    They're marked as reclaimable when applied, so they're still on the disk but when the flah recovery area will become full they'll be deleted to give space to the new one, and so...
    Loïc

Maybe you are looking for

  • Photoshop CS4 program error: deleted prefs, keeps coming back instantly

    I am running Photoshop CS4 extended on my Mac OS X 10.5.6 OS. Out of no where, I create a new file, try to fill a layer with a solid color, I get the generic program error message. I click OK to get rid of it, but it is erratic. I have to force quit

  • Rfc sender to soap recever (sync comunication in sender and recever side)

    this scenario is from RFC sender(synchronous) to SOAP receiver adapter(synchronous) RFC sender adapter (synchronous):  r3 will send some details as request and it will get back 3 new fields as response. SOAP receiver adapter(synchronous): webservice

  • Combobox scrollbar width  and item list padding

    Hello, I am running an application on a touchscreen, and the default combobox is way too small to be used. I have tried skinning the combo box component to make the scrollbar wider, it didn't work. I tried combobox.dropdown.horizontalScrollBar.width

  • User Name Question

    In Web Console, under Reports | Systems | By Machine/Login Name, there is information under the headings of Machine Name, Login Name, User Name, etc. Under User Name, some workstations show a real name such as Jones, Bobby or Smith, Mary. Some workst

  • Printer and airport in the same hub

    This worked 2 days ago- but that was before the ISP put in a new satellite dish and the airport needed to have an IP set manually- now it doesn't work and I'm trying to find a solution in system preferences.. First off the printer is fine- the lights