ORA-16401: archivelog rejected by RFS

Hello, here are the logs and initialisation parameters. It is not applying the logs. Am running XXXXP and the standby and the primary are on the same server.
Please, I need help. Thanks
RFS[1]: Assigned to RFS process 216
RFS[1]: Identified database type as 'physical standby'
Wed May 13 18:39:07 2009
RFS LogMiner: Client disabled from further notification
RFS[1]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST2\STANDBY.LOG'
Wed May 13 18:39:15 2009
FAL[client]: Failed to request gap sequence
GAP - thread 1 sequence 3-3
DBID 1063720110 branch 686695334
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.
Wed May 13 18:39:48 2009
RFS[1]: Archived Log: 'C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\TEST2\ARC00003_0686697929.001'
Wed May 13 18:40:33 2009
db_recovery_file_dest_size of 2048 MB is 0.00% 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.
Wed May 13 18:40:48 2009
RFS[1]: Archivelog thread 1 sequence 3 cannot be reused
Wed May 13 18:40:48 2009
Errors in file c:\oracle\product\10.2.0\admin\test2\udump\test2_rfs_216.trc:
ORA-16401: archivelog rejected by RFS
test1.__db_cache_size=88080384
test1.__java_pool_size=4194304
test1.__large_pool_size=4194304
test1.__shared_pool_size=62914560
test1.__streams_pool_size=0
*.audit_file_dest='C:\oracle\product\10.2.0\admin\test1\adump'
*.background_dump_dest='C:\oracle\product\10.2.0\admin\test1\bdump'
*.compatible='10.2.0.1.0'
*.control_files='C:\oracle\product\10.2.0\oradata\test1\control01.ctl','C:\oracle\product\10.2.0\oradata\test1\control02.ctl','C:\oracle\product\10.2.0\oradata\test1\control03.ctl'
*.core_dump_dest='C:\oracle\product\10.2.0\admin\test1\cdump'
*.db_block_size=8192
*.db_domain='appstech.local'
*.db_create_file_dest='C:\Oracle\product\10.2.0\oradata\test1'
*.db_file_multiblock_read_count=16
*.db_file_name_convert='C:\Oracle\product\10.2.0\oradata\test2\','C:\Oracle\product\10.2.0\oradata\test1\'
*.db_name='test1'
*.db_recovery_file_dest='C:\Oracle\product\10.2.0\flash_recovery_area\TEST1'
*.db_recovery_file_dest_size=2147483648
*.db_unique_name='test1'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=test1XDB)'
*.fal_client='test1'
*.fal_server='test2'
*.job_queue_processes=10
*.local_listener='test1'
*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(test1,test2)'
*.LOG_ARCHIVE_DEST_1='LOCATION=C:\Oracle\product\10.2.0\flash_recovery_area\TEST1
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=test1'
*.log_archive_dest_2='SERVICE=test2 ARCH MANDATORY
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=test2'
*.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
*.LOG_ARCHIVE_DEST_STATE_2='ENABLE'
*.log_file_name_convert='C:\Oracle\product\10.2.0\flash_recovery_area\TEST2','C:\Oracle\product\10.2.0\flash_recovery_area\TEST1',
'C:\Oracle\product\10.2.0\flash_recovery_area\TEST2\ONLINELOG','C:\Oracle\product\10.2.0\flash_recovery_area\TEST1\ONLINELOG',
'C:\Oracle\product\10.2.0\oradata\test2','C:\Oracle\product\10.2.0\oradata\test1',
'C:\Oracle\product\10.2.0\flash_recovery_area\TEST2\FLASHBACK','C:\Oracle\product\10.2.0\flash_recovery_area\TEST1\FLASHBACK'
*.open_cursors=300
*.pga_aggregate_target=16777216
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.query_rewrite_enabled='true'
*.sga_target=167772160
*.undo_management='AUTO'
*.undo_retention=3600
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='C:\oracle\product\10.2.0\admin\test1\udump'
test2.__db_cache_size=79691776
test2.__java_pool_size=4194304
test2.__large_pool_size=4194304
test2.__shared_pool_size=71303168
test2.__streams_pool_size=0
*.archive_lag_target=1800
*.audit_file_dest='C:\oracle\product\10.2.0\admin\test2\adump'
*.background_dump_dest='C:\oracle\product\10.2.0\admin\test2\bdump'
*.compatible='10.2.0.1.0'
*.control_files='C:\Oracle\product\10.2.0\oradata\test2\control01.ctl','C:\Oracle\product\10.2.0\oradata\test2\control02.ctl'
,'C:\Oracle\product\10.2.0\oradata\test2\control03.ctl'
#*.control_files='C:\Oracle\product\10.2.0\oradata\test2\test1_test2.ctl'
*.core_dump_dest='C:\oracle\product\10.2.0\admin\test2\cdump'
*.db_block_size=8192
*.db_domain='appstech.local'
*.db_file_multiblock_read_count=16
*.db_file_name_convert='C:\Oracle\product\10.2.0\oradata\test1','C:\Oracle\product\10.2.0\oradata\test2'
*.db_name='test1'
*.db_recovery_file_dest='C:\oracle\product\10.2.0\flash_recovery_area'
*.db_recovery_file_dest_size=4147483648
*.dg_broker_start=TRUE
*.dispatchers='(PROTOCOL=TCP) (SERVICE=test1XDB)'
*.db_unique_name='test2'
*.fal_client='test2'
*.fal_server='test1'
*.job_queue_processes=10
*.local_listener='test2'
*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(TEST1,TEST2)'
*.LOG_ARCHIVE_DEST_1='LOCATION=C:\Oracle\product\10.2.0\flash_recovery_area\TEST2\ARCHIVELOG
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=test2'
*.log_archive_dest_2='SERVICE=test1 LGWR ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=test1'
*.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
*.log_archive_dest_state_2='ENABLE'
*.LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
*.log_file_name_convert='C:\Oracle\product\10.2.0\flash_recovery_area\TEST1\ONLINELOG\','C:\Oracle\product\10.2.0\flash_recovery_area\TEST2\ONLINELOG\'
*.open_cursors=300
*.pga_aggregate_target=16777216
*.processes=150
*.query_rewrite_enabled='TRUE'
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=167772160
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='C:\oracle\product\10.2.0\admin\test2\udump'
*.undo_retention=3600
*.db_create_file_dest='C:\Oracle\product\10.2.0\oradata\test2'
*.log_archive_start='TRUE'
*.log_archive_trace=2
*.remote_archive_enable='TRUE'

Hello those are the latest logs I can see them over to the standby but they are not applied to them. I have set the LGWR on both log_archive_dest_2;
Regards
ompleted: alter database mount standby database
Thu May 14 11:18:15 2009
alter database recover managed standby database disconnect from session
MRP0 started with pid=18, OS id=3940
Managed Standby Recovery not using Real Time Apply
Media Recovery start incarnation depth : 1, target inc# : 4, irscn : 607856
Media Recovery Waiting for thread 1 sequence 3 branch(resetlogs_id) 686695334
Fetching gap sequence in thread 1 branch(resetlogs_id) 686695334, gap seq 3-3
Thu May 14 11:18:21 2009
Completed: alter database recover managed standby database disconnect from session
Thu May 14 11:18:51 2009
FAL[client]: Failed to request gap sequence
GAP - thread 1 sequence 3-3
DBID 1063720110 branch 686695334
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 May 14 11:21:23 2009
Shutting down instance: further logons disabled
Thu May 14 11:21:23 2009
Stopping background process CJQ0
Thu May 14 11:21:24 2009
Stopping background process MMNL
Thu May 14 11:21:25 2009
Stopping background process MMON
Thu May 14 11:32:25 2009
Shutting down archive processes
Thu May 14 11:32:30 2009
ARCH shutting down
ARC2: Archival stopped
Thu May 14 11:32:31 2009
Errors in file c:\oracle\product\10.2.0\admin\test1\bdump\test1_arc1_1912.trc:
ORA-16401: archivelog rejected by RFS
Thu May 14 11:33:31 2009
Errors in file c:\oracle\product\10.2.0\admin\test1\bdump\test1_arc1_1912.trc:
ORA-16401: archivelog rejected by RFS
Thu May 14 11:34:31 2009
Errors in file c:\oracle\product\10.2.0\admin\test1\bdump\test1_arc1_1912.trc:
ORA-16401: archivelog rejected by RFS

