Archivelogs not transforing to standby

Hi,
In dataguard parameter are configured in
primary database to transfer archivelogs like log_archive_dest_2='service=to_orcl
and standby_file_management=auto, and created directory structure also.
standby database side: standby_archive_dest='/u01/app/oracle/arch/orcl'
Listener is working and tnsnames also working.
But archivelogs are not transforming from primary to standby.
can you please let me know why it is like this.
thanks a lot

venky wrote:
log_archive_dest_state_2=enable and log_archive_dest_2='service=to_orcl'
like this parameters set.Couple of points must be looked into when there is issue of archive logs are not shipped to standby :
1.It should be :
log_archive_dest_2 = SERVICE=MARKTEST LGWR ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
2.Are you able to conn sys/pwd@stby as sysdba If yes then it means there is no connectivity issue; if no then; it is the reason thats why logs are not being shipped to standby site. It is due to issue with password file or something issue with service name. Just drop and create a new/freshpassword file with the same password on both primary and standby.
3.Check whether your OS user is part of ORA_DBA group.
Regards
Girish Sharma

Similar Messages

  • ORA-16191: Primary log shipping client not logged on standby.

    Hi,
    Please help me in the following scenario. I have two nodes ASM1 & ASM2 with RHEL4 U5 OS. On node ASM1 there is database ORCL using ASM diskgroups DATA & RECOVER and archive location is on '+RECOVER/orcl/'. On ASM2 node, I have to configure STDBYORCL (standby) database using ASM. I have taken the copy of database ORCL via RMAN, as per maximum availability architecture.
    Then I have ftp'd all to ASM2 and put them on FS /u01/oradata. Have made all necessary changes in primary and standby database pfile and then perform the duplicate database for standby using RMAN in order to put the db files in desired diskgroups. I have mounted the standby database but unfortunately, log transport service is not working and archives are not getting shipped to standby host.
    Here are all configuration details.
    Primary database ORCL pfile:
    [oracle@asm dbs]$ more initorcl.ora
    stdbyorcl.__db_cache_size=251658240
    orcl.__db_cache_size=226492416
    stdbyorcl.__java_pool_size=4194304
    orcl.__java_pool_size=4194304
    stdbyorcl.__large_pool_size=4194304
    orcl.__large_pool_size=4194304
    stdbyorcl.__shared_pool_size=100663296
    orcl.__shared_pool_size=125829120
    stdbyorcl.__streams_pool_size=0
    orcl.__streams_pool_size=0
    *.audit_file_dest='/opt/oracle/admin/orcl/adump'
    *.background_dump_dest='/opt/oracle/admin/orcl/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='+DATA/orcl/controlfile/current.270.665007729','+RECOVER/orcl/controlfile/current.262.665007731'
    *.core_dump_dest='/opt/oracle/admin/orcl/cdump'
    *.db_block_size=8192
    *.db_create_file_dest='+DATA'
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='orcl'
    *.db_recovery_file_dest='+RECOVER'
    *.db_recovery_file_dest_size=3163553792
    *.db_unique_name=orcl
    *.fal_client=orcl
    *.fal_server=stdbyorcl
    *.instance_name='orcl'
    *.job_queue_processes=10
    *.log_archive_config='dg_config=(orcl,stdbyorcl)'
    *.log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST'
    *.log_archive_dest_2='SERVICE=stdbyorcl'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_format='%t_%s_%r.dbf'
    *.open_cursors=300
    *.pga_aggregate_target=121634816
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=364904448
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS'
    *.user_dump_dest='/opt/oracle/admin/orcl/udump'
    Standby database STDBYORCL pfile:
    [oracle@asm2 dbs]$ more initstdbyorcl.ora
    stdbyorcl.__db_cache_size=251658240
    stdbyorcl.__java_pool_size=4194304
    stdbyorcl.__large_pool_size=4194304
    stdbyorcl.__shared_pool_size=100663296
    stdbyorcl.__streams_pool_size=0
    *.audit_file_dest='/opt/oracle/admin/stdbyorcl/adump'
    *.background_dump_dest='/opt/oracle/admin/stdbyorcl/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='u01/oradata/stdbyorcl_control01.ctl'#Restore Controlfile
    *.core_dump_dest='/opt/oracle/admin/stdbyorcl/cdump'
    *.db_block_size=8192
    *.db_create_file_dest='/u01/oradata'
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='orcl'
    *.db_recovery_file_dest='+RECOVER'
    *.db_recovery_file_dest_size=3163553792
    *.db_unique_name=stdbyorcl
    *.fal_client=stdbyorcl
    *.fal_server=orcl
    *.instance_name='stdbyorcl'
    *.job_queue_processes=10
    *.log_archive_config='dg_config=(orcl,stdbyorcl)'
    *.log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST'
    *.log_archive_dest_2='SERVICE=orcl'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_format='%t_%s_%r.dbf'
    *.log_archive_start=TRUE
    *.open_cursors=300
    *.pga_aggregate_target=121634816
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=364904448
    *.standby_archive_dest='LOCATION=USE_DB_RECOVERY_FILE_DEST'
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS'
    *.user_dump_dest='/opt/oracle/admin/stdbyorcl/udump'
    db_file_name_convert=('+DATA/ORCL/DATAFILE','/u01/oradata','+RECOVER/ORCL/DATAFILE','/u01/oradata')
    log_file_name_convert=('+DATA/ORCL/ONLINELOG','/u01/oradata','+RECOVER/ORCL/ONLINELOG','/u01/oradata')
    Have configured the tns service on both the hosts and its working absolutely fine.
    <p>
    ASM1
    =====
    [oracle@asm dbs]$ tnsping stdbyorcl
    </p>
    <p>
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 19-SEP-2008 18:49:00
    </p>
    <p>
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    </p>
    <p>
    Used parameter files:
    </p>
    <p>
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.20)(PORT = 1521))) (CONNECT_DATA = (SID = stdbyorcl) (SERVER = DEDICATED)))
    OK (30 msec)
    ASM2
    =====
    </p>
    <p>
    [oracle@asm2 archive]$ tnsping orcl
    </p>
    <p>
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 19-SEP-2008 18:48:39
    </p>
    <p>
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    </p>
    <p>
    Used parameter files:
    </p>
    <p>
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.10)(PORT = 1521))) (CONNECT_DATA = (SID = orcl) (SERVER = DEDICATED)))
    OK (30 msec)
    Please guide where I am missing. Thanking you in anticipation.
    Regards,
    Ravish Garg

    Following are the errors I am receiving as per alert log.
    ORCL alert log:
    Thu Sep 25 17:49:14 2008
    ARCH: Possible network disconnect with primary database
    Thu Sep 25 17:49:14 2008
    Error 1031 received logging on to the standby
    Thu Sep 25 17:49:14 2008
    Errors in file /opt/oracle/admin/orcl/bdump/orcl_arc1_4825.trc:
    ORA-01031: insufficient privileges
    FAL[server, ARC1]: Error 1031 creating remote archivelog file 'STDBYORCL'
    FAL[server, ARC1]: FAL archive failed, see trace file.
    Thu Sep 25 17:49:14 2008
    Errors in file /opt/oracle/admin/orcl/bdump/orcl_arc1_4825.trc:
    ORA-16055: FAL request rejected
    ARCH: FAL archive failed. Archiver continuing
    Thu Sep 25 17:49:14 2008
    ORACLE Instance orcl - Archival Error. Archiver continuing.
    Thu Sep 25 17:49:44 2008
    FAL[server]: Fail to queue the whole FAL gap
    GAP - thread 1 sequence 40-40
    DBID 1192788465 branch 665007733
    Thu Sep 25 17:49:46 2008
    Thread 1 advanced to log sequence 48
    Current log# 2 seq# 48 mem# 0: +DATA/orcl/onlinelog/group_2.272.665007735
    Current log# 2 seq# 48 mem# 1: +RECOVER/orcl/onlinelog/group_2.264.665007737
    Thu Sep 25 17:55:43 2008
    Shutting down archive processes
    Thu Sep 25 17:55:48 2008
    ARCH shutting down
    ARC2: Archival stopped
    STDBYORCL alert log:
    ==============
    Thu Sep 25 17:49:27 2008
    Errors in file /opt/oracle/admin/stdbyorcl/bdump/stdbyorcl_arc0_4813.trc:
    ORA-01017: invalid username/password; logon denied
    Thu Sep 25 17:49:27 2008
    Error 1017 received logging on to the standby
    Check that the primary and standby are using a password file
    and remote_login_passwordfile is set to SHARED or EXCLUSIVE,
    and that the SYS password is same in the password files.
    returning error ORA-16191
    It may be necessary to define the DB_ALLOWED_LOGON_VERSION
    initialization parameter to the value "10". Check the
    manual for information on this initialization parameter.
    Thu Sep 25 17:49:27 2008
    Errors in file /opt/oracle/admin/stdbyorcl/bdump/stdbyorcl_arc0_4813.trc:
    ORA-16191: Primary log shipping client not logged on standby
    PING[ARC0]: Heartbeat failed to connect to standby 'orcl'. Error is 16191.
    Thu Sep 25 17:51:38 2008
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 40-40
    DBID 1192788465 branch 665007733
    FAL[client]: All defined FAL servers have been attempted.
    Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
    parameter is defined to a value that is sufficiently large
    enough to maintain adequate log switch information to resolve
    archivelog gaps.
    Thu Sep 25 17:55:16 2008
    Errors in file /opt/oracle/admin/stdbyorcl/bdump/stdbyorcl_arc0_4813.trc:
    ORA-01017: invalid username/password; logon denied
    Thu Sep 25 17:55:16 2008
    Error 1017 received logging on to the standby
    Check that the primary and standby are using a password file
    and remote_login_passwordfile is set to SHARED or EXCLUSIVE,
    and that the SYS password is same in the password files.
    returning error ORA-16191
    It may be necessary to define the DB_ALLOWED_LOGON_VERSION
    initialization parameter to the value "10". Check the
    manual for information on this initialization parameter.
    Thu Sep 25 17:55:16 2008
    Errors in file /opt/oracle/admin/stdbyorcl/bdump/stdbyorcl_arc0_4813.trc:
    ORA-16191: Primary log shipping client not logged on standby
    PING[ARC0]: Heartbeat failed to connect to standby 'orcl'. Error is 16191.
    Please suggest where I am missing.
    Regards,
    Ravish Garg

  • 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

  • DG broker config file not created at standby site

    hi,
    i am trying to configure dataguard for primary db(10.2.0.1) , standby is created as stby
    for observer i have configured a third node , i have made the TNS entires and checked the connectivity
    when i had issued
    Alter system set dg_broker_start=True scope=both;
    on both nodes , configuration files were created at primary site
    SQL> show parameters DG_BROKER_CONFIG
    NAME TYPE VALUE
    dg_broker_config_file1 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\DR1PRIMARY.DAT
    dg_broker_config_file2 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\DR2PRIMARY.DAT
    i verified them
    but on stby node
    SQL> show parameters DG_BROKER_CONFIG
    NAME TYPE VALUE
    dg_broker_config_file1 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\DR1STBY.DAT
    dg_broker_config_file2 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\DR2STBY.DAT
    there were no config files even as the parameter suggests it had been created
    , how do i created these files
    without them i wont be able to add stby to observer node

    DGMGRL> show configuration
    Configuration
    Name: broker1
    Enabled: YES
    Protection Mode: MaxAvailability
    Fast-Start Failover: DISABLED
    Databases:
    primary - Primary database
    stby - Physical standby database
    Current status for "broker1":
    Warning: ORA-16607: one or more databases have failed
    DGMGRL> show database primary StatusReport;
    STATUS REPORT
    INSTANCE_NAME SEVERITY ERROR_TEXT
    primary ERROR ORA-16737: the redo transport service for standby database "stby" has an error
    redo logs from primary
    SQL> select type,member from v$logfile order by type;
    TYPE MEMBER
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO03.LOG
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO02.LOG
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO01.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO04.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO05.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO06.LOG
    redo logs from stby
    SQL> select type,member from v$logfile order by type;
    TYPE MEMBER
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO03.LOG
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO02.LOG
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO01.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO04.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO05.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO06.LOG
    i checked the alert log for primary, last contents are
    LGWR: Error 16086 creating archivelog file '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=XP2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=stby_XPT)(INSTANCE_NAME=stby)(SERVER=dedicated)))'
    LGWR: Failed to archive log 3 thread 1 sequence 52 (16086)
    Thread 1 advanced to log sequence 52
    Current log# 3 seq# 52 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO03.LOG
    LNSb started with pid=24, OS id=1080
    Thu Nov 19 16:59:02 2009
    LGWR: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (16086)
    LGWR: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
    Thu Nov 19 16:59:02 2009
    Errors in file c:\oracle\product\10.2.0\admin\primary\bdump\primary_lgwr_1172.trc:
    ORA-16086: standby database does not contain available standby log files
    LGWR: Error 16086 creating archivelog file '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=XP2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=stby_XPT)(INSTANCE_NAME=stby)(SERVER=dedicated)))'
    LGWR: Failed to archive log 1 thread 1 sequence 53 (16086)
    Thread 1 advanced to log sequence 53
    Current log# 1 seq# 53 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO01.LOG
    Thu Nov 19 16:59:52 2009
    Thread 1 advanced to log sequence 54
    Current log# 2 seq# 54 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO02.LOG
    pfile for primary is
    primary.__db_cache_size=83886080
    primary.__java_pool_size=4194304
    primary.__large_pool_size=4194304
    primary.__shared_pool_size=71303168
    primary.__streams_pool_size=0
    *.archive_lag_target=0
    *.audit_file_dest='C:\oracle\product\10.2.0/admin/primary/adump'
    *.background_dump_dest='C:\oracle\product\10.2.0/admin/primary/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\primary\control01.ctl','C:\oracle\product\10.2.0\oradata\primary\control02.ctl','C:\oracle\product\10.2.0\oradata\primary\control03.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0/admin/primary/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='C:\oracle\product\10.2.0\oradata\stby\datafile','C:\oracle\product\10.2.0\oradata\primary'
    *.db_name='primary'
    *.db_recovery_file_dest='C:\oracle\product\10.2.0\flash\'
    *.db_recovery_file_dest_size=1500M
    *.db_unique_name='primary'
    *.dg_broker_start=TRUE
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=primaryXDB)'
    *.fal_client='primary'
    *.fal_server='stby'
    *.job_queue_processes=10
    *.LOG_ARCHIVE_CONFIG='DG_CONFIG=(primary,stby)'
    *.log_archive_dest_1='LOCATION=C:\oracle\product\10.2.0\db_1\database\archive
    VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
    DB_UNIQUE_NAME=primary'
    primary.log_archive_dest_1='location="C:\oracle\product\10.2.0\db_1\database\archive"','valid_for=(ONLINE_LOGFILE,ALL_ROLES)'
    *.log_archive_dest_2='service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=XP2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=stby_XPT)(INSTANCE_NAME=stby)(SERVER=dedicated)))"',' LGWR SYNC AFFIRM delay=0 OPTIONAL max_failure=0 max_connections=1 reopen=300 db_unique_name="stby" register net_timeout=180 valid_for=(online_logfile,primary_role)'
    *.log_archive_dest_state_1='ENABLE'
    primary.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
    primary.log_archive_format='%t_%s_%r.arc'
    *.log_archive_max_processes=2
    *.log_archive_min_succeed_dest=1
    primary.log_archive_trace=0
    *.log_file_name_convert='C:\oracle\product\10.2.0\oradata\stby\onlinelog','C:\oracle\product\10.2.0\oradata\primary'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    primary.standby_archive_dest=''
    *.standby_file_management='MANUAL'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0/admin/primary/udump'
    Edited by: Adroit77 on Nov 19, 2009 5:05 PM

  • Apply all ArchiveLogs manually to the Standby Database

    Hi,
    we can create a Physical Standby Database on Standard Edition, but we have to transfer and apply all ArchiveLogs manually to the Standby Database. How can we do this ?
    many thanks

    Thank you, but I opened a SR and asked :
    1-can we install DATAGUARD (Primary and Standby) with STANDARD edition ?
    many thanks.
    they answered :
    DataGuard is not available with Standard Edition. You need to have the Enterprise Edition in
    stalled on the Primary and Standby Host. The Standard Edition only provides basi
    c Standby Database without Log Transport and Log Apply Services. So you can create a Physical Standby Database on Standard Edition, but you have to transfer and apply all ArchiveLogs manually to the Standby Database.
    that's why I asked you the question.
    What is the exact synatx for recover database using backup control file please ?
    Thanks again.

  • RAC Archivelogs not Switching on Closed Threads with Dataguard.

    I have a 4 node Cluster with each database running 1 instance.
    My experience is when RMAN backs up the Archivelogs it rolls the Closed threads over ie switchs Archivelogs and backs them up.
    After I put one of my production databases ( 10.2.0.2 ) in Dataguard it changed, and only the Open thread switches logs.
    It has caused problems with duplicating the database to test.
    I went through support and Oracle said its a bug fixed in a higher version so Upgrade. ( Management not excited to do so )
    The work around is to open the idle instances and immediately close them before an application thread tries to connect.
    I just put a second database in dataguard ... a related application ... which is using the same Oracle home and it is switching all threads on the ArchiveLog backup.
    The only difference is that the original has been open recovered ( flashbacked) and closed and the second has not but the Standby was recreated after wards ( I have put the standby in flashback now )
    Has anyone else observed this behaviour.

    If the Standby is in Maximum Availability and the primary has one or more Closed Threads, the Standby doesn't need the closed threads.
    If you are doing Backups to create another duplicate, I suggest that you add a forced Switch or Archive Log for the closed threads in your backup script.
    Hemant K Chitale

  • Error: ORA-00439: feature not enabled: Managed Standby

    Hi there, after I turned on auto archiving in the init.ora file (altered archivelog) and started up the DB, I get the error "ORA-00439: feature not enabled: Managed Standby" while starting up the instance. Under the Alert log, it said License_max_session = 0 and license_sessions_warning = 0. Is that mean I need licenses in order to turn Auto archiving on? how?
    PS: I can "alter system archive log start to '...';" though when the instance is open.
    Thanks,
    -Harry

    I couldn't agree more with Kin..
    Are you running Enterprise Edition? If not, Managed Recovery Mode, is available only with the Enterprise Edition of 8.1.x. This
    may be why you are getting this error. Also, check v$option and see what 'Managed Standby' option shows, TRUE or FALSE. If
    FALSE and you are running Enterprise Edition, then you may want to post to the Microsoft forum regarding getting this installed.
    It would also help to know what your 'compatibility' parameter is set to.
    I have read numerous...views..
    some syntoms:
    - enabling my database mode to archivelog
    However when you take out the parameter
    log_archive_dest_1 parameter and added the old log_archive_dest paremeter then database opened fine.
    also if you remove the word location and the
    character =
    it might just work.
    hope this helps
    shah

  • Redo log files are not applying to standby database

    Hi everyone!!
    I have created standby database on same server ( windows XP) and using oracle 11g . I want to synchronize my standby database with primary database . So I tried to apply redo logs from primary to standby database as follow .
    My standby database is open and Primary database is not started (instance not started) because only one database can run in Exclusive Mode as DB_NAME is same for both database.  I run the following command on the standby database.
                SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
    It returns "Database altered" . But when I checked the last archive log on primary database, its sequence is 189 while on standby database it is 177. That mean archived redo logs are not applied on standby database.
    The tnsnames.ora file contains entry for both service primary & standby database and same service has been used to transmit and receive redo logs.
    1. How to resolve this issue ?
    2.Is it compulsory to have Primary database open ?
    3. I have created standby  control file by using  command
              SQL> ALTER DATABASE CREATE STANDBY CONTROLFILE AS ‘D:\APP\ORACLE\ORADATA\TESTCAT\CONTROLFILE\CONTROL_STAND1.CTL‘;
    So database name in the standby control file is same as primary database name (PRIM). And hence init.ora file of standby database also contains DB_NAME = 'PRIM' parameter. I can't change it because it returns error of mismatch database name on startup. Should  I have different database name for both or existing one is correct ?
    Can anybody help me to come out from this stuck ?
    Thanks & Regards
    Tushar Lapani

    Thank you Girish. It solved  my redo apply problem. I set log_archive_dest parameter again and then I checked archive redo log sequence number. It was same for both primary and standby database. But still table on standby database is not being refresh.
    I did following scenario.
    1.  Inserted 200000 rows in emp table of Scott user on Primary database and commit changes.
    2. Then I synchronized standby database by using Alter database command. And I also verify that archive log sequence number is same for both database. It mean archived logs from primary database has been applied to standby database.
    3. But when I count number of rows in emp table of scott user on standby database, it returns only 14 rows even of redo log has been applied.
    So my question is why changes made to primary database is not reflected on standby database although redo logs has been applied ?
    Thanks

  • Different archivelog destination on physical standby database

    Hi,
    Can I set different archivelog destination for physical standby database in duplicate command? (Due to space problem ) How can I do it?
    For ex. on primary site archivelogs reside in /u01/ORCL/archivelog, and I want on phy. standby side archive dest. under /u08/ORCL/archivelog.

    Even you can give LOG_ARCHIVE_DEST_1 in standby init file, So whenever you start standby/auxiliary instance automatically the dest_1 will refer to /u08/orcl(whereever you want).  So you can have archive destination any where but should have proper permissions and location should be available.
    If you want to assign one by one destinations, then still you can use "ALTERNATE" clause so that when the primary location unavailable or unable to archive, then of course it writes into alternate location you have specified from pfile.
    You can check this
    http://docs.oracle.com/cd/B28359_01/server.111/b28294/log_arch_dest_param.htm#i91817

  • Airport does not reconnect after standby...

    Is anyone having issues w/ wireless not reconnecting after standby? In order to resolve the problem, I have to turn airport off then back on. Most of the time I can get back on using on/off method, but seldomly I have to reboot. This is my config:
    SSID is not broadcasted, using capital letters and numbers for SSID Name.
    WPA TKIP set for router encryption. WPA Personal selected on Airport.
    I don't seem to have this problem on my Macbook running Leopard, so I'm pretty sure it's hardware/driver related to my Macbook Pro. I have to keep tabs on this, but I almost think this problem does not appear when a network SSID is broadcasted and/or unecrypted. It could be my imagination but not sure.
    Any ideas or same issues out there?

    I always have the same problem; I assume it has something to do with the fact that I regularly switch my cable modem to "standby" when done surfing the internet. Seemingly Airport loses the signal (or whatever) because the modem isn't feeding a signal being in standby mode? When I turn the modem back on, I have to turn Airport back on as well. So far, I've just felt it to be a small inconvenience.

  • Purging archivelogs on Primary and Standby

    Hi all,
    11.2.0.1
    Aix 6.1
    I am monitoring space usage in our FRA for both DG primary and standby. I want to purge all archivelogs once they have been applied to standby. What is the use of it anyway?
    I checked google and I found this procedure,  kindly correct if this is wrong?
    At Primary:
    =========
    RMAN
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
    At Standby:
    ========
    RMAN
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    Where do I issue the command DELETE NOPROMPT OBSOLETE ARCHIVELOGS?
    Thanks a lot,
    zxy

    Which tool in oracle dear maintains the FRA/achivelogs? is it RMAN or Dataguard. If it maintains
    them  auto, why is that I still have lots of archivelog at PRIMARY and STANDBY?
    primary:oracle[/backup/flash_recovery_area/PROD/archivelog] ls -lt
    total 200
    drwxr-x---    2 oracle   oinstall       4096 Sep 25 15:59 2013_09_25
    drwxr-x---    2 oracle   oinstall       4096 Sep 24 22:51 2013_09_24
    drwxr-x---    2 oracle   oinstall       4096 Sep 23 22:03 2013_09_23
    drwxr-x---    2 oracle   oinstall       4096 Sep 22 23:02 2013_09_22
    drwxr-x---    2 oracle   oinstall       4096 Sep 21 21:25 2013_09_21
    drwxr-x---    2 oracle   oinstall       4096 Sep 20 22:05 2013_09_20
    drwxr-x---    2 oracle   oinstall       4096 Sep 19 23:00 2013_09_19
    drwxr-x---    2 oracle   oinstall       4096 Sep 18 22:03 2013_09_18
    drwxr-x---    2 oracle   oinstall       4096 Sep 17 22:53 2013_09_17
    drwxr-x---    2 oracle   oinstall       4096 Sep 16 23:00 2013_09_16
    drwxr-x---    2 oracle   oinstall       4096 Sep 15 23:01 2013_09_15
    drwxr-x---    2 oracle   oinstall       4096 Sep 15 02:45 2013_09_01
    drwxr-x---    2 oracle   oinstall       4096 Sep 14 20:32 2013_09_14
    drwxr-x---    2 oracle   oinstall       4096 Sep 13 23:29 2013_09_13
    drwxr-x---    2 oracle   oinstall       4096 Sep 12 22:02 2013_09_12
    drwxr-x---    2 oracle   oinstall       4096 Sep 11 23:43 2013_09_11
    drwxr-x---    2 oracle   oinstall       4096 Sep 10 22:27 2013_09_10
    drwxr-x---    2 oracle   oinstall       4096 Sep 09 23:10 2013_09_09
    drwxr-x---    2 oracle   oinstall       4096 Sep 08 23:00 2013_09_08
    drwxr-x---    2 oracle   oinstall       4096 Sep 07 23:30 2013_09_07
    drwxr-x---    2 oracle   oinstall       4096 Sep 06 23:11 2013_09_06
    drwxr-x---    2 oracle   oinstall       4096 Sep 05 22:02 2013_09_05
    drwxr-x---    2 oracle   oinstall       4096 Sep 04 23:45 2013_09_04
    drwxr-x---    2 oracle   oinstall       4096 Sep 03 22:09 2013_09_03
    drwxr-x---    2 oracle   oinstall       4096 Sep 02 22:33 2013_09_02
    standby:oracle[/backup/flash_recovery_area/PRODDR/archivelog] ls -lt
    total 296
    drwxr-x---    2 oracle   oinstall       4096 Sep 25 15:59 2013_09_25
    drwxr-x---    2 oracle   oinstall       4096 Sep 24 23:24 2013_09_24
    drwxr-x---    2 oracle   oinstall       4096 Sep 23 22:13 2013_09_23
    drwxr-x---    2 oracle   oinstall       4096 Sep 22 23:02 2013_09_22
    drwxr-x---    2 oracle   oinstall       4096 Sep 21 21:39 2013_09_21
    drwxr-x---    2 oracle   oinstall       4096 Sep 20 22:08 2013_09_20
    drwxr-x---    2 oracle   oinstall       4096 Sep 19 23:01 2013_09_19
    drwxr-x---    2 oracle   oinstall       4096 Sep 18 22:23 2013_09_18
    drwxr-x---    2 oracle   oinstall       4096 Sep 17 22:53 2013_09_17
    drwxr-x---    2 oracle   oinstall       8192 Sep 16 23:01 2013_09_16
    drwxr-x---    2 oracle   oinstall       8192 Sep 16 00:46 2013_09_15
    drwxr-x---    2 oracle   oinstall       4096 Sep 15 01:34 2013_09_14
    drwxr-x---    2 oracle   oinstall       4096 Sep 14 01:03 2013_09_13
    drwxr-x---    2 oracle   oinstall       4096 Sep 13 01:48 2013_09_12
    drwxr-x---    2 oracle   oinstall       4096 Sep 12 03:29 2013_09_11
    drwxr-x---    2 oracle   oinstall       4096 Sep 11 01:19 2013_09_10
    drwxr-x---    2 oracle   oinstall       4096 Sep 10 01:54 2013_09_09
    drwxr-x---    2 oracle   oinstall       4096 Sep 09 01:44 2013_09_08
    drwxr-x---    2 oracle   oinstall       4096 Sep 08 01:59 2013_09_07
    drwxr-x---    2 oracle   oinstall       4096 Sep 07 03:30 2013_09_06
    drwxr-x---    2 oracle   oinstall       4096 Sep 06 02:05 2013_09_05
    drwxr-x---    2 oracle   oinstall       4096 Sep 05 03:40 2013_09_04
    drwxr-x---    2 oracle   oinstall       4096 Sep 04 01:48 2013_09_03
    drwxr-x---    2 oracle   oinstall       4096 Sep 03 01:22 2013_09_02
    drwxr-x---    2 oracle   oinstall       4096 Sep 02 02:31 2013_09_01
    drwxr-x---    2 oracle   oinstall       4096 Sep 01 00:08 2013_08_31
    drwxr-x---    2 oracle   oinstall       4096 Aug 31 03:18 2013_08_30
    drwxr-x---    2 oracle   oinstall       4096 Aug 30 00:28 2013_08_29
    drwxr-x---    2 oracle   oinstall       4096 Aug 29 03:51 2013_08_28
    drwxr-x---    2 oracle   oinstall       4096 Aug 28 02:34 2013_08_27
    drwxr-x---    2 oracle   oinstall        256 Aug 26 00:24 2013_08_26
    drwxr-x---    2 oracle   oinstall        256 Aug 25 00:24 2013_08_25
    drwxr-x---    2 oracle   oinstall        256 Aug 24 00:24 2013_08_24
    drwxr-x---    2 oracle   oinstall        256 Aug 23 00:21 2013_08_23
    drwxr-x---    2 oracle   oinstall        256 Aug 22 00:00 2013_08_22
    drwxr-x---    2 oracle   oinstall        256 Aug 21 00:20 2013_08_21
    drwxr-x---    2 oracle   oinstall        256 Aug 20 00:17 2013_08_20
    drwxr-x---    2 oracle   oinstall        256 Aug 19 00:16 2013_08_19
    drwxr-x---    2 oracle   oinstall        256 Aug 18 00:17 2013_08_18
    drwxr-x---    2 oracle   oinstall        256 Aug 17 00:14 2013_08_17
    drwxr-x---    2 oracle   oinstall        256 Aug 16 00:13 2013_08_16
    drwxr-x---    2 oracle   oinstall        256 Aug 15 00:12 2013_08_15
    drwxr-x---    2 oracle   oinstall       4096 Aug 14 10:53 2013_08_14
    drwxr-x---    2 oracle   oinstall       4096 Aug 13 23:34 2013_08_13
    drwxr-x---    2 oracle   oinstall       4096 Aug 12 23:10 2013_08_12
    drwxr-x---    2 oracle   oinstall       4096 Aug 11 21:25 2013_08_11
    drwxr-x---    2 oracle   oinstall       4096 Aug 10 22:44 2013_08_10
    All of the above dates have been applied already. Thanks.

  • Iphone not ringing in standby

    HI - I have a 3GS iphone which does not ring in standby (sleep) mode but it work correctly only if I connect the phone with his cable to the power- have tried restore, etc, but same problem! Now it's on 4.3.5 officially (never done jailbreak)
    anything else i can do? Thanks a lot

    Same problem. Won't ring, receive text messages, or otherwise operate in sleep mode. When the phone is woken up, the time display begins to scroll through times, and does not display accurately when finished.

  • Iphone not ringing in standby (sleep) mode

    HI - I have a 2G iphone which does not ring in standby mode - have tried restore, etc, anything else i can do ?

    Same problem. Won't ring, receive text messages, or otherwise operate in sleep mode. When the phone is woken up, the time display begins to scroll through times, and does not display accurately when finished.

  • Iphone does not ring in standby mode

    my father has an iphone 3G,
    and it will not ring in standby mode.
    it worked perfectly when he was on 2.0,
    but when he upgraded to 2.1 it started having some problems.
    now he has 2.2.1 and the only problem it has is it will not ring while in standby.
    it will only ring when unlocked.
    is anyone else having this issue,
    and does anyone have any way to fix it?
    i dont know if it is irrelevant or not,
    but he is on windows XP.

    I was having the same problem and did a couple of "restores" and the issue kept coming back, after several calls and not much help I decided to delete an application that I had downloaded which was "Ski jump lite" and the problem has gone away. It worked fine on the previous version of apple software.
    Regards
    Steve

  • Can not add HSRP standby switch

    Hi all,
    I have added successful two Cat3560 switch that run HSRP for temporary.
    Now they were replaced by two new Cat4506 switch that have the same IP address. But I can add only the active HSRP, not successful for standby HSRP. The message notify is IP address of that switch already in database although I deleted all information related.
    Pls help me in this case, tks anyway.
    Vo Khoa.

    Hi all,
    I have added successful two Cat3560 switch that run HSRP for temporary.
    Now they were replaced by two new Cat4506 switch that have the same IP address. But I can add only the active HSRP, not successful for standby HSRP. The message notify is IP address of that switch already in database although I deleted all information related.
    Pls help me in this case, tks anyway.
    Vo Khoa.

