Archived log file are not shifted to standby side and applied

Hi Guru's,
DB
My OS Version:Windows Server 2003
DB Version:11.2.0.1.0
I am trying to create Physical Standby DB on my test machine after setting all the parameters and start standby db in mount mode when i do the verification of archived log files that need to be shift from pri site to standby site i am getting:
no rows selected.
I am following the below mentioned doc for reference
http://docs.oracle.com/cd/E11882_01/server.112/e25608/create_ps.htm#i63561
Can anyone from your side can help me to sort out this problem.
Thanks in advance

vk82 wrote:
SQL> select max(sequence#) from v$archived_log;
MAX(SEQUENCE#)
39
SQL> select process,status,sequence# from v$managed_standby;
PROCESS STATUS SEQUENCE#
ARCH CLOSING 38
ARCH CLOSING 36
ARCH CONNECTED 0
ARCH CLOSING 37
SQL> select max(sequence#) from v$archived_log where applied='YES';
MAX(SEQUENCE#)
39
Yes the max sequence generated on primary is same as the max sequence applied on standby.
And what is MRP and why it is important can you please let me know abt thisWhenever you created standby database, Make a habit of tail to alert log file to monitor whats happening on the standby database, Besides MRP is an Media Recovery Process , which applies archies/redo on standby database.
MRP can apply based on the redo transport, If you are using real-time apply then Redo will be writtened to the standby redo log files at the same time recovery will be performed by MRP process, If you are not using Real-Time apply then whenever a archive generated on primary that archive will be transported to the standby and applied on the standby database.
It is recommended to use Realtime apply, so that you can avoid much data lost.
However you are in 11gR2, You can use below query to monitor
SQL> SELECT * FROM V$STANDBY_EVENT_HISTOGRAM WHERE NAME = 'apply lag'  AND COUNT > 0;
NAME             TIME UNIT                  COUNT LAST_TIME_UPDATED
apply lag           0 seconds                 431 08/05/2012 22:14:21
apply lag           1 seconds                   7 08/05/2012 22:13:31
SQL>Edited by: CKPT on Nov 6, 2012 6:49 PM

Similar Messages

  • I have one problem with Data Guard. My archive log files are not applied.

    I have one problem with Data Guard. My archive log files are not applied. However I have received all archive log files to my physical Standby db
    I have created a Physical Standby database on Oracle 10gR2 (Windows XP professional). Primary database is on another computer.
    In Enterprise Manager on Primary database it looks ok. I get the following message “Data Guard status Normal”
    But as I wrote above ”the archive log files are not applied”
    After I created the Physical Standby database, I have also done:
    1. I connected to the Physical Standby database instance.
    CONNECT SYS/SYS@luda AS SYSDBA
    2. I started the Oracle instance at the Physical Standby database without mounting the database.
    STARTUP NOMOUNT PFILE=C:\oracle\product\10.2.0\db_1\database\initluda.ora
    3. I mounted the Physical Standby database:
    ALTER DATABASE MOUNT STANDBY DATABASE
    4. I started redo apply on Physical Standby database
    alter database recover managed standby database disconnect from session
    5. I switched the log files on Physical Standby database
    alter system switch logfile
    6. I verified the redo data was received and archived on Physical Standby database
    select sequence#, first_time, next_time from v$archived_log order by sequence#
    SEQUENCE# FIRST_TIME NEXT_TIME
    3 2006-06-27 2006-06-27
    4 2006-06-27 2006-06-27
    5 2006-06-27 2006-06-27
    6 2006-06-27 2006-06-27
    7 2006-06-27 2006-06-27
    8 2006-06-27 2006-06-27
    7. I verified the archived redo log files were applied on Physical Standby database
    select sequence#,applied from v$archived_log;
    SEQUENCE# APP
    4 NO
    3 NO
    5 NO
    6 NO
    7 NO
    8 NO
    8. on Physical Standby database
    select * from v$archive_gap;
    No rows
    9. on Physical Standby database
    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
    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
    ARC0: Becoming the 'no FAL' ARCH
    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
    MRP0: Background Media Recovery terminated with error 1110
    MRP0: Background Media Recovery process shutdown
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[1]: Assigned to RFS process 2148
    RFS[1]: Identified database type as 'physical standby'
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[2]: Assigned to RFS process 2384
    RFS[2]: Identified database type as 'physical standby'
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[3]: Assigned to RFS process 3188
    RFS[3]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM PERFORMANCE mode
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[3]: No standby redo logfiles created
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[4]: Assigned to RFS process 3168
    RFS[4]: Identified database type as 'physical standby'
    RFS[4]: No standby redo logfiles created
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[3]: No standby redo logfiles created
    10. on Physical Standby database
    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
    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
    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
    RFS IDLE 0 0 0 0
    RFS IDLE 0 0 0 0
    RFS IDLE 1 9 13664 2
    RFS IDLE 0 0 0 0
    10) on Primary database:
    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
    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
    ARCm: Becoming the 'no FAL' ARCH
    ARCm: Becoming the 'no SRL' ARCH
    ARCd: Becoming the heartbeat ARCH
    Error 1034 received logging on to the standby
    Error 1034 received logging on to the standby
    LGWR: Error 1034 creating archivelog file 'luda'
    LNS: Failed to archive log 3 thread 1 sequence 7 (1034)
    FAL[server, ARCh]: Error 1034 creating remote archivelog file 'luda'
    11)on primary db
    select name,sequence#,applied from v$archived_log;
    NAME SEQUENCE# APP
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00003_0594204176.001 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00004_0594204176.001 4 NO
    Luda 4 NO
    Luda 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00005_0594204176.001 5 NO
    Luda 5 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00006_0594204176.001 6 NO
    Luda 6 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00007_0594204176.001 7 NO
    Luda 7 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00008_0594204176.001 8 NO
    Luda 8 NO
    12) on standby db
    select name,sequence#,applied from v$archived_log;
    NAME SEQUENCE# APP
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00004_0594204176.001 4 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00003_0594204176.001 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00005_0594204176.001 5 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00006_0594204176.001 6 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00007_0594204176.001 7 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00008_0594204176.001 8 NO
    13) my init.ora files
    On standby db
    irina.__db_cache_size=79691776
    irina.__java_pool_size=4194304
    irina.__large_pool_size=4194304
    irina.__shared_pool_size=75497472
    irina.__streams_pool_size=0
    *.audit_file_dest='C:\oracle\product\10.2.0\admin\luda\adump'
    *.background_dump_dest='C:\oracle\product\10.2.0\admin\luda\bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\luda\luda.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0\admin\luda\cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='luda','irina'
    *.db_name='irina'
    *.db_unique_name='luda'
    *.db_recovery_file_dest='C:\oracle\product\10.2.0\flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=irinaXDB)'
    *.fal_client='luda'
    *.fal_server='irina'
    *.job_queue_processes=10
    *.log_archive_config='DG_CONFIG=(irina,luda)'
    *.log_archive_dest_1='LOCATION=C:/oracle/product/10.2.0/oradata/luda/ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=luda'
    *.log_archive_dest_2='SERVICE=irina LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=irina'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=30
    *.log_file_name_convert='C:/oracle/product/10.2.0/oradata/irina/','C:/oracle/product/10.2.0/oradata/luda/'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0\admin\luda\udump'
    On primary db
    irina.__db_cache_size=79691776
    irina.__java_pool_size=4194304
    irina.__large_pool_size=4194304
    irina.__shared_pool_size=75497472
    irina.__streams_pool_size=0
    *.audit_file_dest='C:\oracle\product\10.2.0/admin/irina/adump'
    *.background_dump_dest='C:\oracle\product\10.2.0/admin/irina/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\irina\control01.ctl','C:\oracle\product\10.2.0\oradata\irina\control02.ctl','C:\oracle\product\10.2.0\oradata\irina\control03.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0/admin/irina/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='luda','irina'
    *.db_name='irina'
    *.db_recovery_file_dest='C:\oracle\product\10.2.0/flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=irinaXDB)'
    *.fal_client='irina'
    *.fal_server='luda'
    *.job_queue_processes=10
    *.log_archive_config='DG_CONFIG=(irina,luda)'
    *.log_archive_dest_1='LOCATION=C:/oracle/product/10.2.0/oradata/irina/ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=irina'
    *.log_archive_dest_2='SERVICE=luda LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=luda'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=30
    *.log_file_name_convert='C:/oracle/product/10.2.0/oradata/luda/','C:/oracle/product/10.2.0/oradata/irina/'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0/admin/irina/udump'
    Please help me!!!!

    Hi,
    After several tries my redo logs are applied now. I think in my case it had to do with the tnsnames.ora. At this moment I have both database in both tnsnames.ora files using the SID and not the SERVICE_NAME.
    Now I want to use DGMGRL. Adding a configuration and a stand-by database is working fine, but when I try to enable the configuration DGMGRL gives no feedback and it looks like it is hanging. The log, although says that it succeeded.
    In another session 'show configuration' results in the following, confirming that the enable succeeded.
    DGMGRL> show configuration
    Configuration
    Name: avhtest
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    avhtest - Primary database
    avhtestls53 - Physical standby database
    Current status for "avhtest":
    Warning: ORA-16610: command 'ENABLE CONFIGURATION' in progress
    It there anybody that experienced the same problem and/or knows the solution to this?
    With kind regards,
    Martin Schaap

  • Data Guard. My archive log files are not applied.

    I have one problem with Data Guard. My archive log files are not applied. However I have received all archive log files to my physical Standby db
    I have created a Physical Standby database on Oracle 10gR2 (Windows XP professional). Primary database is on another computer.
    In Enterprise Manager on Primary database it looks ok. I get the following message “Data Guard status Normal”
    But as I wrote above ”the archive log files are not applied”
    After I created the Physical Standby database, I have also done:
    1. I connected to the Physical Standby database instance.
    CONNECT SYS/SYS@luda AS SYSDBA
    2. I started the Oracle instance at the Physical Standby database without mounting the database.
    STARTUP NOMOUNT PFILE=C:\oracle\product\10.2.0\db_1\database\initluda.ora
    3. I mounted the Physical Standby database:
    ALTER DATABASE MOUNT STANDBY DATABASE
    4. I started redo apply on Physical Standby database
    alter database recover managed standby database disconnect from session
    5. I switched the log files on Physical Standby database
    alter system switch logfile
    6. I verified the redo data was received and archived on Physical Standby database
    select sequence#, first_time, next_time from v$archived_log order by sequence#
    SEQUENCE# FIRST_TIME NEXT_TIME
    3 2006-06-27 2006-06-27
    4 2006-06-27 2006-06-27
    5 2006-06-27 2006-06-27
    6 2006-06-27 2006-06-27
    7 2006-06-27 2006-06-27
    8 2006-06-27 2006-06-27
    7. I verified the archived redo log files were applied on Physical Standby database
    select sequence#,applied from v$archived_log;
    SEQUENCE# APP
    4 NO
    3 NO
    5 NO
    6 NO
    7 NO
    8 NO
    8. on Physical Standby database
    select * from v$archive_gap;
    No rows
    9. on Physical Standby database
    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
    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
    ARC0: Becoming the 'no FAL' ARCH
    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
    MRP0: Background Media Recovery terminated with error 1110
    MRP0: Background Media Recovery process shutdown
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[1]: Assigned to RFS process 2148
    RFS[1]: Identified database type as 'physical standby'
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[2]: Assigned to RFS process 2384
    RFS[2]: Identified database type as 'physical standby'
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[3]: Assigned to RFS process 3188
    RFS[3]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM PERFORMANCE mode
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[3]: No standby redo logfiles created
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[4]: Assigned to RFS process 3168
    RFS[4]: Identified database type as 'physical standby'
    RFS[4]: No standby redo logfiles created
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[3]: No standby redo logfiles created
    10. on Physical Standby database
    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
    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
    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
    RFS IDLE 0 0 0 0
    RFS IDLE 0 0 0 0
    RFS IDLE 1 9 13664 2
    RFS IDLE 0 0 0 0
    10) on Primary database:
    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
    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
    ARCm: Becoming the 'no FAL' ARCH
    ARCm: Becoming the 'no SRL' ARCH
    ARCd: Becoming the heartbeat ARCH
    Error 1034 received logging on to the standby
    Error 1034 received logging on to the standby
    LGWR: Error 1034 creating archivelog file 'luda'
    LNS: Failed to archive log 3 thread 1 sequence 7 (1034)
    FAL[server, ARCh]: Error 1034 creating remote archivelog file 'luda'
    11)on primary db
    select name,sequence#,applied from v$archived_log;
    NAME SEQUENCE# APP
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00003_0594204176.001 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00004_0594204176.001 4 NO
    Luda 4 NO
    Luda 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00005_0594204176.001 5 NO
    Luda 5 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00006_0594204176.001 6 NO
    Luda 6 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00007_0594204176.001 7 NO
    Luda 7 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00008_0594204176.001 8 NO
    Luda 8 NO
    12) on standby db
    select name,sequence#,applied from v$archived_log;
    NAME SEQUENCE# APP
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00004_0594204176.001 4 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00003_0594204176.001 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00005_0594204176.001 5 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00006_0594204176.001 6 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00007_0594204176.001 7 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00008_0594204176.001 8 NO
    13) my init.ora files
    On standby db
    irina.__db_cache_size=79691776
    irina.__java_pool_size=4194304
    irina.__large_pool_size=4194304
    irina.__shared_pool_size=75497472
    irina.__streams_pool_size=0
    *.audit_file_dest='C:\oracle\product\10.2.0\admin\luda\adump'
    *.background_dump_dest='C:\oracle\product\10.2.0\admin\luda\bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\luda\luda.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0\admin\luda\cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='luda','irina'
    *.db_name='irina'
    *.db_unique_name='luda'
    *.db_recovery_file_dest='C:\oracle\product\10.2.0\flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=irinaXDB)'
    *.fal_client='luda'
    *.fal_server='irina'
    *.job_queue_processes=10
    *.log_archive_config='DG_CONFIG=(irina,luda)'
    *.log_archive_dest_1='LOCATION=C:/oracle/product/10.2.0/oradata/luda/ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=luda'
    *.log_archive_dest_2='SERVICE=irina LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=irina'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=30
    *.log_file_name_convert='C:/oracle/product/10.2.0/oradata/irina/','C:/oracle/product/10.2.0/oradata/luda/'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0\admin\luda\udump'
    On primary db
    irina.__db_cache_size=79691776
    irina.__java_pool_size=4194304
    irina.__large_pool_size=4194304
    irina.__shared_pool_size=75497472
    irina.__streams_pool_size=0
    *.audit_file_dest='C:\oracle\product\10.2.0/admin/irina/adump'
    *.background_dump_dest='C:\oracle\product\10.2.0/admin/irina/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\irina\control01.ctl','C:\oracle\product\10.2.0\oradata\irina\control02.ctl','C:\oracle\product\10.2.0\oradata\irina\control03.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0/admin/irina/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='luda','irina'
    *.db_name='irina'
    *.db_recovery_file_dest='C:\oracle\product\10.2.0/flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=irinaXDB)'
    *.fal_client='irina'
    *.fal_server='luda'
    *.job_queue_processes=10
    *.log_archive_config='DG_CONFIG=(irina,luda)'
    *.log_archive_dest_1='LOCATION=C:/oracle/product/10.2.0/oradata/irina/ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=irina'
    *.log_archive_dest_2='SERVICE=luda LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=luda'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=30
    *.log_file_name_convert='C:/oracle/product/10.2.0/oradata/luda/','C:/oracle/product/10.2.0/oradata/irina/'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0/admin/irina/udump'
    Please help me!!!!

    Hi,
    After several tries my redo logs are applied now. I think in my case it had to do with the tnsnames.ora. At this moment I have both database in both tnsnames.ora files using the SID and not the SERVICE_NAME.
    Now I want to use DGMGRL. Adding a configuration and a stand-by database is working fine, but when I try to enable the configuration DGMGRL gives no feedback and it looks like it is hanging. The log, although says that it succeeded.
    In another session 'show configuration' results in the following, confirming that the enable succeeded.
    DGMGRL> show configuration
    Configuration
    Name: avhtest
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    avhtest - Primary database
    avhtestls53 - Physical standby database
    Current status for "avhtest":
    Warning: ORA-16610: command 'ENABLE CONFIGURATION' in progress
    It there anybody that experienced the same problem and/or knows the solution to this?
    With kind regards,
    Martin Schaap

  • 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 log files are not being created

    I am doing some testing of the backup and recovery of our databases.
    I have a database which is in archive log mode.
    I have added some records to a table and I am expecting to see some archive files
    being written to but nothing is being produced.
    We are running Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
    The current archive information is as follows :
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 1
    Next log sequence to archive 3
    Current log sequence 3
    SQL> show parameter db_recovery_file_dest;
    NAME TYPE VALUE
    db_recovery_file_dest string /export/flash_recovery_area
    When I look in the directory as indicated above I see no files :
    cd /export/flash_recovery_area/MRESTORE/archivelog/2013_04_16
    (no files)
    I'm wondering if I am missing something obvious here.
    Thank you in advance.

    user6502667 wrote:
    I am doing some testing of the backup and recovery of our databases.
    I have a database which is in archive log mode.
    I have added some records to a table and I am expecting to see some archive files
    being written to but nothing is being produced.
    We are running Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
    The current archive information is as follows :
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 1
    Next log sequence to archive 3
    Current log sequence 3
    SQL> show parameter db_recovery_file_dest;
    NAME TYPE VALUE
    db_recovery_file_dest string /export/flash_recovery_area
    When I look in the directory as indicated above I see no files :
    cd /export/flash_recovery_area/MRESTORE/archivelog/2013_04_16
    (no files)
    I'm wondering if I am missing something obvious here.
    Thank you in advance.There can be several, but I'd say the most likely is that you simply didn't yet generate enough redo information to fill a redolog and thus trigger the writing of an archivelog.

  • Redo log files are not applied in DR of primary

    Hi All,
    I have a DR database of primary on QA Serevr. The Redo log files are not properly applied in the DR database.
    The Oracle version is 11.2.0.1 Some of the files get shipped and applied to DR database automatically but not all.
    SQL> select status, error from v$archive_dest where dest_id=2; gives following massage
    ERROR     ORA-16086: Redo data cannot be written to the standby redo log
    Please suggest.
    Regards,
    Shashi

    Hi,
    Sorry for delay in response. Here I am attaching the error captured in standby database.
    Please advise
    alert_abc.log
    RFS[1780]: Identified database type as 'physical standby': Client is LGWR SYNC pid 21855
    Primary database is in MAXIMUM AVAILABILITY mode
    Standby controlfile consistent with primary
    Standby controlfile consistent with primary
    RFS[1780]: No standby redo logfiles of file size 94371840 AND block size 512 exist
    Clearing online log 16 of thread 0 sequence number 0
    Errors in file /oracle/diag/rdbms/abc_location11/abc/trace/abc_rfs_27994.trc:
    ORA-00367: checksum error in log file header
    ORA-00315: log 16 of thread 0, wrong thread # 1 in header
    ORA-00312: online log 16 thread 0: '/oracle/abc/origlogB/log_g116m1.dbf'
    Mon Nov 14 00:49:16 2011
    Clearing online log 9 of thread 0 sequence number 0
    Errors in file /oracle/diag/rdbms/abc_location11/abc/trace/abc_arc0_15653.trc:
    /oracle/diag/rdbms/abc_location11/abc/trace/abc_rfs_27994.trc
    2011-11-14 00:49:19.385
    DDE rules only execution for: ORA 312
    START Event Driven Actions Dump -
    END Event Driven Actions Dump -
    START DDE Actions Dump -
    Executing SYNC actions
    START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -
    DDE Action 'DB_STRUCTURE_INTEGRITY_CHECK' was flood controlled
    END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (FLOOD CONTROLLED, 1 csec) -
    Executing ASYNC actions
    END DDE Actions Dump (total 0 csec) -
    ORA-00367: checksum error in log file header
    ORA-00315: log 16 of thread 0, wrong thread # 1 in header
    ORA-00312: online log 16 thread 0: '/oracle/abc/origlogB/log_g116m1.dbf'
    DDE rules only execution for: ORA 312
    START Event Driven Actions Dump -
    END Event Driven Actions Dump -
    START DDE Actions Dump -
    Executing SYNC actions
    START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -
    DDE Action 'DB_STRUCTURE_INTEGRITY_CHECK' was flood controlled
    END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (FLOOD CONTROLLED, -641 csec) -
    Executing ASYNC actions
    END DDE Actions Dump (total 0 csec) -
    ORA-19527: physical standby redo log must be renamed
    ORA-00312: online log 16 thread 0: '/oracle/abc/origlogB/log_g116m1.dbf'
    Error 19527 clearing SRL 16
    /oracle/diag/rdbms/abc_location11/abc/trace/abc_arc0_15653.trc
    ORA-19527: physical standby redo log must be renamed
    ORA-00312: online log 9 thread 0: '/oracle/abc/origlogA/log_g19m1.dbf'
    Error 19527 clearing SRL 9
    DDE rules only execution for: ORA 312
    START Event Driven Actions Dump -
    END Event Driven Actions Dump -
    START DDE Actions Dump -
    Executing SYNC actions

  • Log files are not purged

    Hi All,
    I have a TT data store, with setting LogPurge=1. There are lots of transactions manipulating the data store. If I'm correct, the log files, that are older then the older checkpoint file are to be deleted automatically by TT, if there are no operations holding them. In my case the log files are not being deleted, so an ls -ltr command prints:
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 10:49 appdbtt.res1
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 10:49 appdbtt.res0
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 10:49 appdbtt.res2
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:02 appdbtt.log0
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:03 appdbtt.log1
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:03 appdbtt.log2
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:04 appdbtt.log3
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:04 appdbtt.log4
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:04 appdbtt.log5
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:05 appdbtt.log6
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:05 appdbtt.log7
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:06 appdbtt.log8
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:06 appdbtt.log9
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:07 appdbtt.log10
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:07 appdbtt.log11
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:08 appdbtt.log12
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:08 appdbtt.log13
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:09 appdbtt.log14
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:09 appdbtt.log15
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:09 appdbtt.log16
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:10 appdbtt.log17
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:10 appdbtt.log18
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:11 appdbtt.log19
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:11 appdbtt.log20
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:12 appdbtt.log21
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:12 appdbtt.log22
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:13 appdbtt.log23
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:13 appdbtt.log24
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:14 appdbtt.log25
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:14 appdbtt.log26
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:15 appdbtt.log27
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:15 appdbtt.log28
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:16 appdbtt.log29
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:16 appdbtt.log30
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:16 appdbtt.log31
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:17 appdbtt.log32
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:17 appdbtt.log33
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:18 appdbtt.log34
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:18 appdbtt.log35
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:19 appdbtt.log36
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:19 appdbtt.log37
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:20 appdbtt.log38
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:20 appdbtt.log39
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:21 appdbtt.log40
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:21 appdbtt.log41
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:22 appdbtt.log42
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:22 appdbtt.log43
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:22 appdbtt.log44
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:23 appdbtt.log45
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:23 appdbtt.log46
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:24 appdbtt.log47
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:25 appdbtt.log48
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:25 appdbtt.log49
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:25 appdbtt.log50
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:26 appdbtt.log51
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:26 appdbtt.log52
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:27 appdbtt.log53
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:27 appdbtt.log54
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:28 appdbtt.log55
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:28 appdbtt.log56
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:29 appdbtt.log57
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:29 appdbtt.log58
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:30 appdbtt.log59
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:30 appdbtt.log60
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:31 appdbtt.log61
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:31 appdbtt.log62
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:32 appdbtt.log63
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:32 appdbtt.log64
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:33 appdbtt.log65
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:33 appdbtt.log66
    -rw-rw-rw- 1 timesten timesten 487444480 Dec 07 11:33 appdbtt.ds0
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:34 appdbtt.log67
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:34 appdbtt.log68
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:35 appdbtt.log69
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:35 appdbtt.log70
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:35 appdbtt.log71
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:36 appdbtt.log72
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:36 appdbtt.log73
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:37 appdbtt.log74
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:37 appdbtt.log75
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:38 appdbtt.log76
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:38 appdbtt.log77
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:39 appdbtt.log78
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:39 appdbtt.log79
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:40 appdbtt.log80
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:40 appdbtt.log81
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:41 appdbtt.log82
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:41 appdbtt.log83
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:42 appdbtt.log84
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:42 appdbtt.log85
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:43 appdbtt.log86
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:43 appdbtt.log87
    -rw-rw-rw- 1 timesten timesten 632098816 Dec 07 11:43 appdbtt.ds1
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:44 appdbtt.log88
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:45 appdbtt.log89
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:45 appdbtt.log90
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:46 appdbtt.log91
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:46 appdbtt.log92
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:46 appdbtt.log93
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:47 appdbtt.log94
    -rw-rw-rw- 1 timesten timesten 67108864 Dec 07 11:47 appdbtt.log95
    -rw-rw-rw- 1 timesten timesten 4767744 Dec 07 11:47 appdbtt.log96
    As you can see, I have 67 older log files than the older checkpoint file. Now if I enter the DS in ttIsql, and call ttLogHolds I get:
    Command> call ttLogHolds();
    < 0, 38034792, Replication , APPDBTT:_ORACLE >
    < 67, 44319520, Checkpoint , appdbtt.ds0 >
    < 88, 45855168, Checkpoint , appdbtt.ds1 >
    3 rows found.
    What can be the problem?
    Thanks in advance:
    Dave

    This bookmark
    < 0, 38034792, Replication , APPDBTT:_ORACLE >
    indicates that the AWT bookmark hasn't moved from log file 0. Since AWT is performed by the replication agent, it maintains a bookmark to track where its reached in reading through the transaction log files looking for transactions against any AWT cachegroups. This looks as though somehow a transaction against an AWT cachegroup has not been commited, meaning that it cannot be sent to Oracle, acknowledged and the bookmark moved on. Once the bookmark moves into a new transaction log file, all old log files can then be purged.
    You might be able to identify any uncommited transaction by using ttXactAdmin and checking for locks held against AWT cachegroups.

  • Nohup.log files are not getting generated correctly

    hai,
    im a weblogic administrator. Here is my problem in weblogic. My partner has complained that nohup.logs are not getting generated properly. Like for every 5 mins a new nohup .log file is getting generated. But almost 4 to 5 logs are of 0 size and after that the 6 log file is very hug ( around MB). And the status of the managed servers is in FAILED state. When i checked the nohup logs, i can see "E297: Write Error In Swap File" and also the below error. But when i checked the disk space it is only 30 % full. Please suggest me something that can help me in this. Why is this behavior in the nohup.logs? have anyone faced anythign like this? Please help me.
    But after the recycle everything is fine. But i want to know what went wrong and why it got recovered after the recycle.
    <Feb 11, 2010 7:43:59 AM CST> <Error> <HTTP> <BEA-101246> <Error occurred while flushing HTTP log file for the Web server: wl38_managed1
    java.io.IOException: Disk quota exceeded.
    java.io.IOException: Disk quota exceeded
    at java.io.FileOutputStream.writeBytes([BII)V(FileOutputStream.java:???)
    at java.io.FileOutputStream.write(FileOutputStream.java:260)
    at com.wily.introscope.agent.probe.io.ManagedFileOutputStream.write(ManagedFileOutputStream.java:423)
    at weblogic.utils.io.DoubleBufferedOutputStream.flushBuffer(DoubleBufferedOutputStream.java:58)
    at weblogic.utils.io.DoubleBufferedOutputStream.flush(DoubleBufferedOutputStream.java:157)
    at weblogic.servlet.logging.LogManagerHttp$FlushLogStreamTrigger.trigger(LogManagerHttp.java:522)
    at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
    at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
    at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:50)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    according to error message, your partition size have not enough disk space from where you are running nohup command. check with df -kh.

  • Appended log files are not well formed XML?

    I'm working on a retrofit of our home grown logging class to use the new java.util.logging classes. It works beautifully with one exception. If I need to instantiate the logger in the same day, appending to an existing log file, I get a second (or third, or fourth) <?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE log SYSTEM "logger.dtd"> tag inserted at the beginning of the new log entries. This causes the log file to not be well formed and therefore cannot be parsed.
    I've looked and looked, but can't find a method to suppress these extra tags. Anybody know a way? We want to use this on a development server that will be restarted several times a day. If I don't append, it wipes out my previous logs for the day.

    You'll have to do something to prevent your logger from appending to old logs that have been closed. Sorry if that is not very helpful, but I'm not familiar with the logging features in SDK 1.4. For your interest, though, Log4J (which you can get from Apache) also features XML logging, and it solved that rather obvious problem thus:
    "The output of the XMLLayout consists of a series of log4j:event elements as defined in the log4j.dtd. It does not output a complete well-formed XML file. The output is designed to be included as an external entity in a separate file to form a correct XML file."
    In other words, you would have to wrap the output in an XML header and a root node to be able to use it, which is not difficult to do.

  • 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

  • While Recovery  log files are not displayed in recovery mode

    Hi Folks,
    These days i am performing backup recovery testing for maxdb.
    Maxdb 7.7
    I am having one doubt please help me out to clear that.
    Scenario is like this:
    I have taken a  complete Data Backup.
    After that some data inserted and one log file created .Some transaction's are in log area (Online Logs) not written to the log file(Offline logs).
    When i am performing recovery using recovery mode in that mode it is not showing the log files those are required to be restored at the time of recovery.
    [recovery_mode|http://www.freeuploadimages.org/images/fdsnjrndfbr9ftfnco9.jpg]
    After recovery it is showing me the data as it was their before the recovery.
    When i am going with recovery with initialization option in that it is showing the logs those will be restored while performing the recovery.
    [recovery_with_initilization|http://www.freeuploadimages.org/images/emupbqyhfunqe9q00yd3.jpg]
    After recovery with initialization it  had recovered until it found the data in logs.
    My doubt is why in recovery mode it is not showing the log file's those are required to be recovered as it is showing in case of recovery with initialization.
    In Recovery mode is it not recovering from the offline log files.....?
    If yes than from where it is restoring the data inserted in DB  after the complete backup.
    As per my understanding in recovery mode it will perform recovery in the below steps.(Increment backup's i am not taking)
    1.Complete Data Recovery.
    2.All the log files will be applied.(Offline logfile)
    *3.Log's available in the Log Area will be applied.(Online Log file) *
    Regards,
    Sahil Garg
    Edited by: sahil garg on Feb 26, 2011 9:03 PM

    Hello Sahil,
    please check the documentation and the expert sessions before trying out this stuff.
    The reason for MaxDB not asking for any log backups after you've modified a few records is, that we don't throw away the log data when a log backup is made.
    Instead we keep track of which log information is still available for recovery in the log area and use this during recovery, instead of trying to get the data from the log backup.
    As soon as the log data is lost (because it's overwritten or the log area was deleted as it is the case for a recovery with initialization) MaxDB of course has to ask for the log backups - and it does so.
    But really - go and check the documentation and the expert sessions (maybe also my own blogs on this topic) about this.
    regards,
    Lars

  • WebLogic 9.2 : Log files are not rotating properly

    Hello,
    In Weblogic 9.2, i have mentioned the log archive directory to rotate log files on the basis of size (2 MB) and also checked the flag to rotate the file on startup of server so there are only two possibilities of rotation that is
    1. Either reach file size upto 2 MB
    2. On startup of server
    Lets take an example step by step
    1. I started server, a file e.g. running.out00142 is created.
    2. Now running.out size is reached again upto 2 MB then a new file named running.out00143 should be created.
    3. yes the file is created into the archive folder but every time when next file is created the first file running.out00142 is getting increase and exists till server restarts
    4. Total file contains is 15 but the first file is getting increased and exists till server restart.
    Can anyone help me
    Thanks in advance
    [email protected]

    Hi,
    That's a weird behaviour...
    I had a problem with a non rotating log once and I found out that the domain and the server log were pointing to the same file and then they were locking each other.
    Non-rotating logs are usually caused by weblogic being unable to rename the old file, either because of locking or file/directory rights.
    Hope that helps.
    Cheers,
    Vlad
    Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question. If you think this is helpful, please consider giving points

  • What to do if I tried to install CC on my MacBook 10.9.4 OS and files are not synching?  Spinning wheel and empty folders in original hardrive locations.

    I tried to back my files on Creative Cloud, which I'm new to. I have a late 2013 model MacBook 10.9.4. Two hours into the process the progress wheel is spinning. It notes  "synching file 8 of 2070." It also says "(4 hr left)". No progress at all.
    Meanwhile, none of my files are any longer in their original folder locations.
    Can anyone tell me how to solve this problem?
    Thanks,
    Joel Cairo

    iPod Updater 2006-03-23 has been released
    iPod Updater 2006-03-23 includes iPod Software 1.1.1 for the new iPod and new iPod Software 1.1.1 for iPod nano.
    iPod Updater 2006-03-23 contains the same software versions as iPod Updater 2006-01-10 for all other iPod models.
    What's new in iPod Updater 2006-03-23:
    - Volume limit
    - Bug fixes
    I have been trying to ascertain from Apple Support Level 2 as to whether the latest iPod firmware improves or provides better resolution for the chkdsk issue. If anyone has been using iPod Updater 2006-03-23 to resolve their chkdsk woes, feel free to post in here just to say how things worked out for you...
    Kind regards,
    Gopha.

  • Multiple OAM Files are not working on the layout, and  now they are cropping? Need Help fast...

    So an early thing since day one with muse has been when inserting HTML the preview is sometimes off, and even the container box is sometimes forced to be similar like a previously installed HTML bit. I figured this new site I am making at work could use some Adobe Edge Animate functions for rollovers and drop downs, and as I set this up I am getting errors the more OAM files I insert onto the page. The previews I was kind of already expecting to not work correctly, but no I am getting a situation where my OAM file will not display properly because of the containing box of the first Element I inserted. Here are some pictures explaining the issues...

    This is a huge part of our site, please hurry with a bug fix or please dear god give me some tips for this work around. I am searching everywhere and getting nothing

  • Logs files are not visible through AS Server Console.

    Hello,
    Server = Solaris 10
    Oracle AS 10.1.3.4 (clustered)
    Logs are generated in "/apps/oracle/product/as1013/opmn/logs/EEW_DTP_EEW_DTP_1/EWII_DTP~EEW_DTP~EWII_DTP~1.log" but not visible in Oracle EM (AS console).
    Applications in Instance: AS1013.oxdora20a
    application type: OC4J
    pid | name | state | rtid | classification | routable | parent
    27711 | ascontrol | stopped | g_rt_id | external | false |
    27711 | javasso | stopped | g_rt_id | internal | true |
    27711 | datatags | started | g_rt_id | internal | true | default
    27711 | default | started | g_rt_id | external | true | system
    27711 | eew_dtp | started | g_rt_id | external | true | default
    27711 | system | started | g_rt_id | external | true |
    27710 | ascontrol | stopped | g_rt_id | external | false |
    27710 | javasso | stopped | g_rt_id | internal | true |
    27710 | datatags | started | g_rt_id | internal | true | default
    27710 | default | started | g_rt_id | external | true | system
    27710 | eew_tp | started | g_rt_id | external | true | default
    27710 | system | started | g_rt_id | external | true |
    27709 | system | started | g_rt_id | external | true |
    27709 | default | started | g_rt_id | external | true | system
    27709 | bc4j | started | g_rt_id | external | true |
    27709 | ascontrol | started | g_rt_id | external | true | system
    27709 | javasso | stopped | g_rt_id | internal | false |
    Applications in Instance: AS1013.oxdora20b
    application type: OC4J
    pid | name | state | rtid | classification | routable | parent
    831 | ascontrol | stopped | g_rt_id | external | false |
    831 | javasso | stopped | g_rt_id | internal | true |
    831 | datatags | started | g_rt_id | internal | true | default
    831 | default | started | g_rt_id | external | true | system
    831 | eew_dtp | started | g_rt_id | external | true | default
    831 | system | started | g_rt_id | external | true |
    830 | ascontrol | stopped | g_rt_id | external | false |
    830 | javasso | stopped | g_rt_id | internal | true |
    830 | datatags | started | g_rt_id | internal | true | default
    830 | default | started | g_rt_id | external | true | system
    830 | eew_tp | started | g_rt_id | external | true | default
    830 | system | started | g_rt_id | external | true |
    829 | system | started | g_rt_id | external | true |
    829 | default | started | g_rt_id | external | true | system
    829 | bc4j | started | g_rt_id | external | true |
    829 | ascontrol | stopped | g_rt_id | external | false |
    829 | javasso | stopped | g_rt_id | internal | false |
    thanks,
    Kam

    How are they connecting? What Service?
    Any particular APPs that do this? Adobe perhaps?

Maybe you are looking for

  • I cant find my Macbook Pro. iCloud

    Hi, Im trying to find my Macbook Pro through Icloud but does not show me where is it =(

  • Network Policy Server Two-factor authentication OTP

    Hello, I don't have much knowledge about the Network Policy Server so before digging into this; I would like to know if it offers two-factor authentication. If so, what are the possibilites? I'm looking for a validation based on a one-time password O

  • "Critical program error" in BEx Analyzer due to missing BExCompression

    Hello. I saw several posts with a "Critical program error" message in new BEx Analyzer 7.0 when try to run query ir workbook, but have not seen any answers to them. When I look into the trace file BexAnalyzerTrace_<session_id>.txt (attached) in my te

  • Photoshop Element 9 Install error

    When installing Photoshop Element 9 it keeps rolling back and uninstalling. The operating system is Windows 7. It fails just after it copies the files. Any help would be apreciated

  • Help on Organzational Structures / Units / Elements at Country Level

    Hi Experts, We all know about organzational units / Structures / elments at client Level or at company code level etc etc. But can some expert please list out all (and I repeat all) Organzational Units / Elements / Structures at Country-Level. I will