Similar Messages

  • RFS[15]: Archivelog thread 1 sequence 3066 cannot be reused

    During learning DataGuard on Windows 20003 in Oracle 10g, i run the shutdown abort command on the primary to see if fast-start failover is working, it was completed successfully and standby database became primary.
    But on my new standby database which was previously primary, i am getting the following error:
    >
    RFS[15]: Archivelog thread 1 sequence 3066 cannot be reused
    >
    Can any body help?

    In this environment, i have total three databases. One is primary which was previously physical standby database, second is logical standby database and third one which is in problem is the physical standby database.
    >
    Can you check alert log file & post some more information from trace files
    >
    ARCH: STARTING ARCH PROCESSES COMPLETE
    Tue Oct 18 12:12:39 2011
    ARC0: Becoming the 'no FAL' ARCH
    ARC0: Becoming the 'no SRL' ARCH
    ARC0: Thread not mounted
    Tue Oct 18 12:12:40 2011
    Successful mount of redo thread 1, with mount id 37729331
    Tue Oct 18 12:12:40 2011
    Allocated 3981204 bytes in shared pool for flashback generation buffer
    Starting background process RVWR
    RVWR started with pid=46, OS id=3284
    Tue Oct 18 12:12:40 2011
    Physical Standby Database mounted.
    ARCt started with pid=45, OS id=2372
    Tue Oct 18 12:12:40 2011
    ARC1: Becoming the heartbeat ARCH
    Completed: alter database mount
    Tue Oct 18 12:12:43 2011
    Starting Data Guard Broker (DMON)
    INSV started with pid=48, OS id=6044
    NSV1 started with pid=47, OS id=5780
    RSM0 started with pid=49, OS id=4540
    Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST
    Tue Oct 18 12:13:04 2011
    ALTER SYSTEM SET log_archive_dest_1='location="C:\Oracle\product\10.2.0\flash_recovery_area\standbyFiles\"','valid_for=(STANDBY_LOGFILE,STANDBY_ROLE)' SCOPE=BOTH SID='qadirect';
    Tue Oct 18 12:13:04 2011
    ALTER SYSTEM SET log_archive_dest_state_1='ENABLE' SCOPE=BOTH SID='qadirect';
    Tue Oct 18 12:13:04 2011
    ALTER SYSTEM SET standby_archive_dest='C:\Oracle\product\10.2.0\flash_recovery_area\standbyFiles\' SCOPE=BOTH SID='qadirect';
    Tue Oct 18 12:13:04 2011
    ALTER SYSTEM SET log_archive_trace=0 SCOPE=BOTH SID='qadirect';
    Tue Oct 18 12:13:04 2011
    ALTER SYSTEM SET log_archive_format='%t_%s_%r.arc' SCOPE=SPFILE SID='qadirect';
    Tue Oct 18 12:13:04 2011
    ALTER SYSTEM SET standby_file_management='AUTO' SCOPE=BOTH SID='*';
    Tue Oct 18 12:13:04 2011
    ALTER SYSTEM SET archive_lag_target=0 SCOPE=BOTH SID='*';
    Tue Oct 18 12:13:05 2011
    ALTER SYSTEM SET log_archive_max_processes=30 SCOPE=BOTH SID='*';
    Tue Oct 18 12:13:05 2011
    ALTER SYSTEM SET log_archive_min_succeed_dest=1 SCOPE=BOTH SID='*';
    Tue Oct 18 12:13:05 2011
    ALTER SYSTEM SET db_file_name_convert='C:\ORACLE\PRODUCT\10.2.0\ORADATA\QADIRECT\','D:\test\oradata\','D:\QADIRECT_DB_FILES\DATA_FILES\','D:\test\oradata\' SCOPE=SPFILE;
    Tue Oct 18 12:13:05 2011
    ALTER SYSTEM SET log_file_name_convert='C:\ORACLE\PRODUCT\10.2.0\ORADATA\QADIRECT\','D:\test\oradata\' SCOPE=SPFILE;
    Tue Oct 18 12:13:05 2011
    ALTER SYSTEM SET fal_server='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SSI-ORACLE)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=test_XPT)(SERVER=dedicated)))' SCOPE=BOTH;
    Tue Oct 18 12:13:05 2011
    ALTER SYSTEM SET fal_client='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SSI-ORACLE)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=qadirect_XPT)(INSTANCE_NAME=qadirect)(SERVER=dedicated)))' SCOPE=BOTH;
    Tue Oct 18 12:13:05 2011
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE THROUGH ALL SWITCHOVER DISCONNECT USING CURRENT LOGFILE
    MRP0 started with pid=50, OS id=5788
    Managed Standby Recovery starting Real Time Apply
    Clearing online redo logfile 1 C:\ORACLE\PRODUCT\10.2.0\ORADATA\QADIRECT\REDO01.LOG
    Clearing online log 1 of thread 1 sequence number 3066
    Tue Oct 18 12:13:12 2011
    Completed: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE THROUGH ALL SWITCHOVER DISCONNECT USING CURRENT LOGFILE
    Tue Oct 18 12:13:13 2011
    Clearing online redo logfile 1 complete
    Clearing online redo logfile 2 C:\ORACLE\PRODUCT\10.2.0\ORADATA\QADIRECT\REDO02.LOG
    Clearing online log 2 of thread 1 sequence number 3067
    Clearing online redo logfile 2 complete
    Clearing online redo logfile 3 C:\ORACLE\PRODUCT\10.2.0\ORADATA\QADIRECT\REDO03.LOG
    Clearing online log 3 of thread 1 sequence number 3065
    Clearing online redo logfile 3 complete
    Media Recovery Waiting for thread 1 sequence 3065
    Fetching gap sequence in thread 1, gap sequence 3065-3065
    Tue Oct 18 12:13:24 2011
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[1]: Assigned to RFS process 6160
    RFS[1]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM AVAILABILITY mode
    Changing standby controlfile to RESYNCHRONIZATION level
    Tue Oct 18 12:13:24 2011
    RFS LogMiner: Client disabled from further notification
    Primary database is in MAXIMUM AVAILABILITY mode
    Standby controlfile consistent with primary
    RFS[1]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\QADIRECT\LOG1.RDO'
    Tue Oct 18 12:13:29 2011
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[2]: Assigned to RFS process 6440
    RFS[2]: Identified database type as 'physical standby'
    Tue Oct 18 12:13:29 2011
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[3]: Assigned to RFS process 2868
    RFS[3]: Identified database type as 'physical standby'
    Tue Oct 18 12:13:30 2011
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[4]: Assigned to RFS process 3536
    RFS[4]: Identified database type as 'physical standby'
    Tue Oct 18 12:13:30 2011
    RFS[3]: Archivelog thread 1 sequence 3065 cannot be reused
    Tue Oct 18 12:13:30 2011
    Errors in file c:\oracle\product\10.2.0\admin\qadirect\udump\qadirect_rfs_2868.trc:
    ORA-16401: archivelog rejected by RFS
    Tue Oct 18 12:13:30 2011
    RFS[2]: Successfully opened standby log 5: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\QADIRECT\LOG2.RDO'
    Tue Oct 18 12:13:34 2011
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[5]: Assigned to RFS process 2740
    RFS[5]: Identified database type as 'physical standby'
    RFS[5]: Archivelog thread 1 sequence 3065 cannot be reused
    Tue Oct 18 12:13:35 2011
    Errors in file c:\oracle\product\10.2.0\admin\qadirect\udump\qadirect_rfs_2740.trc:
    ORA-16401: archivelog rejected by RFS
    Tue Oct 18 12:13:59 2011
    Fetching gap sequence in thread 1, gap sequence 3065-3070
    Tue Oct 18 12:14:00 2011
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[6]: Assigned to RFS process 3120
    RFS[6]: Identified database type as 'physical standby'
    Tue Oct 18 12:14:01 2011
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[7]: Assigned to RFS process 6096
    RFS[7]: Identified database type as 'physical standby'
    Tue Oct 18 12:14:02 2011
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[8]: Assigned to RFS process 4616
    RFS[8]: Identified database type as 'physical standby'
    Tue Oct 18 12:14:02 2011
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[9]: Assigned to RFS process 1032
    RFS[9]: Identified database type as 'physical standby'
    Tue Oct 18 12:14:02 2011
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[10]: Assigned to RFS process 6284
    RFS[10]: Identified database type as 'physical standby'
    Tue Oct 18 12:14:03 2011
    RFS[6]: Archivelog thread 1 sequence 3066 cannot be reused
    >
    is it RAC or single instance database?
    >
    It is a single instance database.
    >
    SQL> SELECT * FROM GV$DATAGUARD_STATUS where message like '% Archivelog thread% cannot be reused%';
    >
    INST_ID FACILITY SEVERITY DEST_ID MESSAGE_NUM ERROR_CODE CALLOUT TIMESTAMP MESSAGE
    1 Remote File Server Error 0 2648 16401 YES 10/19/2011 RFS[6]: Archivelog thread 1 sequence 3065 cannot be reused
    1 Remote File Server Error 0 2649 16401 YES 10/19/2011 RFS[11]: Archivelog thread 1 sequence 3066 cannot be reused
    1 Remote File Server Error 0 2650 16401 YES 10/19/2011 RFS[10]: Archivelog thread 1 sequence 3065 cannot be reused
    1 Remote File Server Error 0 2651 16401 YES 10/19/2011 RFS[9]: Archivelog thread 1 sequence 3066 cannot be reused
    1 Remote File Server Error 0 2652 16401 YES 10/19/2011 RFS[12]: Archivelog thread 1 sequence 3065 cannot be reused
    1 Remote File Server Error 0 2653 16401 YES 10/19/2011 RFS[13]: Archivelog thread 1 sequence 3066 cannot be reused
    1 Remote File Server Error 0 2654 16401 YES 10/19/2011 RFS[14]: Archivelog thread 1 sequence 3065 cannot be reused
    1 Remote File Server Error 0 2655 16401 YES 10/19/2011 RFS[26]: Archivelog thread 1 sequence 3066 cannot be reused
    1 Remote File Server Error 0 2656 16401 YES 10/19/2011 RFS[16]: Archivelog thread 1 sequence 3065 cannot be reused
    1 Remote File Server Error 0 2657 16401 YES 10/19/2011 RFS[17]: Archivelog thread 1 sequence 3066 cannot be reused
    1 Remote File Server Error 0 2658 16401 YES 10/19/2011 RFS[18]: Archivelog thread 1 sequence 3065 cannot be reused
    >
    Is still standby is working? do they have standby redo log file groups?
    >
    Yes it is still working and contains standby redo log file groups.

  • Dataguard - Primary not applying logs to Standby

    Having an issue applying logs to the standby, seemingly it's not setup correctly. I am sure I'm missing something simple here, but would love any input or help. Thanks in advance.
    Background:
    Primary: CDPMTSB (Single Stand alone)
    Standby: CDPMT (RAC)
    Error Message on Primary (Alert Log):
    Errors in file /data/oracle/app/oracle/diag/rdbms/cdpmtsb/CDPMTSB/trace/CDPMTSB_arc6_9571.trc:
    ORA-16014: log 3 sequence# 4071 not archived, no available destinations
    ORA-00312: online log 3 thread 2: '+FRA_DG_01/cdpmtsb/onlinelog/group_3.291.799379949'
    ARCH: Archival error occurred on a closed thread. Archiver continuing
    ORACLE Instance CDPMTSB - Archival Error. Archiver continuing.
    Mon Nov 19 19:54:24 2012
    Changing destination 4 from remote to local during archival of log#: 3 sequence#: 4071 thread#: 2
    Changing destination 4 from remote to local during archival of log#: 3 sequence#: 4071 thread#: 2
    ARC6: LGWR is actively archiving destination LOG_ARCHIVE_DEST_2
    ARC6: Archive log rejected (thread 2 sequence 4071) at host 'CDPMT'
    Errors in file /data/oracle/app/oracle/diag/rdbms/cdpmtsb/CDPMTSB/trace/CDPMTSB_arc6_9571.trc:
    ORA-16401: archivelog rejected by RFS
    Errors in file /data/oracle/app/oracle/diag/rdbms/cdpmtsb/CDPMTSB/trace/CDPMTSB_arc6_9571.trc:
    ORA-16014: log 3 sequence# 4071 not archived, no available destinations
    ORA-00312: online log 3 thread 2: '+FRA_DG_01/cdpmtsb/onlinelog/group_3.291.799379949'
    ARCH: Archival error occurred on a closed thread. Archiver continuing
    ORACLE Instance CDPMTSB - Archival Error. Archiver continuing.
    Mon Nov 19 19:59:24 2012
    Changing destination 4 from remote to local during archival of log#: 3 sequence#: 4071 thread#: 2
    Changing destination 4 from remote to local during archival of log#: 3 sequence#: 4071 thread#: 2
    ARC6: LGWR is actively archiving destination LOG_ARCHIVE_DEST_2
    ARC6: Archive log rejected (thread 2 sequence 4071) at host 'CDPMT'
    Errors in file /data/oracle/app/oracle/diag/rdbms/cdpmtsb/CDPMTSB/trace/CDPMTSB_arc6_9571.trc:
    ORA-16401: archivelog rejected by RFS
    Errors in file /data/oracle/app/oracle/diag/rdbms/cdpmtsb/CDPMTSB/trace/CDPMTSB_arc6_9571.trc:
    ORA-16014: log 3 sequence# 4071 not archived, no available destinations
    ORA-00312: online log 3 thread 2: '+FRA_DG_01/cdpmtsb/onlinelog/group_3.291.799379949'
    ARCH: Archival error occurred on a closed thread. Archiver continuing
    ORACLE Instance CDPMTSB - Archival Error. Archiver continuing.
    Mon Nov 19 20:00:00 2012
    Errors in file /data/oracle/app/oracle/diag/rdbms/cdpmtsb/CDPMTSB/trace/CDPMTSB_j001_17473.trc:
    ORA-12012: error on auto execute of job 72620
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    ORA-06512: at "CD_ADMIN.UTDCD_SURVEY_PKG", line 4926
    Standby Alert Log:
    ORA-16401: archivelog rejected by RFS
    Mon Nov 19 19:32:15 2012
    RFS[6]: Assigned to RFS process 4248
    RFS[6]: Identified database type as 'physical standby': Client is ARCH pid 9561
    Mon Nov 19 19:32:22 2012
    RFS[1]: Selected log 6 for thread 1 sequence 4073 dbid 1629723947 branch 769881773
    Mon Nov 19 19:32:22 2012
    Archived Log entry 1097 added for thread 1 sequence 4072 ID 0x62e7f5cf dest 1:
    Archived Log entry 1098 added for thread 1 sequence 4072 ID 0x62e7f5cf dest 3:
    Mon Nov 19 19:34:23 2012
    Errors in file /opt/app/oracle/diag/rdbms/cdpmt/CDPMT1/trace/CDPMT1_rfs_24994.trc:
    ORA-16401: archivelog rejected by RFS
    Mon Nov 19 19:38:12 2012
    RFS[1]: Selected log 5 for thread 1 sequence 4074 dbid 1629723947 branch 769881773
    Mon Nov 19 19:38:12 2012
    Archived Log entry 1099 added for thread 1 sequence 4073 ID 0x62e7f5cf dest 1:
    Archived Log entry 1100 added for thread 1 sequence 4073 ID 0x62e7f5cf dest 3:
    Mon Nov 19 19:39:23 2012
    Errors in file /opt/app/oracle/diag/rdbms/cdpmt/CDPMT1/trace/CDPMT1_rfs_24994.trc:
    ORA-16401: archivelog rejected by RFS
    Mon Nov 19 19:44:24 2012
    Errors in file /opt/app/oracle/diag/rdbms/cdpmt/CDPMT1/trace/CDPMT1_rfs_24994.trc:
    ORA-16401: archivelog rejected by RFS
    Mon Nov 19 19:49:24 2012
    Errors in file /opt/app/oracle/diag/rdbms/cdpmt/CDPMT1/trace/CDPMT1_rfs_24994.trc:
    ORA-16401: archivelog rejected by RFS
    Mon Nov 19 19:54:24 2012
    Errors in file /opt/app/oracle/diag/rdbms/cdpmt/CDPMT1/trace/CDPMT1_rfs_24994.trc:
    ORA-16401: archivelog rejected by RFS
    Mon Nov 19 19:59:24 2012
    Errors in file /opt/app/oracle/diag/rdbms/cdpmt/CDPMT1/trace/CDPMT1_rfs_24994.trc:
    ORA-16401: archivelog rejected by RFS
    Primary Parameters:
    NAME TYPE VALUE
    log_archive_config string DG_CONFIG=(CDPMT,CDPMTSB)
    log_archive_dest string
    log_archive_dest_1 string LOCATION=USE_DB_RECOVERY_FILE_
    DEST VALID_FOR=(ONLINE_LOGFIL
    ES,ALL_ROLES) DB_UNIQUE_NAME=C
    DPMTSB
    log_archive_dest_10 string
    log_archive_dest_2 string SERVICE=CDPMT VALID_FOR=(ONLIN
    E_LOGFILES,PRIMARY_ROLE) DB_UN
    IQUE_NAME=CDPMT
    log_archive_dest_3 string location="+FRA_DG_01/cdpmtsb/s
    tandbylog", valid_for=(STANDB
    Y_LOGFILE,STANDBY_ROLE)
    log_archive_dest_4 string
    log_archive_dest_5 string
    log_archive_dest_6 string
    log_archive_dest_7 string
    log_archive_dest_8 string
    log_archive_dest_9 string
    log_archive_dest_state_1 string enable
    log_archive_dest_state_10 string enable
    log_archive_dest_state_2 string ENABLE
    log_archive_dest_state_3 string ENABLE
    log_archive_dest_state_4 string defer
    log_archive_dest_state_5 string enable
    log_archive_dest_state_6 string enable
    log_archive_dest_state_7 string enable
    log_archive_dest_state_8 string enable
    log_archive_dest_state_9 string enable
    log_archive_duplex_dest string
    log_archive_format string %t_%s_%r.dbf
    log_archive_local_first boolean TRUE
    log_archive_max_processes integer 7
    log_archive_min_succeed_dest integer 2
    log_archive_start boolean FALSE
    log_archive_trace integer 0
    Standby Parameters:
    NAME TYPE VALUE
    log_archive_config string dg_config=(CDPMT,CD PMTSB)
    log_archive_dest string
    log_archive_dest_1 string location="USE_DB_RE COVERY_FILE
    _DEST", valid_for= (ALL_LOGFIL
    ES,ALL_ROLES)
    log_archive_dest_10 string
    log_archive_dest_2 string SERVICE=cdpmtsb LGW R ASYNC VAL
    ID_FOR=(ONLINE_LOGF ILES,PRIMAR
    Y_ROLE) DB_UNIQUE_N AME=cdpmtsb
    log_archive_dest_3 string LOCATION=+FRA_DG_01 /CDPMT/STAN
    DBYLOG VALID_FOR=( STANDBY_LOG
    NAME TYPE VALUE
    FILES,STANDBY_ROLE) DB_UNIQUE_
    NAME=CDPMT
    log_archive_dest_4 string
    log_archive_dest_5 string
    log_archive_dest_6 string
    log_archive_dest_7 string
    log_archive_dest_8 string
    log_archive_dest_9 string
    log_archive_dest_state_1 string ENABLE
    log_archive_dest_state_10 string enable
    log_archive_dest_state_2 string ENABLE
    NAME TYPE VALUE
    log_archive_dest_state_3 string enable
    log_archive_dest_state_4 string enable
    log_archive_dest_state_5 string enable
    log_archive_dest_state_6 string enable
    log_archive_dest_state_7 string enable
    log_archive_dest_state_8 string enable
    log_archive_dest_state_9 string enable
    log_archive_duplex_dest string
    log_archive_format string %t_%s_%r.dbf
    log_archive_local_first boolean TRUE
    log_archive_max_processes integer 30
    NAME TYPE VALUE
    log_archive_min_succeed_dest integer 1
    log_archive_start boolean FALSE
    log_archive_trace integer 0
    SQL> show parameter log_ar
    NAME TYPE VALUE
    log_archive_config string dg_config=(CDPMT,CDPMTSB)
    log_archive_dest string
    log_archive_dest_1 string location="USE_DB_RECOVERY_FILE
    _DEST", valid_for=(ALL_LOGFIL
    ES,ALL_ROLES)
    log_archive_dest_10 string
    log_archive_dest_2 string SERVICE=cdpmtsb LGWR ASYNC VAL
    ID_FOR=(ONLINE_LOGFILES,PRIMAR
    Y_ROLE) DB_UNIQUE_NAME=cdpmtsb
    log_archive_dest_3 string LOCATION=+FRA_DG_01/CDPMT/STAN
    DBYLOG VALID_FOR=(STANDBY_LOG
    NAME TYPE VALUE
    FILES,STANDBY_ROLE) DB_UNIQUE_
    NAME=CDPMT
    log_archive_dest_4 string
    log_archive_dest_5 string
    log_archive_dest_6 string
    log_archive_dest_7 string
    log_archive_dest_8 string
    log_archive_dest_9 string
    log_archive_dest_state_1 string ENABLE
    log_archive_dest_state_10 string enable
    log_archive_dest_state_2 string ENABLE
    NAME TYPE VALUE
    log_archive_dest_state_3 string enable
    log_archive_dest_state_4 string enable
    log_archive_dest_state_5 string enable
    log_archive_dest_state_6 string enable
    log_archive_dest_state_7 string enable
    log_archive_dest_state_8 string enable
    log_archive_dest_state_9 string enable
    log_archive_duplex_dest string
    log_archive_format string %t_%s_%r.dbf
    log_archive_local_first boolean TRUE
    log_archive_max_processes integer 30
    NAME TYPE VALUE
    log_archive_min_succeed_dest integer 1
    log_archive_start boolean FALSE
    log_archive_trace integer 0
    SQL>
    DGMGRL> show configuration verbose;
    Configuration
    Name: cdpmtqa
    Enabled: YES
    Protection Mode: MaxPerformance
    Databases:
    cdpmtsb - Primary database
    cdpmt - Physical standby database
    Fast-Start Failover: DISABLED
    Current status for "cdpmtqa":
    Warning: ORA-16608: one or more databases have warnings
    DGMGRL> show database verbose CDPMT
    Database
    Name: cdpmt
    Role: PHYSICAL STANDBY
    Enabled: YES
    Intended State: APPLY-ON
    Instance(s):
    CDPMT1
    CDPMT2 (apply instance)
    Properties:
    DGConnectIdentifier = 'cdpmt'
    ObserverConnectIdentifier = ''
    LogXptMode = 'ASYNC'
    DelayMins = '0'
    Binding = 'OPTIONAL'
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = '300'
    NetTimeout = '30'
    RedoCompression = 'DISABLE'
    LogShipping = 'ON'
    PreferredApplyInstance = ''
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO'
    StandbyFileManagement = 'AUTO'
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = '4'
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = ''
    LogFileNameConvert = ''
    FastStartFailoverTarget = ''
    StatusReport = '(monitor)'
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    HostName(*)
    SidName(*)
    StaticConnectIdentifier(*)
    StandbyArchiveLocation(*)
    AlternateLocation(*)
    LogArchiveTrace(*)
    LogArchiveFormat(*)
    LatestLog(*)
    TopWaitEvents(*)
    (*) - Please check specific instance for the property value
    Current status for "cdpmt":
    Warning: ORA-16809: multiple warnings detected for the database
    Any help would be really appreciated. Thanks!
    Edited by: 972075 on Nov 19, 2012 3:09 PM

    Thanks MSEBERG,
    Here's what I found. FRA seems to have enough space on ASM and there are other logs there, not sure what the issue is:
    14:31:58 SYS: CDPMTSB> show parameter db_recovery
    NAME TYPE VALUE
    db_recovery_file_dest string +FRA_DG_01
    db_recovery_file_dest_size big integer 60G
    DGMGRL> show database CDPMTSB logxptstatus;
    LOG TRANSPORT STATUS
    PRIMARY_INSTANCE_NAME STANDBY_DATABASE_NAME STATUS
    CDPMTSB cdpmt
    DGMGRL> SHOW DATABASE CDPMTSB InconsistentProperties;
    INCONSISTENT PROPERTIES
    INSTANCE_NAME PROPERTY_NAME MEMORY_VALUE SPFILE_VALUE BROKER_VALUE
    DGMGRL> show database CDPMTSB InconsistentLogXptProps;
    INCONSISTENT LOG TRANSPORT PROPERTIES
    INSTANCE_NAME STANDBY_NAME PROPERTY_NAME MEMORY_VALUE BROKER_VALUE
    DGMGRL> show database CDPMT logxptstatus;
    Error: ORA-16757: unable to get this property's value
    DGMGRL> SHOW DATABASE CDPMT InconsistentProperties;
    INCONSISTENT PROPERTIES
    INSTANCE_NAME PROPERTY_NAME MEMORY_VALUE SPFILE_VALUE BROKER_VALUE
    CDPMT2 DbFileNameConvert DG_01/cdpmtsb, DG_01/cdpmt
    CDPMT2 LogFileNameConvert FRA_DG_01/cdpmtsb, FRA_DG_01/cdpmt, DG_01/cdpmtsb, DG_01/cdpmt
    CDPMT1 LogArchiveMaxProcesses 4 30 4
    CDPMT1 DbFileNameConvert DG_01/cdpmtsb, DG_01/cdpmt DG_01/cdpmtsb,DG_01/cdpmt
    CDPMT1 LogFileNameConvert FRA_DG_01/cdpmtsb, FRA_DG_01/cdpmt, DG_01/cdpmtsb, DG_01/cdpmt FRA_DG_01/cdpmtsb,FRA_DG_01/cdpmt,+DG_01/cdpmtsb,+DG_01/cdpmt
    DGMGRL> show database CDPMT InconsistentLogXptProps;
    Error: ORA-16757: unable to get this property's value
    Errors in the Alert (from Primary):
    ARCH: Archival error occurred on a closed thread. Archiver continuing
    ORACLE Instance CDPMTSB - Archival Error. Archiver continuing.
    Tue Nov 20 14:34:43 2012
    Changing destination 4 from remote to local during archival of log#: 3 sequence#: 4071 thread#: 2
    Changing destination 4 from remote to local during archival of log#: 3 sequence#: 4071 thread#: 2
    ARC6: LGWR is actively archiving destination LOG_ARCHIVE_DEST_2
    ARC6: Archive log rejected (thread 2 sequence 4071) at host 'cdpmt'
    Errors in file /data/oracle/app/oracle/diag/rdbms/cdpmtsb/CDPMTSB/trace/CDPMTSB_arc6_9571.trc:
    ORA-16401: archivelog rejected by RFS
    Errors in file /data/oracle/app/oracle/diag/rdbms/cdpmtsb/CDPMTSB/trace/CDPMTSB_arc6_9571.trc:
    ORA-16014: log 3 sequence# 4071 not archived, no available destinations
    ORA-00312: online log 3 thread 2: '+FRA_DG_01/cdpmtsb/onlinelog/group_3.291.799379949'
    ARCH: Archival error occurred on a closed thread. Archiver continuing
    ORACLE Instance CDPMTSB - Archival Error. Archiver continuing.
    DGMGRL> DGMGRL> show database verbose CDPMT
    Database
    Name: cdpmt
    Role: PHYSICAL STANDBY
    Enabled: YES
    Intended State: APPLY-ON
    Instance(s):
    CDPMT1
    CDPMT2 (apply instance)
    Properties:
    DGConnectIdentifier = 'cdpmt'
    ObserverConnectIdentifier = ''
    LogXptMode = 'ASYNC'
    DelayMins = '0'
    Binding = 'OPTIONAL'
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = '300'
    NetTimeout = '30'
    RedoCompression = 'DISABLE'
    LogShipping = 'ON'
    PreferredApplyInstance = ''
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO'
    StandbyFileManagement = 'AUTO'
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = '4'
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = ''
    LogFileNameConvert = ''
    FastStartFailoverTarget = ''
    StatusReport = '(monitor)'
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    HostName(*)
    SidName(*)
    StaticConnectIdentifier(*)
    StandbyArchiveLocation(*)
    AlternateLocation(*)
    LogArchiveTrace(*)
    LogArchiveFormat(*)
    LatestLog(*)
    TopWaitEvents(*)
    (*) - Please check specific instance for the property value
    Current status for "cdpmt":
    Warning: ORA-16809: multiple warnings detected for the database
    DGMGRL> show database verbose CDPMTSB
    Database
    Name: cdpmtsb
    OEM Name: CDPMTSB_devdb40.utd.com
    Role: PRIMARY
    Enabled: YES
    Intended State: TRANSPORT-ON
    Instance(s):
    CDPMTSB
    Properties:
    DGConnectIdentifier = 'cdpmtsb'
    ObserverConnectIdentifier = ''
    LogXptMode = 'ASYNC'
    DelayMins = '0'
    Binding = 'OPTIONAL'
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = '300'
    NetTimeout = '30'
    RedoCompression = 'DISABLE'
    LogShipping = 'ON'
    PreferredApplyInstance = ''
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO'
    StandbyFileManagement = 'AUTO'
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = '7'
    LogArchiveMinSucceedDest = '2'
    DbFileNameConvert = '+DG_01/cdpmt, +DG_01/cdpmtsb'
    LogFileNameConvert = '+FRA_DG_01/cdpmt, FRA_DG_01/cdpmtsb, DG_01/cdpmt, +DG_01/cdpmtsb'
    FastStartFailoverTarget = ''
    StatusReport = '(monitor)'
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    HostName = 'devdb40.utd.com'
    SidName = 'CDPMTSB'
    StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=devdb40.utd.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=CDPMTSB_DGMGRL)(INSTANCE_NAME=CDPMTSB)(SERVER=DEDICATED)))'
    StandbyArchiveLocation = '+FRA_DG_01/cdpmtsb/standbylog'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = '%t_%s_%r.dbf'
    LatestLog = '(monitor)'
    TopWaitEvents = '(monitor)'
    Current status for "cdpmtsb":
    SUCCESS
    Thanks for your help btw, I'm really at a loss here as to what is going on with this.

  • Standby database 10.2

    HI , I have problem with my standby database, all parameters are good work but in my alert log file have following error;
    ORA-16401: archivelog rejected by RFS, pls help me what the problem???
    On Primary: spfileORCL.ora
    *.control_files='/u01/oracle/oradata/orcl/control01.ctl','/u01/oracle/oradata/orcl/control02.ctl','/u01/oracle/oradata/orcl/control03.ctl'
    *.db_recovery_file_dest='/u01/oracle/flash_recovery_area'
    *.db_unique_name='BAKI'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.LOG_ARCHIVE_CONFIG='DG_CONFIG=(BAKI,LONDON)'
    *.LOG_ARCHIVE_DEST_1='LOCATION=/u02 VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=BAKI'
    *.LOG_ARCHIVE_DEST_2='SERVICE=LONDON LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=LONDON'
    *.LOG_ARCHIVE_DEST_STATE_1=enable
    *.LOG_ARCHIVE_DEST_STATE_2=enable
    *.LOG_ARCHIVE_FORMAT=%t_%s_%r.arc
    *.FAL_SERVER=LONDON
    *.FAL_CLIENT=BAKI
    *.STANDBY_FILE_MANAGEMENT=AUTO
    *.SERVICE_NAMES=BAKI
    ON my standby database spfileORCL.ora
    *.control_files='/u01/oracle/oradata/orcl/stanctl.ctl'
    *.db_recovery_file_dest='/u01/oracle/flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.remote_login_passwordfile='EXCLUSIVE'
    *.db_unique_name='LONDON'
    *.LOG_ARCHIVE_CONFIG='DG_CONFIG=(BAKI,LONDON)'
    *.LOG_ARCHIVE_DEST_1='LOCATION=/u02 VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=BAKI'
    *.LOG_ARCHIVE_DEST_2='SERVICE=BAKI LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=BAKI'
    *.LOG_ARCHIVE_DEST_STATE_1=enable
    *.LOG_ARCHIVE_DEST_STATE_2=enable
    *.LOG_ARCHIVE_FORMAT=%t_%s_%r.arc
    *.FAL_SERVER=BAKI
    *.FAL_CLIENT=LONDON
    *.STANDBY_FILE_MANAGEMENT=AUTO
    *.SERVICE_NAMES=LONDON
    all connections work well:
    SQL> conn sys/sys@BAKI as sysdba
    Connected.
    SQL>
    SQL> conn sys/sys@LONDON as sysdba
    Connected.
    SQL>
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    OS: SUSE 10

    Primary :
    alert_log:
    Errors in file /u01/oracle/admin/orcl/bdump/orcl_arc0_8465.trc:
    ORA-16401: archivelog rejected by RFS
    orcl_arc0_8465.trc:
    Error 16401 creating standby archive log file at host 'LONDON'
    ORA-16401: archivelog rejected by RFS
    kcrrwkx: work to do 0x2 (end)
    Error 16401 creating standby archive log file at host 'LONDON'
    ORA-16401: archivelog rejected by RFS
    kcrrwkx: nothing to do (end)
    kcrrwkx: nothing to do (end)
    kcrrwkx: nothing to do (end)
    *** 2009-09-08 12:32:06.342
    tkcrrsarc: (WARN) Failed to find ARCH for message (message:0xa)
    tkcrrpa: (WARN) Failed initial attempt to send ARCH message (message:0xa)
    tkcrrsarc: (WARN) Failed to find ARCH for message (message:0x2)
    tkcrrpa: (WARN) Failed initial attempt to send ARCH message (message:0x2)
    kcrrwkx: work to do 0x2 (end)
    Error 16401 creating standby archive log file at host 'LONDON'
    ORA-16401: archivelog rejected by RFS
    kcrrwkx: work to do 0x2 (end)
    Error 16401 creating standby archive log file at host 'LONDON'
    ORA-16401: archivelog rejected by RFS
    kcrrwkx: nothing to do (end)
    kcrrwkx: nothing to do (end)
    kcrrwkx: nothing to do (end)
    Standby:
    alert_log
    Tue Sep 8 12:19:28 2009
    Errors in file /u01/oracle/admin/orcl/udump/orcl_rfs_5463.trc:
    ORA-16401: archivelog rejected by RFS
    RFS[4]: Archivelog thread 1 sequence 7 cannot be reused
    Tue Sep 8 12:19:28 2009
    Errors in file /u01/oracle/admin/orcl/udump/orcl_rfs_5463.trc:
    ORA-16401: archivelog rejected by RFS
    Tue Sep 8 12:19:31 2009
    ARC1: Archiving not possible: No primary destinations
    ARC1: Failed to archive thread 1 sequence 6 (4)
    orcl_rfs_5463.trc:
    ORA-16401: archivelog rejected by RFS
    *** 2009-09-08 12:20:28.159
    KCRRFLAS
    KCRRSNPS
    *** 2009-09-08 12:20:28.162 60679 kcrr.c
    RFS[4]: Archivelog thread 1 sequence 6 cannot be reused
    This problem can occur as the result of multiple primary and/or
    standby database(s) trying to archive to this standby database.
    This is not allowed, since successfully completed archivelogs
    would be overwritten.
    ORA-16401: archivelog rejected by RFS
    *** 2009-09-08 12:20:28.165 60679 kcrr.c
    RFS[4]: Archivelog thread 1 sequence 7 cannot be reused
    This problem can occur as the result of multiple primary and/or
    standby database(s) trying to archive to this standby database.
    This is not allowed, since successfully completed archivelogs
    would be overwritten.
    ORA-16401: archivelog rejected by RFS

  • Standby db: continue manualluy alter database register logfile

    Hi,
    in my standby db 10.2.0.4, on linux platform, some archive log are not register properly and i need to perform the register logfile manually.
    Which test a can i do to solve this problem?
    Thank you.

    This is my standby alert log:
    -- Connected User is Valid
    RFS[10]: Assigned to RFS process 26620
    RFS[10]: Identified database type as 'physical standby'
    Tue Sep 14 05:05:58 2010
    Errors in file /oracle/admin/orcl/udump/orcl1_rfs_26620.trc:
    ORA-16401: archivelog rejected by RFS
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[11]: Assigned to RFS process 26622
    RFS[11]: Identified database type as 'physical standby'
    Tue Sep 14 05:05:58 2010
    Errors in file /oracle/admin/orcl/udump/orcl1_rfs_26622.trc:
    ORA-16401: archivelog rejected by RFS
    Tue Sep 14 05:06:03 2010
    Media Recovery Log /database/arch/orcl/arc1_16195_326468442.ARC
    Media Recovery Waiting for thread 2 sequence 16536
    Tue Sep 14 05:20:46 2010
    alter database register logfile '/database/arch/orcl/arc2_16536_326468442.ARC'
    Tue Sep 14 05:20:46 2010
    There are 1 logfiles specified.
    ALTER DATABASE REGISTER [PHYSICAL] LOGFILE
    Resynchronizing thread 2 from sequence 16535 to 16536
    Completed: alter database register logfile '/database/arch/orcl/arc2_16536_326468442.ARC'
    Tue Sep 14 05:20:48 2010
    Media Recovery Log /database/arch/orcl/arc2_16536_326468442.ARC
    Tue Sep 14 05:21:07 2010
    Media Recovery Log /database/arch/orcl/arc1_16196_326468442.ARC
    Media Recovery Log /database/arch/orcl/arc1_16197_326468442.ARC
    Media Recovery Log /database/arch/orcl/arc1_16198_326468442.ARC
    Media Recovery Waiting for thread 1 sequence 16199
    Tue Sep 14 05:45:29 2010
    RFS[6]: Archived Log: '/database/arch/orcl/arc1_16199_326468442.ARC'
    Tue Sep 14 05:45:29 2010
    RFS[8]: Archived Log: '/database/arch/orcl/arc1_16200_326468442.ARC'
    Tue Sep 14 05:45:29 2010
    RFS[6]: Archived Log: '/database/arch/orcl/arc1_16201_326468442.ARC'
    Tue Sep 14 05:45:40 2010
    Media Recovery Log /database/arch/orcl/arc1_16199_326468442.ARC
    Media Recovery Waiting for thread 2 sequence 16537
    Tue Sep 14 06:00:05 2010
    alter database register logfile '/database/arch/orcl/arc2_16537_326468442.ARC'
    Tue Sep 14 06:00:05 2010
    There are 1 logfiles specified.
    ALTER DATABASE REGISTER [PHYSICAL] LOGFILE
    alter database register are performed from a scheduled shell script that check log from V$ARCHIVED_LOG

  • ORA-326/ORA-334 Physical Standby DB - Not applying logs

    Hi, all, I have a Dataguard, the primary db is a RAC with three nodes, the standby db is a physical standby. the dataguard are all oracle 10.2.0.3 on solaris 9 sparc system
    Now, my standby db did not apply the archivelogs,there are some errors in standby alert log :
    Thu Jan 8 15:44:31 2009
    Errors in file /oracle/admin/xxxx/bdump/whut_mrp0_12863.trc:
    ORA-00326:log begins at change 2984028173, need earlier change 2984013192
    ORA-00334:archived log '+DGARCH/whut/3_22648_611942629.dbf'
    Managed Standby Recovery not using Real Time Apply
    Recovery interrupted!
    Thu Jan 8 15:44:34 2009
    Errors in file /export/home/oracle/admin/whut/bdump/whut_mrp0_12863.trc:
    ORA-00326:log begins at change 2984028173, need earlier change 2984013192
    ORA-00334:archived log '+DGARCH/whut/3_22648_611942629.dbf'
    Thu Jan 8 15:44:34 2009
    MRP0: Background Media Recovery process shutdown (whut)
    and the archivelogs on the standby db like this :
    NAME APP DEL
    +DGARCH/whut/3_22651_611942629.dbf                           NO  NO
    +DGARCH/whut/3_22650_611942629.dbf                           NO  NO
    +DGARCH/whut/3_22649_611942629.dbf                           NO  NO
    +DGARCH/whut/3_22648_611942629.dbf                           NO  NO
    +DGARCH/whut/3_22648_611942629.dbf                           NO  NO
    +DGARCH/whut/3_22648_611942629.dbf                           NO  YES
    +DGARCH/whut/3_22291_611942629.dbf                           YES YES
    +DGARCH/whut/2_62553_611942629.dbf                           NO  NO
    +DGARCH/whut/2_62552_611942629.dbf                           NO  NO
    +DGARCH/whut/2_62551_611942629.dbf                           NO  NO
    +DGARCH/whut/2_62550_611942629.dbf                           NO  NO
    query the first_change# on the standby db like this :
    SEQUENCE# FIRST_CHANGE# APP ARC
    22646 2983721221 NO YES
    22647 2983911304 NO YES
    22648 2984028173 NO YES
    23813 2984013365 NO YES
    23814 2984118027 NO YES
    62546 2984027708 NO YES
    SEQUENCE# FIRST_CHANGE# APP ARC
    62547 2984163823 NO YES
    23815 2984132128 NO YES
    23816 2984312713 NO YES
    62548 2984255538 NO YES
    62549 2984312692 NO YES
    22649 2984028196 NO YES
    23817 2984351070 NO YES
    then ,how to fix the dataguard and apply the archivelog on standby db ?
    why I can found 2984028173 with 22648,but can not found 2984013192 ??
    and why there have three 22648 with different applied status and deleted status on standby db ???
    Thanks all.

    Thank you for your reply.
    the trc file like this:
    /oracle/admin/xxx/bdump/xxx_mrp0_12863.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /oracle/product/10.2.0/database
    System name:     SunOS
    Node name:     stdb
    Release:     5.9
    Version:     Generic_122300-25
    Machine:     sun4u
    Instance name: xxx
    Redo thread mounted by this instance: 1
    Oracle process number: 27
    Unix process pid: 12863, image: oracle@stdb (MRP0)
    *** SERVICE NAME:() 2009-01-08 15:44:24.179
    *** SESSION ID:(197.3) 2009-01-08 15:44:24.179
    ARCH: Connecting to console port...
    *** 2009-01-08 15:44:24.180 61287 kcrr.c
    MRP0: Background Managed Standby Recovery process started
    *** 2009-01-08 15:44:29.191 1103 krsm.c
    Managed Recovery: Initialization posted.
    *** 2009-01-08 15:44:29.192 61287 kcrr.c
    Managed Standby Recovery starting Real Time Apply
    Recovery target incarnation = 5, activation ID = 721050634
    Influx buffer limit = 152383 (50% x 304766)
    Successfully allocated 3 recovery slaves
    Using 367 overflow buffers per recovery slave
    Start recovery at thread 3 ckpt scn 2984013192 logseq 22648 block 2
    *** 2009-01-08 15:44:31.181
    Media Recovery add redo thread 3
    *** 2009-01-08 15:44:31.181
    Media Recovery add redo thread 1
    *** 2009-01-08 15:44:31.182
    Media Recovery add redo thread 2
    *** 2009-01-08 15:44:31.184 1103 krsm.c
    Managed Recovery: Active posted.
    *** 2009-01-08 15:44:31.838
    Media Recovery Log +DGARCH/whut/3_22648_611942629.dbf
    *** 2009-01-08 15:44:31.851 61287 kcrr.c
    MRP0: Background Media Recovery terminated with error 326
    ORA-00326: log begin at 2984028173, need earlier 2984013192
    ORA-00334: archivelog: '+DGARCH/whut/3_22648_611942629.dbf'
    *** 2009-01-08 15:44:31.851 61287 kcrr.c
    Managed Standby Recovery not using Real Time Apply
    *** 2009-01-08 15:44:31.851
    Media Recovery drop redo thread 3
    *** 2009-01-08 15:44:31.851
    Media Recovery drop redo thread 1
    *** 2009-01-08 15:44:31.851
    Media Recovery drop redo thread 2
    *** 2009-01-08 15:44:34.269 1103 krsm.c
    Managed Recovery: Not Active posted.
    ORA-00326: log begin at 2984028173,need earlier 2984013192
    ORA-00334: archivelog: '+DGARCH/whut/3_22648_611942629.dbf'
    ARCH: Connecting to console port...
    *** 2009-01-08 15:44:34.359 61287 kcrr.c
    MRP0: Background Media Recovery process shutdown
    *** 2009-01-08 15:44:34.359 1103 krsm.c

  • RMAN not able to restore archive logs from net backup

    Hello Everybody,
    While trying to restore a datafile and then recover the database, RMAN failed with the following error stack.
    RMAN-03002: failure of recover command at 12/05/2007 09:19:24
    ORA-19870: error reading backup piece arch-s110-p1
    ORA-19615: some files not found in backup set
    ORA-19614: archivelog thread 1 sequence 231 not found in backup set
    ORA-19614: archivelog thread 1 sequence 230 not found in backup set
    ORA-19614: archivelog thread 1 sequence 229 not found in backup set
    But when I do a crosscheck the status is shown as Available. We are using net backup as MML.
    Could you please suggest any alternatives to solve this issue.
    Regards
    Satish V Chandran

    Give some other location than /tmp and see if it works.

  • Rman windows batch

    Dear all,
    11.2.0.2 on windows 2008
    Batch script :
    set DD=%date:~-4%%date:~4,2%%date:~7,2%%time:~0,2%%time:~3,2%%time:~6,2%
    set O=E:\rbkp\medt\data\medt%DD%
    mkdir %O%
    e:
    cd %O%
    rem Here's a one-line NT command (but a LONG line!)
    rem one that splits all the date parts out, putting
    set logfile=E:\rbkp\medt\log\medt_RMAN_%DD%.log
    rman nocatalog target sys/oracle@medt @c:\script\rbkp\rman_medt.sql msglog %logfile%
    echo "medt Backup Completed backup"this script calls this script rman_medt.sql
    run{
    backup full database format 'ISDB_t%t_s%s_p%p';
    backup spfile format 'spfile_%d_%s%t%p.ora';
    backup archivelog all format 'medtARCH_%d_%s%t%p.arc';
    backup current controlfile format 'ISDBCNTR_t%t_s%s_p%p';
    configure controlfile autobackup format for device type disk clear;
    configure controlfile autobackup clear;
    }.. the problem is that it has to write into the directory O=E:\rbkp\medt\data\medt%DD%
    but it is not, it iw writing into the ORACLE_HOME/database. log files are getting created in the dir %logfile% as required, but the backup pieces
    are not..
    Please advise

    KaiS wrote:
    Dear all,
    11.2.0.2 on windows 2008
    Batch script :
    set DD=%date:~-4%%date:~4,2%%date:~7,2%%time:~0,2%%time:~3,2%%time:~6,2%
    set O=E:\rbkp\medt\data\medt%DD%
    mkdir %O%
    e:
    cd %O%
    rem Here's a one-line NT command (but a LONG line!)
    rem one that splits all the date parts out, putting
    set logfile=E:\rbkp\medt\log\medt_RMAN_%DD%.log
    rman nocatalog target sys/oracle@medt @c:\script\rbkp\rman_medt.sql msglog %logfile%
    echo "medt Backup Completed backup"this script calls this script rman_medt.sql
    run{
    backup full database format 'ISDB_t%t_s%s_p%p';
    backup spfile format 'spfile_%d_%s%t%p.ora';
    backup archivelog all format 'medtARCH_%d_%s%t%p.arc';
    backup current controlfile format 'ISDBCNTR_t%t_s%s_p%p';
    configure controlfile autobackup format for device type disk clear;
    configure controlfile autobackup clear;
    And why are you clearing the controlfile autobackup? And why are you doing it every time the script runs?
    >
    .. the problem is that it has to write into the directory O=E:\rbkp\medt\data\medt%DD%
    but it is not, it iw writing into the ORACLE_HOME/database. log files are getting created in the dir %logfile% as required, but the backup pieces
    are not..
    Please advise

  • ORA-03135: connection lost contact , Archivelogs not shipping automatically

    hi to all,
    I m trying to setup oracle dataguard for 10G ; both primary and standby databases are in 10GR2(10.2.0.4).
    Archivelogs are not shipping automatically.tnsping to PROD_STBY working fine. Neither Bandwidth issue nor firewall issue.
    pfile has following entry :log_archive_dest_2='SERVICE=PROD_STBY reopen=60'
    When we do following command on Primary
    SQL> select status, Error from v$archive_dest where dest_id=2;
    STATUS ERROR
    ERROR ORA-03135: connection lost contact
    Following is the alert log:
    ORACLE Instance PROD - Archival Error. Archiver continuing.
    Thu Dec 9 08:37:06 2010
    Errors in file /oracle/PROD/saptrace/background/PROD_arc0_12394.trc:
    ORA-03135: connection lost contact
    Thu Dec 9 08:37:06 2010
    FAL[server, ARC0]: FAL archive failed, see trace file.
    Thu Dec 9 08:37:06 2010
    Errors in file /oracle/PROD/saptrace/background/PROD_arc0_12394.trc:
    ORA-16055: FAL request rejected
    ARCH: FAL archive failed. Archiver continuing
    Thu Dec 9 08:37:06 2010
    ORACLE Instance PROD - Archival Error. Archiver continuing.
    Trace file:
    Error 1041 detaching RFS from standby instance at host 'PROD_STBY.WORLD'
    kcrrwkx: unknown error:3135
    ORA-16055: FAL request rejected
    ARCH: Connecting to console port...
    ARCH: Connecting to console port...
    *** 2010-12-09 08:37:03.850
    Redo shipping client performing standby login
    *** 2010-12-09 08:37:03.930 66535 kcrr.c
    Logged on to standby successfully
    Client logon and security negotiation successful!
    tkcrrsarc: (WARN) Failed to find ARCH for message (message:0x2)
    tkcrrpa: (WARN) Failed initial attempt to send ARCH message (message:0x2)
    ABC: tkrsf_al_read: No mirror copies to re-read data
    ARCH : Error 3135 sending stashed buffer
    ORA-03135: connection lost contact
    *** 2010-12-09 08:37:06.015 60970 kcrr.c
    kcrrfail: dest:2 err:3135 force:0 blast:1
    Error 1041 detaching RFS from standby instance at host 'PROD_STBY.WORLD'
    kcrrwkx: unknown error:3135
    ORA-16055: FAL request rejected
    ARCH: Connecting to console port...
    Thanks & Regards
    Dhaanshree

    Hi,
    according to the errors in your trace file you might be hitting the following bugs:
    Bug 6074620  LGWR unconditionally writes to trace file
    Bug 7936993  10.2.0.4 Data Guard Physical Recommended Patch Bundle #1Please also look at MOS note:
    Step By Step Guide To Create Physical Standby Database Using RMAN [ID 469493.1]and make sure your setup is correct.
    Regards.

  • ORA-16055: FAL request rejected

    hi all,
    I am getting the error "ORA-16055: FAL request rejected" in the alert log file , I dont know what is the reason behind this error , archivelog shipping in to the standby database is going good, but i am getting the above stated error. My management is shouting at me ,
    the last few lines of alert log error part is given below...
    Wed Apr 20 15:38:53 2011
    Errors in file /oracle/app/oracle/admin/gcprod/bdump/gcprod1_arc2_274852.trc:
    ORA-16055: FAL request rejected
    ARCH: FAL archive failed. Archiver continuing
    Regards,
    Vamsi.
    please suggest me with solution
    Regards,
    NCV.Subhash.

    Trace file D:\ORACLE11G\diag\rdbms\CAMP\CAMP\trace\CAMP_arc4_5288.trc
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Windows NT Version V5.2 Service Pack 2
    CPU : 8 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:6364M/8186M, Ph+PgF:18351M/20271M, VA:2146M/3029M
    Instance name: CAMP
    Redo thread mounted by this instance: 1
    Oracle process number: 25
    Windows thread id: 5288, image: ORACLE.EXE (ARC4)
    *** 2011-07-18 13:46:26.907
    *** SESSION ID:(534.1) 2011-07-18 13:46:26.907
    *** CLIENT ID:() 2011-07-18 13:46:26.907
    *** SERVICE NAME:(SYS$BACKGROUND) 2011-07-18 13:46:26.907
    *** MODULE NAME:() 2011-07-18 13:46:26.907
    *** ACTION NAME:() 2011-07-18 13:46:26.907
    Setting trace level: 20 (0x14)
    Setting trace level: 20 (14)
    FAL[server]: FAL archive in INITIALIZE state
    Disconnecting from destination LOG_ARCHIVE_DEST_2 standby host 'CAMD' to RFS pid [0] instnum [0]
    OCI HANDLE[kcrrwupilof_BEGIN]:ocis=0x0EFCB60C, svrhp=0x00000000, svchp=0x00000000, errhp=0x00000000, authhp=0x00000000
    OCI HANDLE[kcrrwupilof_END]:ocis=0x0EFCB60C, svrhp=0x00000000, svchp=0x00000000, errhp=0x00000000, authhp=0x00000000
    Connecting to destination LOG_ARCHIVE_DEST_2 standby host 'CAMD'
    Redo shipping client performing standby login
    OCI HANDLE[kcrrwupilog_BEGIN]:ocis=0x0EFCB60C, svrhp=0x00000000, svchp=0x00000000, errhp=0x00000000, authhp=0x00000000
    OCI HANDLE[kcrrwupilog_END]:ocis=0x0EFCB60C, svrhp=0x0F304A30, svchp=0x0EF076D8, errhp=0x0EF07790, authhp=0x0EFC8B90
    *** 2011-07-18 13:46:27.079 4013 krsu.c
    Logged on to standby successfully
    Client logon and security negotiation successful!
    Attaching RFS server to standby instance at 'CAMD'
    OCI HANDLE[kcrrwupirfs]:ocis=0x0EFCB60C, svrhp=0x0F304A30, svchp=0x0EF076D8, errhp=0x0EF07790, authhp=0x0EFC8B90
    Issuing standby Create archive destination at 'CAMD' to RFS pid [804] instnum [1]
    OCI HANDLE[kcrrwupirfs]:ocis=0x0EFCB60C, svrhp=0x0F304A30, svchp=0x0EF076D8, errhp=0x0EF07790, authhp=0x0EFC8B90
    OCI HANDLE[kcrrwupinbls]:ocis=0x0EFCB60C, svrhp=0x0F304A30, svchp=0x0EF076D8, errhp=0x0EF07790, authhp=0x0EFC8B90
    FAL[server]: FAL archive in SPOOL state
    Archiving block 1 count 8192 block(s) to 'CAMD'
    *** 2011-07-18 13:46:27.141 748 krsu.c
    Issuing standby archive of block 1 count 8192 to 'CAMD' to RFS pid [804] instnum [1]
    OCI HANDLE[kcrrwupirfs]:ocis=0x0EFCB60C, svrhp=0x0F304A30, svchp=0x0EF076D8, errhp=0x0EF07790, authhp=0x0EFC8B90
    krsb_stream_send: Error 3113 sending stream IOV
    RFS network connection lost at host 'CAMD' error 3113
    Disconnecting from destination LOG_ARCHIVE_DEST_2 standby host 'CAMD' to RFS pid [804] instnum [1]
    OCI HANDLE[kcrrwupilof_BEGIN]:ocis=0x0EFCB60C, svrhp=0x0F304A30, svchp=0x0EF076D8, errhp=0x0EF07790, authhp=0x0EFC8B90
    OCI HANDLE[kcrrwupilof_END]:ocis=0x0EFCB60C, svrhp=0x00000000, svchp=0x00000000, errhp=0x00000000, authhp=0x00000000
    Error 3113 writing standby archive log file at host 'CAMD'
    *** 2011-07-18 13:46:27.157 1117 krsh.c
    ARC4: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (3113)
    *** 2011-07-18 13:46:27.157 1117 krsh.c
    ARC4: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
    ORA-03113: end-of-file on communication channel
    *** 2011-07-18 13:46:27.157 27631 kcrr.c
    kcrrfail: dest:2 err:3113 force:0 blast:1
    FAL[server]: FAL archive is INCOMPLETE
    FAL[server]: FAL archive failed
    kcrrwkx: unknown error:3113
    ORA-16055: FAL request rejected
    Edited by: 825766 on Jul 18, 2011 11:50 AM

  • ORA-12533 & ORA-16055: FAL request rejected

    Hi.
    I'm trying to implement a DataGuard on Solaris 10 x64, but when I'm linking a physical standby database with the Primary database, always have the next error:
    ORA-12533: TNS:illegal ADDRESS parameters
    FAL[server, ARCh]: Error 12533 creating remote archivelog file '(DESCRIPTION=(ADDRESS_LIST=)(CONNECT_DATA=(SERVICE_NAME=dbb_XPT)(SERVER=dedicated)))'
    FAL[server, ARCh]: FAL archive failed, see trace file.
    Tue Aug 19 19:05:58 2008
    Errors in file /data/oracle/product/admin/dbp/bdump/dbp_arch_4949.trc:
    ORA-16055: FAL request rejected
    PING[ARC0]: Heartbeat failed to connect to standby '(DESCRIPTION=(ADDRESS_LIST=)(CONNECT_DATA=(SERVICE_NAME=dbb_XPT)(SERVER=dedicated)))'. Error is 12533.
    The tnsnames.ora of production server have:
    DBP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = prod server ip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = dbp_XPT)
    DBB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby server ip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = dbb_XPT)
    The tnsnames.ora of standby server have:
    DBP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = prod server ip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = dbp_XPT)
    DBB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby server ip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = dbb)
    DBB_DGMGRL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby server ip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = dbb_DGMGRL)
    LISTENER_DBB =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby server ip)(PORT = 1521))
    Thanks for your help.

    I's solved my problem.
    All the problem is in the hosts files.
    Thanks

  • How do I clone a database but still apply old archivelogs? Getting ORA-1223

    Hi,
    I'm doing a clone from PROD to DEV in 9.2.0.6 for 11.5.10.2 on Solaris 9. I worked through many issues, such as copying the files, changing the init<SID>.ora to the new DEV values, re-editing all of the env files with the new SID on the new (target) machine name, etc.
    The data is about 2 weeks old and so I was hoping to not only recover this database during the clone, but ALSO roll forward, applying all of the old archive logs to date. (Nothing changed in the middle tier save for a few
    paramaters in the xml file which I've already edited).
    Normally when I'm cloning -- I do it with fresh/recent data files so I don't care about reseting the archivelogs, I just reset them and say si-a-nerra!
    But.... now I am trying to both change the database name (SID) and apply a bunch of archvie logs (about 2 weeks worth). Note: I also recreate the control file as part of my whole process too.
    Here's the problem I am having -- after doing a startup nomount in the new location (with my new environment files, data files, etc all in place) and
    then doing @recreate.sql (which is the edited control file script from the 'backup controlfile to trace' on prod) I am getting this message:
    SQL> @recreate.sql
    CREATE CONTROLFILE SET DATABASE "DEV11i" NORESETLOGS
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01223: RESETLOGS must be specified to set a new database name
    - well OK this message makes sense to me - yes I could easily just keep the new name and say RESETLOGS, but I don't want to do this !!! I want to set the new name for the clone, and keep the logs unset so that I can then recover until cancel, applying my 2 weeks worth of logs.
    - What is the solution? Do I have to just bite the bullet and do RESETLOGS instead? (and in effect make my recovery practice seperate from my current cloning tasks)
    - Or should I change everything back to the old (original name) LIVE11i (for Prod), including the env files, data files etc .. on the new (target) machine.., recover the database completely (maybe even disconnect it from the network and rename the (target) machine to the old prod server name), and then do another whole procedure (which I'd have to find - but I know it's similar) for changing the SID...
    Please help. Thanks in advance! Marvin.
    Message was edited by:
    umfan866

    Oviwan,
    Because of getting the error message, the recreate controlfile has not
    gone through, thus I have not yet reset the logs.
    What I'm going to do for now is in fact change the script to SET
    the new name for DEV11i and RESET the logs, just to test my clone. The
    data will be 2 weeks out of date, but I'll have verified that my files from tape
    work (these files had come of the tape, and are now 2 weeks old).
    To make the DB fresher, I can just re-clone with RESET using last night's
    hot backup from PROD. That'll freshen DEV's files up no problem.
    I had wanted to test all these archive logs and see if they apply nicely,
    but I'll just have do that on a separate box (disconnected from the network)
    where I keep the DB name and machine name the same as prod.
    Thanks for your help! Marvin.

  • SQL*Loader- Records Rejected - Error on table ORA-01722: invalid number

    Getting the following errors :
    Please tell me where I am going wrong?
    Attached is the log file and snippets of datafile along with the control file !!
    Also please direct me how can i upload 4900 records at one go?
    SQL*Loader: Release 11.1.0.7.0 - Production on Fri Oct 14 03:06:06 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Control File: sample.ctl
    Data File: Cities.csv
    Bad File: Cities.bad
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array: 64 rows, maximum of 256000 bytes
    Continuation: none specified
    Path used: Conventional
    Table CITY, loaded from every logical record.
    Insert option in effect for this table: INSERT
    Column Name Position Len Term Encl Datatype
    ID FIRST * , CHARACTER
    NAME NEXT 35 , ' CHARACTER
    COUNTRYCODE NEXT 3 , ' CHARACTER
    POPULATION NEXT * WHT CHARACTER
    Record 1: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 2: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 3: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 4: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 5: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 6: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 7: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 8: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 9: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 10: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 11: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 12: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 13: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 14: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 15: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 16: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 17: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 18: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 19: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 20: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 21: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 22: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 23: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 24: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 25: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 26: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 27: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 28: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 29: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 30: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 31: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 32: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 33: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 34: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 35: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 36: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 37: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 38: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 39: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 40: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 41: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 42: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 43: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 44: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 45: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 46: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 47: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 48: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 49: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 50: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 51: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    MAXIMUM ERROR COUNT EXCEEDED - Above statistics reflect partial run.
    Table CITY:
    0 Rows successfully loaded.
    51 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Space allocated for bind array: 35840 bytes(64 rows)
    Read buffer bytes: 1048576
    Total logical records skipped: 0
    Total logical records read: 64
    Total logical records rejected: 51
    Total logical records discarded: 0
    Run began on Fri Oct 14 03:06:06 2011
    Run ended on Fri Oct 14 03:06:12 2011
    Elapsed time was: 00:00:06.18
    CPU time was: 00:00:00.03
    my control file (sample.ctl):
    load data infile 'Cities.csv'
    into table city
    fields terminated by ','
    (id integer external,
    name char(35) enclosed by "'",
    countrycode char(3) enclosed by "'",
    population integer external terminated by '\n'
    my datafile (Cities.csv) (it contains 4900 records, but I am showing here just 4 records for ease)
    3830,'Virginia Beach','USA',425257
    3831,'Atlanta','USA',416474
    3832,'Sacramento','USA',407018
    3833,'Oakland','USA',399484
    Thanks in advance!!

    Look that when I change a little bit your datafile as follows
    1,'Kabul','AFG',1780000
    2,'Qandahar','AFG','237500'
    3,'Herat','AFG','186800'  I got the same error (2 last rows rejected for the same error invalid number)
    mhouri > select * from cities;
            ID NAME                                COU POPULATION
             1 Kabul                               AFG    1780000
    SQL*Loader: Release 10.2.0.3.0 - Production on Fri Oct 14 10:38:06 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Control File:   cities.ctl
    Data File:      cities.dat
      Bad File:     cities.bad
      Discard File:  none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array:     64 rows, maximum of 256000 bytes
    Continuation:    none specified
    Path used:      Conventional
    Table CITIES, loaded from every logical record.
    Insert option in effect for this table: INSERT
       Column Name                  Position   Len  Term Encl Datatype
    ID                                  FIRST     *   ,       CHARACTER           
    NAME                                 NEXT    35   ,    '  CHARACTER           
    COUNTRYCODE                          NEXT     3   ,    '  CHARACTER           
    POPULATION                           NEXT     *  WHT      CHARACTER           
    Record 4: Rejected - Error on table CITIES, column ID.
    Column not found before end of logical record (use TRAILING NULLCOLS)
    Record 2: Rejected - Error on table CITIES, column POPULATION.
    ORA-01722: invalid number
    Record 3: Rejected - Error on table CITIES, column POPULATION.
    ORA-01722: invalid number
    Table CITIES:
      1 Row successfully loaded.
      3 Rows not loaded due to data errors.
      0 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
    Space allocated for bind array:                  35840 bytes(64 rows)
    Read   buffer bytes: 1048576
    Total logical records skipped:          0
    Total logical records read:             4
    Total logical records rejected:         3
    Total logical records discarded:        0
    Run began on Fri Oct 14 10:38:06 2011
    Run ended on Fri Oct 14 10:38:06 2011
    Elapsed time was:     00:00:00.23
    CPU time was:         00:00:00.09Population value within the data file should be a number
    Best regards
    Mohamed Houri

  • ORA-30653: reject limit reached

    Hello All,
    Today we have encountered the following errors in our alert log file
    ORA-20011: Approximate NDV failed: ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-30653: reject limit reached
    when we checked the log in detail we got this through dbms_gather_stats procedure can any body suggest how to fix this issue.
    Thanks,
    S@ntosh

    psantosh wrote:
    Hello All,
    Today we have encountered the following errors in our alert log file
    ORA-20011: Approximate NDV failed: ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-30653: reject limit reached
    when we checked the log in detail we got this through dbms_gather_stats procedure can any body suggest how to fix this issue.
    Thanks,
    S@ntoshrefer below link.
    http://dbarajabaskar.blogspot.in/2011/12/ora-20011-approximate-ndv-failed-ora.html

  • MANAGED RECOVERY AT STANDBY DATABASE REQURING OLD ARCHIVELOGS ORA-00308

    Oracle 9.2.0.4
    HP-UX 11.11i
    The database in Archivelog mode, single standby database in managed recovery
    mode.
    keeping standby in sync with manual applying the ARCHIVELOG from primary to
    standby database.
    primary database was 3 REDO log members of 100 MB with 1 member each.
    what i did, 1 drop and re-create the INACTIVE REDO group for all three, and
    make them
    5 REDO logs of 200 MB with 1 member each,
    then in order to keep fresh copy of primary database onto standby database, i
    send the cold backup after 15 days (last week) with standby controlfile.
    now, with that standby controlfile and the database, i can mount the database
    but while to open the database, receives messages as , it requiring the
    ARCHIVELOGS generated log time ago.
    changes the REDO groups from 3 to 5 and size 100 to 200 MB at INACTIVE state
    ### Workarounds Used ###
    SQL> alter database mount standby database;
    Database altered.
    SQL> alter database open read only;
    alter database open read only
    ERROR at line 1:
    ORA-16004: backup database requires recovery
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/user01/oracle9i/oradata/iobasprd/system01.dbf'
    SQL> alter database recover automatic standby database;
    alter database recover automatic standby database
    ERROR at line 1:
    ORA-00279: change 1655989696 generated at 08/12/2005 12:46:25 needed for thread
    1
    ORA-00289: suggestion :
    /user02/oracle9i/oradata/iobasprd/archive/archive_16849.dbf
    ORA-00280: change 1655989696 for thread 1 is in sequence #16849
    ORA-00278: log file
    '/user02/oracle9i/oradata/iobasprd/archive/archive_16849.dbf' no longer needed
    for this recovery
    ORA-00308: cannot open archived log
    '/user02/oracle9i/oradata/iobasprd/archive/archive_16849.dbf'
    ORA-27037: unable to obtain file status
    HP-UX Error: 2: No such file or directory
    Additional information: 3
    SQL> archive log list
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination /user02/oracle9i/oradata/iobasprd/archive
    Oldest online log sequence 53052
    Next log sequence to archive 53056
    Current log sequence
    53056
    -----------------------AlertIOBASPRD.log----------------------------
    alter database mount standby database
    Mon Oct 24 12:05:05 2005
    Successful mount of redo thread 1, with mount id 3283884781.
    Mon Oct 24 12:05:05 2005
    Standby Database mounted.
    Completed: alter database mount standby database
    Mon Oct 24 12:05:12 2005
    alter database open read only
    ORA-16004 signalled during: alter database open read only...
    Mon Oct 24 12:05:23 2005
    alter database recover automatic standby database
    Mon Oct 24 12:05:23 2005
    Media Recovery Start
    Starting datafile 1 recovery in thread 1 sequence 52617
    Datafile 1: '/user01/oracle9i/oradata/iobasprd/system01.dbf'
    Starting datafile 2 recovery in thread 1 sequence 52617
    Datafile 2: '/user01/oracle9i/oradata/iobasprd/TBMS_TS_005.dbf'
    Starting datafile 3 recovery in thread 1 sequence 52617
    Datafile 3: '/user01/oracle9i/oradata/iobasprd/drsys01.dbf'
    Starting datafile 4 recovery in thread 1 sequence 52617
    Datafile 132: '/user01/oracle9i/oradata/iobasprd/TBMS_TS_002.dbf'
    Starting datafile 133 recovery in thread 1 sequence 52617
    Datafile 133: '/user01/oracle9i/oradata/iobasprd/TBMS_TS_003.dbf'
    Starting datafile 134 recovery in thread 1 sequence 52617
    Datafile 134: '/user01/oracle9i/oradata/iobasprd/TBMS_TS_004.dbf'
    Media Recovery Log
    Media Recovery Log /user02/oracle9i/oradata/iobasprd/archive/archive_16849.dbf
    Errors with log /user02/oracle9i/oradata/iobasprd/archive/archive_16849.dbf.
    ORA-279 signalled during: alter database recover automatic standby database...
    Mon Oct 24 12:06:01 2005
    Restarting dead background process QMN0
    QMN0 started with pid=9
    The snap of alertIOBASPRD.log can understand me that it requiring the
    ARCHIVELOG 52617 only
    and its lying in LOG_ARCHIVE_DET location also as
    $ pwd
    /user02/oracle9i/oradata/iobasprd/archive
    $ ls archive_5261*.dbf
    archive_52610.dbf archive_52613.dbf archive_52616.dbf archive_52619.dbf
    archive_52611.dbf archive_52614.dbf archive_52617.dbf
    archive_52612.dbf archive_52615.dbf archive_52618.dbf
    $
    now, even the files are lying , why ORACLE requing the old archive logs ?????

    You haven't given any usefuly information on your problem.
    show parameter log_archive_dest
    show parameter fal
    show parameter dg
    What errors are in your alert logs ?
    What command are you using to recover ?
    Check the contents of v$archived_log
    # run on primary to detect failures :-
    select destination, status, fail_date, valid_now
    from v$archive_dest
    where status != 'VALID' or VALID_NOW != 'YES';
    # run on standby to get exact position of rollforward :-
    select thread#, to_char(snapshot_time,'dd-mon-yyyy:hh24:mi'),
    to_char(applied_time,'dd-mon-yyyy:hh24:mi'),
    to_char(newest_time,'dd-mon-yyyy:hh24:mi') from V$STANDBY_APPLY_SNAPSHOT;
    Are you using dataguard broker ?

Maybe you are looking for