Maybe you are looking for

  • Messages are not reaching to Adapter Engine (JMS receiver)

    Hi Friends, We have one scenario running on Production env. Scenario is: R3(IDOC) -> XI ->JMS Provider IDOC to JMS. Sometime we found messsages are successful in SXMB_MONI, but those messages entries are not found under AE. Means they are not reachin

  • Top Sites and Safari bookmarks

    iMAC with MAC OS X10.6.3; Safari 4.0.5(6531.22.7) approx. 18months old. For about three months now I cannot delete bookmarks. Every time I follow instructions the bookmark disappears until the next reboot when it reappears. A similar thing happens wh

  • Need help to Modify the STD report which uses the Tcode CATS_DA.

    Hi , we have a requirement as below. we need Add two Additional Fileds in the OutPut of the Std Report ( Tcode CATS_DA) .( 2 fileds are  one is Managername /Manager employee number ) .. Can you Please where we need to Modify the code to meet the abov

  • Textflow examples...how to export to db

    Hi, I'm studying the textflow framework examples and see that they use a canvas + sprite child with an editManager and IEditManager rather than the textarea.    My question is, once the user has made all the formatting changes, how can I export the c

  • Sintax EXPORT TO MEMORY in AbapObjects ?

    Hi I need to save a value in memory in a BADI (Abap Objects), for example to save a flag variable; but it sends a sintax error. For example: Data:  flag(1)  type c. flag = '1'  or '0'. EXPORT flag TO MEMORY ID 'ZTEST'. Wich is the sintax to set a val