Standby server - WAIT_FOR_GAP error

Hi,
I have a Oracle Dataguard 10.2 running on Windows and found a WAIT_FOR_GAP error on the standby server.
--> alert log of standby
Sun Jan 30 20:00:04 2011
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION
MRP0 started with pid=18, OS id=2452
Managed Standby Recovery not using Real Time Apply
parallel recovery started with 3 processes
Sun Jan 30 20:00:13 2011
Waiting for all non-current ORLs to be archived...
Clearing online redo logfile 10 E:\ORACLE\A30\ORIGLOGA\LOG_G10_M1.DBF
Clearing online log 10 of thread 1 sequence number 17848
Sun Jan 30 20:00:13 2011
Errors in file z:\oracle\a30\saptrace\background\a30_mrp0_2452.trc:
ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 10 thread 1: 'E:\ORACLE\A30\ORIGLOGA\LOG_G10_M1.DBF'
Clearing online redo logfile 10 complete
Media Recovery Log L:\ORACLE\A30\ORAARCH\A30ARCH\ARC17856_0681431456.001
Sun Jan 30 20:00:13 2011
Completed: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION
Sun Jan 30 20:00:33 2011
Media Recovery Waiting for thread 1 sequence 17857
Sun Jan 30 20:51:19 2011
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[636]: Assigned to RFS process 4976
RFS[636]: Identified database type as 'physical standby'
Primary database is in MAXIMUM PERFORMANCE mode
Primary database is in MAXIMUM PERFORMANCE mode
Sun Jan 30 20:51:20 2011
Fetching gap sequence in thread 1, gap sequence 17857-17863
Sun Jan 30 20:51:20 2011
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[637]: Assigned to RFS process 4012
RFS[637]: Identified database type as 'physical standby'
Sun Jan 30 20:52:20 2011
RFS[637]: Archived Log: 'L:\ORACLE\A30\ORAARCH\A30ARCH\ARC17864_0681431456.001'
Sun Jan 30 20:56:34 2011
FAL[client]: Failed to request gap sequence
GAP - thread 1 sequence 17857-17863
DBID 3371425568 branch 681431456
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.
Sun Jan 30 22:00:44 2011
RFS[636]: Archived Log: 'L:\ORACLE\A30\ORAARCH\A30ARCH\ARC17865_0681431456.001'
Primary database is in MAXIMUM PERFORMANCE mode
SQL> select process,sequence#,status from v$managed_standby;
PROCESS    SEQUENCE# STATUS
ARCH               0 CONNECTED
ARCH               0 CONNECTED
MRP0           17857 WAIT_FOR_GAP
RFS                0 IDLE
RFS                0 IDLE
RFS                0 IDLE
SQL> select * from v$archive_gap;
   THREAD# LOW_SEQUENCE# HIGH_SEQUENCE#
         1         17857          17863
SQL> select sequence#,applied from v$archived_log order by sequence#;
SEQUENCE# APP
     17855 YES
     17856 YES <--- Gap here
     17864 NO
     17865 NO
     17866 NO
     17867 NO
     17868 NO
     17869 NO
     17870 NO
     17871 NO
     17872 NO
SEQUENCE# APP
     17873 NO
     17874 NO
     17875 NO
     17876 NO
     17877 NO
     17878 NO
     17879 NO <--- Gap here
     17889 NO
     17890 NO
     17891 NO
     17892 NO
SEQUENCE# APP
     18067 NO
     18068 NO
     18069 NO
     18070 NO
     18071 NO
     18072 NO
4032 rows selected.
--> alert log of primary
Sun Jan 30 20:00:03 2011
Incremental checkpoint up to RBA [0x45c8.1f6c6.0], current log tail at RBA [0x45c8.1f7f5.0]
Sun Jan 30 20:05:04 2011
ALTER SYSTEM SET log_archive_dest_state_2='ENABLE' SCOPE=BOTH;
Sun Jan 30 20:30:11 2011
Incremental checkpoint up to RBA [0x45c8.201e2.0], current log tail at RBA [0x45c8.20215.0]
Sun Jan 30 20:51:12 2011
Destination LOG_ARCHIVE_DEST_2 is UNSYNCHRONIZED
LGWR: Setting 'active' archival for destination LOG_ARCHIVE_DEST_2
LNSb started with pid=50, OS id=1792
Sun Jan 30 20:51:19 2011
Destination LOG_ARCHIVE_DEST_2 no longer supports SYNCHRONIZATION
Beginning log switch checkpoint up to RBA [0x45c9.2.10], SCN: 276988485
Sun Jan 30 20:51:20 2011
Thread 1 advanced to log sequence 17865 (LGWR switch)
  Current log# 17 seq# 17865 mem# 0: F:\ORACLE\A30\ORIGLOGB\LOG_G17_M1.DBF
  Current log# 17 seq# 17865 mem# 1: E:\ORACLE\A30\MIRRLOGB\LOG_G17_M2.DBF
Sun Jan 30 20:51:20 2011
ARC1: LGWR is actively archiving destination LOG_ARCHIVE_DEST_2
Sun Jan 30 20:51:25 2011
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
Sun Jan 30 20:56:35 2011
Completed checkpoint up to RBA [0x45c9.2.10], SCN: 276988485

Hi,
I've seen that, if the following message persists for a long time, then it is an ERROR.
FAL[client]: Failed to request gap sequence GAP - thread 1 sequence 17857-17863 DBID 3371425568 branch 681431456 FAL[client]: All defined FAL servers have been attempted.
The possibility is that log shipping of 17857 is stuck. It is not stuck because of any network disconnect, as it is in the case you mentioned. It is probably due to the following.
The parameter LOG_ARCHIVE_DEST_1 on standby is set as L:\ORACLE\A30\ORAARCH\A30ARCH\ARC and STANDBY_ARCHIVE_DEST is also set to L:\ORACLE\A30\ORAARCH\A30ARCH\ARC. When a GAP is identified, standby database tries to pull the missing files FROM PRIMARY, and the in turn when you enable standby destination on primary (log_archive_dest_state_2 = enabled), it starts shipping logfiles on its OWN.
When such a situation occurs in a system when archived logs are generated at a high rate, it can happen that the file which standby is trying to pull is being pushed/already pushed by primary database. Then a conflict arise, and standby deletes the file and tries to pull it again...this may go on in a loop. (because the locations are SAME).
When i had this issue, I maintained different locations for  LOG_ARCHIVE_DEST_1 and STANDBY_ARCHIVE_DEST on standby database. After this is done, you will find that the logs shipped by primary are written in STANDBY_ARCHIVE_DEST. The file written in this location will be used by the standby database only when you do a managed recovery. If you are doing a manual recovery by issuing the command RECOVER STANDBY DATABASE; then, the stanbdby database will check if the file exists in LOG_ARCHIVE_DEST_1.
The point is, when there is BIG gap, then you have the option of doing the following procedure.
1. On the primary database keep LOG_ARCHIVE DESTSTATE_2 = enable
2. On the standby ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL.
3. Copy the missing archive logs sequence from the primary to standby's LOG_ARCHIVE_DEST_1 and perform manual recovery on standby untill the gap is over.
4. issue the command ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT to start managed recovery. ( This will use the files present in STANDBY_ARCHIVE_DEST ).
Hope the above procedure helps.
Note: If the GAP is not that big and you see that last applied log is advancing, then conflict is not there...standby will automatically fill the GAP. But it is advised to maintain different location for the parameters i mentioned.
Regards,
Anish
Edited by: Mohammed Anish on Feb 10, 2011 6:48 AM

Similar Messages

  • Error in standby server

    The standby server not receiving archivelogs continuesly . Scenario : in 10 files transmission,database transmitting only 7 or 8 files. remaining files i am copying maunally & then resolving the gap sequence .when i see alert log file in standby server I am geting an error like follows.what should i do?
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 152366-152366
    DBID 3500755944 branch 694072247
    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.
    -------------------------------------------------------------

    Post Operating System (OS) name & version for DB server system.
    Post results of
    SELECT * from v$version
    What clues exist in alert_SID.log file on Primary?

  • Manual\DGMGRL Switchover Standby ora-01033 error

    I have created a standby server for my SAP application as a part of test Disaster Recovery scenario. I can see the redo logs getting applied from primary to standby. However when I manually switchover the roles i encounters ORA -01033 error at NEW PRIMARY server and logs are also not getting applied in this scenario.
    When i again changes the roles it works fine. I am not sure what is cause of ORA -01033 error. Here are the detailed tnsnames.ora of both sites.
    Primary Server
    P11.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11.WORLD)
    TO_STANDBY.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.102)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = TO_STANDBY.WORLD)
    TO_PRIMARY.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = TO_PRIMARY.WORLD)
    LISTENER_P11.WORLD=(address=(protocol= tcp)(host=10.0.1.104)(port= 1527))
    Standby Site
    TO_PRIMARY.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = TO_PRIMARY.WORLD)
    P11.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11.WORLD)
    TO_STANDBY.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.102)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = TO_STANDBY.WORLD)
    LISTENER_P11.WORLD=(address=(protocol= tcp)(host=10.0.1.104)(port= 1527))
    Now , when i enable the DGMGRL configuration and add standby database at primary the " log_archive_dest_2=''" goes empty . Here is the pfile of primary after enable of the DGMGRL.
    pfile of Primary
    *._B_TREE_BITMAP_PLANS=FALSE
    *._IN_MEMORY_UNDO=FALSE
    *._INDEX_JOIN_ENABLED=FALSE
    *._OPTIM_PEEK_USER_BINDS=FALSE
    *._OPTIMIZER_MJC_ENABLED=FALSE
    *._SORT_ELIMINATION_COST_RATIO=10
    *._TABLE_LOOKUP_PREFETCH_SIZE=0
    *.archive_lag_target=0
    *.background_dump_dest='D:\oracle\P11\saptrace\background'
    *.compatible='10.2.0'
    *.control_file_record_keep_time=30
    *.control_files='D:\oracle\P11\origlogA\cntrl\cntrlP11.dbf','D:\oracle\P11\origlogB\cntrl\cntrlP11.dbf','D:\oracle\P11\sapdata1\cntrl\cntrlP11.dbf'
    *.core_dump_dest='D:\oracle\P11\saptrace\background'
    *.db_block_size=8192
    *.db_cache_size=260938137
    *.db_files=254
    *.db_name='P11'
    *.db_unique_name='P11_primary'
    *.dg_broker_start=TRUE
    *.dml_locks=4000
    *.event='10191 trace name context forever, level 1'
    *.FAL_Client='to_primary'
    *.FAL_Server='to_standby'
    *.FILESYSTEMIO_OPTIONS='setall'
    *.job_queue_processes=1
    *.log_archive_config='nodg_config'
    *.log_archive_dest_1='LOCATION=C:\oracle\P11\oraarch\P11arch VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=P11_primary'
    p11.log_archive_dest_1='location="C:\oracle\P11\oraarch\P11arch"','valid_for=(ONLINE_LOGFILE,ALL_ROLES)'
    *.log_archive_dest_2=''
    *.log_archive_dest_state_1='enable'
    p11.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    p11.log_archive_format='ARC%S_%R.%T'
    *.log_archive_max_processes=10
    *.log_archive_min_succeed_dest=1
    p11.log_archive_trace=0
    *.log_buffer=1048576
    *.log_checkpoint_interval=0
    *.log_checkpoints_to_alert=true
    *.open_cursors=800
    *.parallel_execution_message_size=16384
    *.pga_aggregate_target=347917516
    *.processes=80
    *.query_rewrite_enabled='false'
    *.recyclebin='off'
    *.remote_login_passwordfile='exclusive'
    *.remote_os_authent=true
    *.replication_dependency_tracking=false
    *.sessions=96
    *.sga_max_size=521876275
    *.shared_pool_reserved_size=26093813
    *.shared_pool_size=300938137
    *.sort_area_retained_size=0
    *.sort_area_size=2097152
    p11.standby_archive_dest=''
    *.standby_file_management='AUTO'
    *.star_transformation_enabled='true'
    *.undo_management='AUTO'
    *.undo_retention=43200
    *.undo_tablespace='PSAPUNDO'
    *.user_dump_dest='D:\oracle\P11\saptrace\usertrace'
    pfile of standy DB
    *._B_TREE_BITMAP_PLANS=FALSE
    *._IN_MEMORY_UNDO=FALSE
    *._INDEX_JOIN_ENABLED=FALSE
    *._OPTIM_PEEK_USER_BINDS=FALSE
    *._OPTIMIZER_MJC_ENABLED=FALSE
    *._SORT_ELIMINATION_COST_RATIO=10
    *._TABLE_LOOKUP_PREFETCH_SIZE=0
    *.background_dump_dest='D:\oracle\P11\saptrace\background'
    *.compatible='10.2.0'
    *.control_file_record_keep_time=30
    *.control_files='D:\oracle\P11\origlogA\cntrl\control01.ctl','D:\oracle\P11\origlogB\cntrl\control02.ctl','D:\oracle\P11\sapdata1\cntrl\control03.ctl'
    *.core_dump_dest='D:\oracle\P11\saptrace\background'
    *.db_block_size=8192
    *.db_cache_size=155870822
    *.db_files=254
    *.db_name='P11'
    *.db_unique_name='P11_disaster'
    *.dg_broker_start=TRUE
    *.dml_locks=4000
    *.event='10191 trace name context forever, level 1'
    *.FAL_Client='to_standby'
    *.FAL_Server='to_primary'
    *.FILESYSTEMIO_OPTIONS='setall'
    *.job_queue_processes=1
    *.log_archive_config='DG_CONFIG= (P11_primary, P11_disaster)'
    *.log_archive_dest_1='LOCATION=C:\oracle\P11\oraarch\P11arch VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=P11_disaster'
    *.log_archive_dest_2='SERVICE=to_primary LGWR ASYNC DELAY=5 VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=P11_primary'
    *.log_archive_dest_state_1='enable'
    *.log_archive_dest_state_2='enable'
    *.log_archive_max_processes=10
    *.log_buffer=1048576
    *.log_checkpoint_interval=0
    *.log_checkpoints_to_alert=true
    *.open_cursors=800
    *.parallel_execution_message_size=16384
    *.pga_aggregate_target=207827763
    *.processes=80
    *.query_rewrite_enabled='false'
    *.recyclebin='off'
    *.remote_login_passwordfile='exclusive'
    *.remote_os_authent=true
    *.replication_dependency_tracking=false
    *.sessions=96
    *.sga_max_size=311741644
    *.shared_pool_reserved_size=15587082
    *.shared_pool_size=300870822
    *.sort_area_retained_size=0
    *.sort_area_size=2097152
    *.standby_file_management='AUTO'
    *.star_transformation_enabled='true'
    *.undo_management='AUTO'
    *.undo_retention=43200
    *.undo_tablespace='PSAPUNDO'
    *.user_dump_dest='D:\oracle\P11\saptrace\usertrace'
    Here are the alert logs of primary DB.
    LTER SYSTEM SET log_archive_dest_2='service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=PROD102)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=p11_disaster_XPT)(INSTANCE_NAME=p11)(SERVER=dedicated)))"',' ARCH SYNC NOAFFIRM delay=5 OPTIONAL max_failure=0 max_connections=1 reopen=300 db_unique_name="p11_disaster" register net_timeout=180 valid_for=(online_logfile,primary_role)' SCOPE=BOTH;
    Sat Jul 02 16:29:22 2011
    ALTER SYSTEM SET log_archive_dest_state_2='ENABLE' SCOPE=BOTH;
    Sat Jul 02 16:29:22 2011
    ALTER SYSTEM SET log_archive_trace=0 SCOPE=BOTH SID='p11';
    Sat Jul 02 16:29:22 2011
    ALTER SYSTEM SET log_archive_format='ARC%S_%R.%T' SCOPE=SPFILE SID='p11';
    Sat Jul 02 16:29:22 2011
    ALTER SYSTEM SET standby_archive_dest='' SCOPE=BOTH SID='p11';
    Sat Jul 02 16:29:22 2011
    ALTER SYSTEM SET log_archive_dest_1='location="C:\oracle\P11\oraarch\P11arch"','valid_for=(ONLINE_LOGFILE,ALL_ROLES)' SCOPE=BOTH SID='p11';
    Sat Jul 02 16:29:23 2011
    ALTER SYSTEM SET log_archive_dest_state_1='ENABLE' SCOPE=BOTH SID='p11';
    Sat Jul 02 16:29:23 2011
    ALTER SYSTEM SET standby_file_management='AUTO' SCOPE=BOTH SID='*';
    Sat Jul 02 16:29:23 2011
    ALTER SYSTEM SET archive_lag_target=0 SCOPE=BOTH SID='*';
    Sat Jul 02 16:29:23 2011
    ALTER SYSTEM SET log_archive_max_processes=10 SCOPE=BOTH SID='*';
    Sat Jul 02 16:29:23 2011
    ALTER SYSTEM SET log_archive_min_succeed_dest=1 SCOPE=BOTH SID='*';
    Sat Jul 02 16:29:27 2011
    Beginning log switch checkpoint up to RBA [0x3b7.2.10], SCN: 7939485
    Thread 1 advanced to log sequence 951
    Current log# 4 seq# 951 mem# 0: D:\ORACLE\P11\ORIGLOGB\LOG_G14M1.DBF
    Current log# 4 seq# 951 mem# 1: C:\ORACLE\P11\MIRRLOGB\LOG_G14M2.DBF
    Sat Jul 02 16:29:28 2011
    ALTER SYSTEM SET log_archive_dest_2='service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=PROD102)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=p11_disaster_XPT)(INSTANCE_NAME=p11)(SERVER=dedicated)))"',' ARCH SYNC NOAFFIRM delay=5 OPTIONAL max_failure=0 max_connections=1 reopen=300 db_unique_name="p11_disaster" register net_timeout=180 valid_for=(online_logfile,primary_role)' SCOPE=BOTH;
    Sat Jul 02 16:29:28 2011
    ALTER SYSTEM SET log_archive_dest_state_2='ENABLE' SCOPE=BOTH;
    Beginning log switch checkpoint up to RBA [0x3b8.2.10], SCN: 7939487
    Thread 1 advanced to log sequence 952
    Current log# 2 seq# 952 mem# 0: D:\ORACLE\P11\ORIGLOGB\LOG_G12M1.DBF
    Current log# 2 seq# 952 mem# 1: C:\ORACLE\P11\MIRRLOGB\LOG_G12M2.DBF
    Sat Jul 02 16:29:29 2011
    Error 12541 received logging on to the standby
    Check whether the listener is up and running.
    Sat Jul 02 16:29:29 2011
    Errors in file d:\oracle\p11\saptrace\background\p11_arc1_2396.trc:
    ORA-12541: TNS:no listener
    FAL[server, ARC1]: Error 12541 creating remote archivelog file '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=PROD102)(PORT=1521)))(CONNECT_DATA=
    Here is the Alert log of standby
    RFS[2]: Identified database type as 'physical standby'
    Sat Jul 02 16:21:00 2011
    RFS[3]: Assigned to RFS process 1620
    RFS[3]: Identified database type as 'physical standby'
    Sat Jul 02 16:21:00 2011
    RFS[2]: Archived Log: 'C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00947_0755040789.001'
    Sat Jul 02 16:21:00 2011
    RFS[3]: Archived Log: 'C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00948_0755040789.001'
    Sat Jul 02 16:21:00 2011
    Media Recovery Log C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00947_0755040789.001
    Identified End-Of-Redo for thread 1 sequence 947
    Sat Jul 02 16:21:01 2011
    Media Recovery End-Of-Redo indicator encountered
    Sat Jul 02 16:21:01 2011
    Media Recovery Applied until change 7934481
    Media Recovery archivelogs detected beyond End-Of-REDO
    Resetting standby activation ID 1369083708 (0x519a8f3c)
    Completed: Alter Database Recover Managed Standby Database
    Sat Jul 02 16:21:29 2011
    Alter Database Recover Managed Standby Database Disconnect
    MRP0 started with pid=28, OS id=996
    Managed Standby Recovery not using Real Time Apply
    parallel recovery started with 2 processes
    Clearing online redo logfile 1 D:\ORACLE\P11\ORIGLOGA\LOG_G11M1.DBF
    Clearing online log 1 of thread 1 sequence number 949
    Sat Jul 02 16:21:36 2011
    Completed: Alter Database Recover Managed Standby Database Disconnect
    Sat Jul 02 16:21:37 2011
    Clearing online redo logfile 1 complete
    Clearing online redo logfile 2 D:\ORACLE\P11\ORIGLOGB\LOG_G12M1.DBF
    Clearing online log 2 of thread 1 sequence number 946
    Clearing online redo logfile 2 complete
    Clearing online redo logfile 3 D:\ORACLE\P11\ORIGLOGA\LOG_G13M1.DBF
    Clearing online log 3 of thread 1 sequence number 944
    Clearing online redo logfile 3 complete
    Clearing online redo logfile 4 D:\ORACLE\P11\ORIGLOGB\LOG_G14M1.DBF
    Clearing online log 4 of thread 1 sequence number 945
    Clearing online redo logfile 4 complete
    Media Recovery Log C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00948_0755040789.001
    Media Recovery Waiting for thread 1 sequence 949
    Sat Jul 02 16:22:37 2011
    RFS[1]: No standby redo logfiles created
    RFS[1]: Archived Log: 'C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00949_0755040789.001'
    Sat Jul 02 16:22:37 2011
    RFS[1]: Archive log thread 1 sequence 949 available in 5 minute(s)
    Sat Jul 02 16:22:37 2011
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[4]: Assigned to RFS process 2200
    RFS[4]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM PERFORMANCE mode
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[4]: No standby redo logfiles created
    Sat Jul 02 16:22:38 2011
    Media Recovery Delayed for 5 minute(s) (thread 1 sequence 949)
    Sat Jul 02 16:27:38 2011
    Media Recovery Log C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00949_0755040789.001
    Media Recovery Waiting for thread 1 sequence 950 (in transit)
    Sat Jul 02 16:29:42 2011
    RFS[4]: Possible network disconnect with primary database
    Aborting archivelog file creation: C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00950_0755040789.001
    If this a network disconnect, then this archivelog will be fetched again
    by GAP resolution mechanism.
    Please advice as i am not sure of i have created something in listener file for DGMGRL configuration..
    Regards

    DGMGRL> show configuration
    Configuration
    Name: my_dg
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    P11_primary - Primary database
    P11_disaster - Physical standby database
    Current status for "my_dg":
    Warning: ORA-16607: one or more databases have failed
    DGMGRL> SHOW DATABASE 'P11_primary' 'StatusReport';
    STATUS REPORT
    INSTANCE_NAME SEVERITY ERROR_TEXT
    p11 ERROR ORA-16737: the redo transport service for standby database "P11_disaster" has an error
    p11 WARNING ORA-16715: redo transport-related property LogXptMode of standby database "P11_disaster" is inconsistent
    DGMGRL> SHOW DATABASE 'P11_primary' 'LogXptStatus';
    LOG TRANSPORT STATUS
    PRIMARY_INSTANCE_NAME STANDBY_DATABASE_NAME STATUS
    p11 P11_disaster ORA-12541: TNS:no listener
    After this when i check the status of listener at P11_disaster site it was up . I restarted the listener and found following message in listener log at standby ( p11_primary) . These are the last lines of listener log.
    03-JUL-2011 13:36:40 * (CONNECT_DATA=(SID=P11)(GLOBAL_NAME=TO_STANDBY.WORLD)(CID=(PROGRAM=d:\oracle\p11\102\bin\ORACLE.EXE)(HOST=PROD104)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.0.1.104)(PORT=2244)) * establish * P11 * 0
    03-JUL-2011 13:36:40 * (CONNECT_DATA=(SID=P11)(GLOBAL_NAME=TO_STANDBY.WORLD)(CID=(PROGRAM=d:\oracle\p11\102\bin\ORACLE.EXE)(HOST=PROD104)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.0.1.104)(PORT=2245)) * establish * P11 * 0
    03-JUL-2011 13:45:25 * ping * 0
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\P11.WORLDipc)))
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\P11ipc)))
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.1.102)(PORT=1527)))
    Listener completed notification to CRS on stop
    03-JUL-2011 13:45:34 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=p11adm))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869824)) * stop * 0
    TNSLSNR for 64-bit Windows: Version 10.2.0.2.0 - Production on 03-JUL-2011 13:45:42
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\P11\102\network\admin\listener.ora
    Log messages written to D:\oracle\P11\102\network\log\listener.log
    Trace information written to D:\oracle\P11\102\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=624
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\P11.WORLDipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\P11ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.1.102)(PORT=1527)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    03-JUL-2011 13:45:46 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=p11adm))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869824)) * status * 0
    I am sure this is some configuration issue , however does not have clue :(

  • Archived log to standby server stopped

    Hi,
    I configured dataguard standby server few weeks ago,
    I set log_archive_dest_2='SERVICE=JHRD0107_OFS1 OPTIONAL'
    and log_archive_dest_state=ENABLE in primary server,
    and very go fine until yesterday, I shutdown my standby server and set the log_archive_dest_state=DEFER,
    when I tried to startup again the standby server, and set log_archive_dest_state=ENABLE again,
    the archive stop sending the archived log to log_archive_dest_2.
    No error was found in alert log of primary and standby server.
    It seem that the primary server don't know there is another archive destination..
    The database version is 10g 10.2.0.4
    Anyone what could be the cause of this?
    Thanks

    Hi, Below is the parameter related to archive in my primary server
    SQL> alter system set log_archive_dest_state_2=enable;
    System altered.
    SQL> show parameter archive
    NAME TYPE VALUE
    archive_lag_target integer 0
    log_archive_config string
    log_archive_dest string
    log_archive_dest_1 string LOCATION=I:\OFSDB\OFS1\archive
    MANDATORY REOPEN=300
    log_archive_dest_10 string LOCATION=USE_DB_RECOVERY_FILE_
    DEST OPTIONAL REOPEN=300
    log_archive_dest_2 string SERVICE=JHRD0107_OFS1 OPTIONAL
    log_archive_dest_3 string
    log_archive_dest_4 string
    log_archive_dest_5 string
    NAME TYPE VALUE
    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 enable
    log_archive_dest_state_5 string enable
    log_archive_dest_state_6 string enable
    NAME TYPE VALUE
    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 ARC%S_%R.%T
    log_archive_local_first boolean TRUE
    log_archive_max_processes integer 2
    log_archive_min_succeed_dest integer 1
    log_archive_start boolean FALSE
    log_archive_trace integer 0
    remote_archive_enable string true
    NAME TYPE VALUE
    standby_archive_dest string %ORACLE_HOME%\RDBMS
    Thanks for your response.
    Vincent

  • Standby ORA-12505 error

    I have tried to create the standby without the DG broker .However , I am getting this error in alert log at primary which I am not able to resolve.
    PING[ARC6]: Heartbeat failed to connect to standby 'to_standby'. Error is 12505.
    Mon Jul 04 12:41:35 2011
    Error 12505 received logging on to the standby
    Mon Jul 04 12:41:35 2011
    Errors in file d:\oracle\p11\saptrace\background\p11_arc6_1904.trc:
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
    PING[ARC6]: Heartbeat failed to connect to standby 'to_standby'. Error is 12505.
    Pfile of Primary Server
    *._B_TREE_BITMAP_PLANS=FALSE
    *._IN_MEMORY_UNDO=FALSE
    *._INDEX_JOIN_ENABLED=FALSE
    *._OPTIM_PEEK_USER_BINDS=FALSE
    *._OPTIMIZER_MJC_ENABLED=FALSE
    *._SORT_ELIMINATION_COST_RATIO=10
    *._TABLE_LOOKUP_PREFETCH_SIZE=0
    *.archive_lag_target=0
    *.background_dump_dest='D:\oracle\P11\saptrace\background'
    *.compatible='10.2.0'
    *.control_file_record_keep_time=30
    *.control_files='D:\oracle\P11\origlogA\cntrl\cntrlP11.dbf','D:\oracle\P11\origlogB\cntrl\cntrlP11.dbf','D:\oracle\P11\sapdata1\cntrl\cntrlP11.dbf'
    *.core_dump_dest='D:\oracle\P11\saptrace\background'
    *.db_block_size=8192
    *.db_cache_size=260938137
    *.db_files=254
    *.db_name='P11'
    *.db_unique_name='P11_primary'
    *.dml_locks=4000
    *.event='10191 trace name context forever, level 1'
    *.FAL_Client='to_primary'
    *.FAL_Server='to_standby'
    *.FILESYSTEMIO_OPTIONS='setall'
    *.job_queue_processes=1
    *.local_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.1.104)(PORT = 1521))'
    *.log_archive_config='dg_config=(P11_disaster,P11_primary)'
    *.log_archive_dest_1='LOCATION=C:\oracle\P11\oraarch\P11arch VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=P11_primary'
    *.log_archive_dest_2='SERVICE=to_standby LGWR ASYNC DELAY=5 VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=P11_disaster'
    *.log_archive_dest_state_1='enable'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=10
    *.log_archive_min_succeed_dest=1
    *.log_buffer=1048576
    *.log_checkpoint_interval=0
    *.log_checkpoints_to_alert=true
    *.open_cursors=800
    *.parallel_execution_message_size=16384
    *.pga_aggregate_target=347917516
    *.processes=80
    *.query_rewrite_enabled='false'
    *.recyclebin='off'
    *.remote_login_passwordfile='exclusive'
    *.remote_os_authent=true
    *.replication_dependency_tracking=false
    *.sessions=96
    *.sga_max_size=521876275
    *.shared_pool_reserved_size=26093813
    *.shared_pool_size=300938137
    *.sort_area_retained_size=0
    *.sort_area_size=2097152
    *.standby_file_management='AUTO'
    *.star_transformation_enabled='true'
    *.undo_management='AUTO'
    *.undo_retention=43200
    *.undo_tablespace='PSAPUNDO'
    *.user_dump_dest='D:\oracle\P11\saptrace\usertrace'
    Pfile of Standby Server
    *._B_TREE_BITMAP_PLANS=FALSE
    *._IN_MEMORY_UNDO=FALSE
    *._INDEX_JOIN_ENABLED=FALSE
    *._OPTIM_PEEK_USER_BINDS=FALSE
    *._OPTIMIZER_MJC_ENABLED=FALSE
    *._SORT_ELIMINATION_COST_RATIO=10
    *._TABLE_LOOKUP_PREFETCH_SIZE=0
    *.background_dump_dest='D:\oracle\P11\saptrace\background'
    *.compatible='10.2.0'
    *.control_file_record_keep_time=30
    *.control_files='D:\oracle\P11\origlogA\cntrl\control01.ctl','D:\oracle\P11\origlogB\cntrl\control02.ctl','D:\oracle\P11\sapdata1\cntrl\control03.ctl'
    *.core_dump_dest='D:\oracle\P11\saptrace\background'
    *.db_block_size=8192
    *.db_cache_size=155870822
    *.db_files=254
    *.db_name='P11'
    *.db_unique_name='P11_disaster'
    *.dml_locks=4000
    *.event='10191 trace name context forever, level 1'
    *.FAL_Client='to_standby'
    *.FAL_Server='to_primary'
    *.FILESYSTEMIO_OPTIONS='setall'
    *.job_queue_processes=1
    *.local_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.1.102)(PORT = 1521))'
    *.log_archive_config='DG_CONFIG= (P11_primary, P11_disaster)'
    *.log_archive_dest_1='LOCATION=C:\oracle\P11\oraarch\P11arch VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=P11_disaster'
    *.log_archive_dest_2='SERVICE=to_primary LGWR ASYNC DELAY=5 VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=P11_primary'
    *.log_archive_dest_state_1='enable'
    *.log_archive_dest_state_2='enable'
    *.log_archive_max_processes=10
    *.log_buffer=1048576
    *.log_checkpoint_interval=0
    *.log_checkpoints_to_alert=true
    *.open_cursors=800
    *.parallel_execution_message_size=16384
    *.pga_aggregate_target=207827763
    *.processes=80
    *.query_rewrite_enabled='false'
    *.recyclebin='off'
    *.remote_login_passwordfile='exclusive'
    *.remote_os_authent=true
    *.replication_dependency_tracking=false
    *.sessions=96
    *.sga_max_size=311741644
    *.shared_pool_reserved_size=15587082
    *.shared_pool_size=300870822
    *.sort_area_retained_size=0
    *.sort_area_size=2097152
    *.standby_file_management='AUTO'
    *.star_transformation_enabled='true'
    *.undo_management='AUTO'
    *.undo_retention=43200
    *.undo_tablespace='PSAPUNDO'
    *.user_dump_dest='D:\oracle\P11\saptrace\usertrace'
    TNSnames of Primary File
    # Filename......: tnsnames.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
    P11.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11.WORLD)
    TO_STANDBY.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.102)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11_DISASTER.WORLD)
    TO_PRIMARY.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11_PRIMARY.WORLD)
    LISTENER_P11.WORLD=(address=(protocol= tcp)(host=10.0.1.104)(port= 1527))
    Listener.ora of Primary
    # Filename......: listener.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#4 $
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = P11.WORLD)
    (ADDRESS=
    (PROTOCOL = IPC)
    (KEY = P11)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = prod104)
    (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    Tnsnames.ora of Standby
    # Filename......: tnsnames.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
    # Filename......: tnsnames.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
    P11.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11.WORLD)
    TO_STANDBY.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.102)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11_STANDBY.WORLD)
    TO_PRIMARY.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11_PRIMARY.WORLD)
    LISTENER_P11.WORLD=(address=(protocol= tcp)(host=10.0.1.102)(port= 1527))
    Listener.ora of Standby
    # Filename......: listener.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#4 $
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = P11.WORLD)
    (ADDRESS=
    (PROTOCOL = IPC)
    (KEY = P11)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.102)
    (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    Please advice.
    Regards
    Edited by: dharm.singh on Jul 4, 2011 12:33 AM

    It is working now after adding this entry
    SID_LIST_LISTENER=(SID_LIST=(SID_DESC=(SID_NAME=P11)(ORACLE_HOME=D:\oracle\P11\102))) and also able to connect to primary to standby.
    using command
    sqlplus sys/****@to_standby as sysdba
    However , the Primary alter log is showing many errors
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Mon Jul 04 14:56:05 2011
    SMON: enabling cache recovery
    Mon Jul 04 14:56:07 2011
    Incremental checkpoint up to RBA [0x3e4.3.0], current log tail at RBA [0x3e4.3.0]
    Mon Jul 04 14:56:08 2011
    Error 1033 received logging on to the standby
    Mon Jul 04 14:56:08 2011
    Errors in file d:\oracle\p11\saptrace\background\p11_arc0_1532.trc:
    ORA-01033: ORACLE initialization or shutdown in progress
    Mon Jul 04 14:56:08 2011
    LGWR: Setting 'active' archival for destination LOG_ARCHIVE_DEST_2
    Error 1033 received logging on to the standby
    Mon Jul 04 14:56:08 2011
    Errors in file d:\oracle\p11\saptrace\background\p11_lns1_400.trc:
    ORA-01033: ORACLE initialization or shutdown in progress
    LGWR: Error 1033 creating archivelog file 'to_standby'
    LNS: Failed to archive log 2 thread 1 sequence 996 (1033)
    Mon Jul 04 14:56:08 2011
    FAL[server, ARC0]: Error 1033 creating remote archivelog file 'to_standby'
    FAL[server, ARC0]: FAL archive failed, see trace file.
    Mon Jul 04 14:56:09 2011
    Errors in file d:\oracle\p11\saptrace\background\p11_arc0_1532.trc:
    ORA-16055: FAL request rejected
    ARCH: FAL archive failed. Archiver continuing
    Mon Jul 04 14:56:09 2011
    Successfully onlined Undo Tablespace 1.
    Mon Jul 04 14:56:09 2011
    SMON: enabling tx recovery
    Mon Jul 04 14:56:10 2011
    Database Characterset is UTF8
    Starting background process QMNC
    QMNC started with pid=26, OS id=180
    Mon Jul 04 14:56:16 2011
    Completed: ALTER DATABASE OPEN
    Mon Jul 04 14:57:00 2011
    Shutting down archive processes
    Mon Jul 04 14:57:05 2011
    ARCH shutting down
    ARCa: Archival stopped
    Mon Jul 04 15:02:06 2011
    Errors in file d:\oracle\p11\saptrace\background\p11_arc2_500.trc:
    ORA-16143: RFS connections not allowed during or after terminal recovery
    Mon Jul 04 15:02:06 2011
    PING[ARC2]: Heartbeat failed to connect to standby 'to_standby'. Error is 16143.
    p11arc0_1532.trc log file_
    Dump file d:\oracle\p11\saptrace\background\p11_lns1_400.trc
    Mon Jul 04 14:56:04 2011
    ORACLE V10.2.0.2.0 - 64bit Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Windows Server 2003 Version V5.2 Service Pack 2
    CPU : 2 - type 8664, 1 Physical Cores
    Process Affinity : 0x0000000000000000
    Memory (Avail/Total): Ph:2627M/3319M, Ph+PgF:9964M/11161M
    Instance name: p11
    Redo thread mounted by this instance: 1
    Oracle process number: 26
    Windows thread id: 400, image: ORACLE.EXE (LNS1)
    *** SERVICE NAME:() 2011-07-04 14:56:03.968
    *** SESSION ID:(73.1) 2011-07-04 14:56:03.968
    *** 2011-07-04 14:56:03.968 57032 kcrr.c
    LNS1: initializing for LGWR communication
    LNS1: connecting to KSR channel
    Success
    LNS1: subscribing to KSR channel
    Success
    *** 2011-07-04 14:56:04.031 57085 kcrr.c
    LNS1: initialized successfully ASYNC=1
    Destination is specified with ASYNC=61440
    *** 2011-07-04 14:56:08.203 70857 kcrr.c
    Sending online log thread 1 seq 996 [logfile 2] to standby
    Opening logfile [logno 2]
    LGWR: Archivelog for thread 1 sequence 996 will NOT be compressed
    Redo shipping client performing standby login
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1033 and errmsg is 'ORA-01033: ORACLE initialization or shutdown in progress
    *** 2011-07-04 14:56:08.812 60639 kcrr.c
    Error 1033 received logging on to the standby
    Error 1033 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'to_standby'
    Error 1033 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'to_standby'
    ORA-01033: ORACLE initialization or shutdown in progress
    *** 2011-07-04 14:56:08.843 60639 kcrr.c
    LGWR: Error 1033 creating archivelog file 'to_standby'
    *** 2011-07-04 14:56:08.859 58901 kcrr.c
    kcrrfail: dest:2 err:1033 force:0 blast:1
    *** 2011-07-04 14:56:11.296
    *** 2011-07-04 14:56:11.296 70857 kcrr.c
    Sending online log thread 1 seq 996 [logfile 2] to standby
    Opening logfile [logno 2]
    LGWR: Archivelog for thread 1 sequence 996 will NOT be compressed
    *** 2011-07-04 14:56:11.796 70982 kcrr.c
    Shutting down [due to no more ASYNC destination]
    LNS1: Doing a channel reset for next time around...
    Edited by: dharm.singh on Jul 4, 2011 2:31 AM

  • Few errror/doubts in Primary and Standby server - Need Help

    Hi All,
    I am having below doubts/errors. I need help to solve all the below questions.
    I configured Dataguard successfully. Now the sync is upto date using the below parameters (using 11g):
    at primary:
    log_archive_dest_1=
    log_archive_dest_2='SERVICE=standby.123 arch'
    standby_file_management=auto
    at sandby:
    log_archive_dest_1=
    standby_file_management=auto
    Still i face below messages in the alertliog. Can anybody clearly explain me all the points.
    Primary:
    ORA-1652: unable to extend temp segment by 640 in tablespace NEWTEMP
    I get this error when my archvie destination got filled up, later we released the enough space, the archived are generating. Still i see this message once in between. Need to solve this.
    Primary:
    Checkpoint not complete ( i see this message very often, want to get rid of this)
    standby:
    kcrrvslf: active RFS archival for log thread 1 sequence (sometimes i see this KCRRVSLF)
    standby:
    check that the CONTROL_FILE_RECORD_KEEP_TIME initialization parameter is defined to a value that is sufficiently large enough to maintain afequate log switch information to resolve archivelog gaps. (also get this message in between the alertlog file in standby)
    Standby:
    FAL[client]: Error fetching gap sequence, no FAL server specified (this is very often message. How to remove this, what needs to be added. Do i need to add the below parameters)
    FAL_CLIENT
    FAL_SERVER
    Thanks in advance.
    Pas Moh
    [email protected]

    Pas Moh wrote:
    Hi All,
    I am having below doubts/errors. I need help to solve all the below questions.
    I configured Dataguard successfully. Now the sync is upto date using the below parameters (using 11g):
    at primary:
    log_archive_dest_1=
    log_archive_dest_2='SERVICE=standby.123 arch'
    standby_file_management=auto
    at sandby:
    log_archive_dest_1=
    standby_file_management=auto
    Still i face below messages in the alertliog. Can anybody clearly explain me all the points.
    Primary:
    ORA-1652: unable to extend temp segment by 640 in tablespace NEWTEMP
    I get this error when my archvie destination got filled up, later we released the enough space, the archived are generating. Still i see this message once in between. Need to solve this.This error has absolutely nothing to do with the handling of archive logs, the status of archivelog destination, or primary/standby. Any relation you thought you saw was pure coincidence.
    >
    >
    Primary:
    Checkpoint not complete ( i see this message very often, want to get rid of this)
    Here is the very first hit I got when I googled "oracle checkpoint not complete". Tom says it better than I would have.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:69012348056
    standby:
    kcrrvslf: active RFS archival for log thread 1 sequence (sometimes i see this KCRRVSLF)
    A quick google of that one, and it looks like it is not even an error, but rather simply an informative
    >
    standby:
    check that the CONTROL_FILE_RECORD_KEEP_TIME initialization parameter is defined to a value that is sufficiently large enough to maintain afequate log switch information to resolve archivelog gaps. (also get this message in between the alertlog file in standby)
    In that case I would 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.
    How big is that? Well, at least bigger than it is now. Beyond that, it would have to be "large enough to maintain adequate log switch information to resolve archivelog gaps" Just play with it until you get the result you want.
    >
    Standby:
    FAL[client]: Error fetching gap sequence, no FAL server specified (this is very often message. How to remove this, what needs to be added. Do i need to add the below parameters)
    FAL_CLIENT
    FAL_SERVER
    Thanks in advance.
    Pas Moh
    [email protected]

  • Oracle 11G  DG ,ERROR"PING[ARC2]: Heartbeat failed to connect to standby 'wnadsdy'. Error is 1033."

    主库一直报错,提示 如下: Error 1033 received logging on to the standby FAL[server, ARC0]: Error 1033 creating remote archivelog file 'wnadsdy' FAL[server, ARC0]: FAL archive failed, see trace file. Error 1033 received logging on to the standby PING[ARC2]: Heartbeat failed to connect to standby 'wnadsdy'. Error is 1033. tnsping 可以Ping 到备库 wnadsdy primary ip 172.31.0.41 standby ip 1721.31.0.112 primary db initwnad.ora wnad.__db_cache_size=687865856 wnad.__java_pool_size=16777216 wnad.__large_pool_size=33554432 wnad.__oracle_base='/opr/oracle'#ORACLE_BASE set from environment wnad.__pga_aggregate_target=671088640 wnad.__sga_target=989855744 wnad.__shared_io_pool_size=0 wnad.__shared_pool_size=234881024 wnad.__streams_pool_size=0 *.audit_file_dest='/opr/oracle/admin/wnad/adump' *.audit_trail='db' *.compatible='11.2.0.4.0' *.control_files='/opr/oracle/wnad/control01.ctl','/opr/oracle/fast_recovery_area/wnad/control02.ctl' *.db_block_size=8192 *.db_domain='' *.db_name='wnad' *.db_recovery_file_dest='/opr/oracle/fast_recovery_area' *.db_recovery_file_dest_size=10737418240 *.diagnostic_dest='/opr/oracle' *.dispatchers='(PROTOCOL=TCP) (SERVICE=wnadXDB)' *.log_archive_dest_1='location=/opr/oracle/wnad/archive' *.log_archive_dest_2='SERVICE=wnadsdy' *.memory_target=1656750080 *.open_cursors=300 *.processes=150 *.remote_login_passwordfile='EXCLUSIVE' *.standby_file_management='AUTO' *.undo_tablespace='UNDOTBS1' listener.ora LISTENER=     (DESCRIPTION=         (ADDRESS_LIST=             (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test)(PORT=1521))               )     ) SID_LIST_LISTENER=       (SID_LIST=         (SID_DESC=               (SID_NAME=wnad)               (ORACLE_HOME=/opr/oracle/product/11.2.0/db_1)               (GLOBAL_DBNAME=wnad)           )       ) tnsnames.ora WNAD=   (DESCRIPTION=         (ADDRESS_LIST=             (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test)(PORT=1521))         )       (CONNECT_DATA=           (SERVER = DEDICATED)           (SERVICE_NAME=wnad)       )   ) wnadsdy=     (DESCRIPTION=         (ADDRESS_LIST=             (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test2)(PORT=1521))         )       (CONNECT_DATA=           (SERVER = DEDICATED)           (SERVICE_NAME=wnad)       )   ) standby db initwnad.ora wnad.__db_cache_size=687865856 wnad.__java_pool_size=16777216 wnad.__large_pool_size=33554432 wnad.__oracle_base='/opr/oracle'#ORACLE_BASE set from environment wnad.__pga_aggregate_target=671088640 wnad.__sga_target=989855744 wnad.__shared_io_pool_size=0 wnad.__shared_pool_size=234881024 wnad.__streams_pool_size=0 *.audit_file_dest='/opr/oracle/admin/wnad/adump' *.audit_trail='db' *.compatible='11.2.0.4.0' *.control_files='/opr/oracle/wnad/control01.ctl','/opr/oracle/fast_recovery_area/wnad/control02.ctl' *.db_block_size=8192 *.db_domain='' *.db_name='wnad' *.diagnostic_dest='/opr/oracle' *.dispatchers='(PROTOCOL=TCP) (SERVICE=wnadXDB)' *.log_archive_dest_1='location=/opr/oracle/wnad/archive' *.memory_target=1656750080 *.open_cursors=300 *.processes=150 *.remote_login_passwordfile='EXCLUSIVE' *.standby_file_management='AUTO' *.undo_tablespace='UNDOTBS1' listener.ora LISTENER=     (DESCRIPTION=         (ADDRESS_LIST=             (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test2)(PORT=1521))         )     ) SID_LIST_LISTENER=       (SID_LIST=         (SID_DESC=               (SID_NAME=wnad)               (ORACLE_HOME=/opr/oracle/product/11.2.0/db_1)               (GLOBAL_DBNAME=wnad)           )       ) tnsnames.ora wnad=   (DESCRIPTION=         (ADDRESS_LIST=             (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test)(PORT=1521))         )       (CONNECT_DATA=         (SERVER = DEDICATED)         (SERVICE_NAME=wnad)       )   ) wnadsdy=     (DESCRIPTION=         (ADDRESS_LIST=             (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test2)(PORT=1521))         )       (CONNECT_DATA=         (SERVER = DEDICATED)         (SERVICE_NAME=wnad)       )   )

    Hello;
    Very difficult to read your post.
    If your standby is in "recovery - mount" a 1033 is normal assuming you are trying to shut down the standby.
    Otherwise try this query on the standby:
    select process, client_process, sequence#, status from V$managed_standby;
    If there is a MRP or a MRP0 process, the database is performing managed recovery. Otherwise It's not ready and you may have found your cause.
    Best Regards
    mseberg

  • ORA-01017: invalid username/password; logon denied in Standby Server

    Hello,
    In Standby Server , when executing logs applying process it shows an error.
    It happens suddenly
    Now logs from PRD to standby is not applying.
    Error log is as follows:
    BR0002I BRARCHIVE 7.00 (42)
    BR0006I Start of offline redo log processing: aehrjpck.svd 2012-01-17 08.38.34
    BR0484I BRARCHIVE log file: /oracle/PRD/saparch/aehrjpck.svd
    BR0280I BRARCHIVE time stamp: 2012-01-17 08.38.34
    BR0301W SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT system/********@PRD.WORLD'
    ORA-01017: invalid username/password; logon denied
    BR0310W Connect to database instance PRD/PRIMARY failed.
    BR0338E Applying offline redo log file /oracle/PRD/oraarch/standby/PRDarch1_24090_696018700.dbf failed
    BR0338E Applying offline redo log file /oracle/PRD/oraarch/standby/PRDarch1_24091_696018700.dbf failed
    BR0016I 0 offline redo log files processed, total size 0.000 MB
    BR0280I BRARCHIVE time stamp: 2012-01-17 08.38.36
    BR0301W SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT system/********@PRD.WORLD'
    ORA-01017: invalid username/password; logon denied
    BR0310W Connect to database instance PRD/PRIMARY failed
    BR0007I End of offline redo log processing: aehrjpck.svd 2012-01-17 08.38.36
    BR0280I BRARCHIVE time stamp: 2012-01-17 08.38.36
    BR0005I BRARCHIVE terminated with errors
    Standby DB is in mount state
    I have checked from v$instance.
    # select status from v$instance;
    MOUNTED
    Logs applying commadt is as follows;
    # brarchive -u system/systempwd -c -f -d disk -m 30 -sd
    How can i check whether , the status of SYSTEM user?
    Since Standby is in mount state, im not allowed to query DBA_USERS
    How can i check whether , SYSTEM user is locked or not.
    Is it possible to change the password of SYSTEM , while DB is in mount state.
    I have tried like this;
    #sqlplus
    / as sysdba
    <It logon as sys - success>
    conn SYSTEM
    Enter password: systempwd
    ERROR:
    ORA-01033: ORACLE Initialization or shutdown in progress
    Warning: You are not longer connected to ORACLE
    Im not able to connect as SYSTEM user.
    What should be the solution for this;
    regards,
    Zerandib

    Is it possible to maintain different passwords for users in Standby and PrimaryFor SYSTEM user, you don't need to worry because when you change SYSTEM user password on primary, it will automatically be updated on the standby because password is saved in data dictionary and data dictionary change is also propagated at the standby standby site. More importantly, you will not be able to perform any data change on standby site in any case (password change of any user other than SYSDBA is a "data change" actually)
    For SYS password, no you can't have a different password on primary and standby site(s)
    Salman

  • Can not refresh server manager Error:0x8007045b

    OS: Windows 2012 R2 Core
    Services: Hyper V
    I was trying to remote reboot and the session hung. No worries I decided I could just reboot the next morning. So I rebooted the next day but when I go into server manager I get
    an errror can not refresh server manager Error:0x8007045b. Did some research found suggestions to fix it using a DISM.exe /Online /Cleanup-image /Restorehealth.
    But then I get an error 1115 A system Shutdown is in progress. I attempt to fix this issue using pskill winlogon but the issue pursistest. I have restarted the server several times now. Not sure how to fix this.
    Thanks in advance,
    Jake

    Hi,
    In addition to the above information,
    Checkout the below thread for similar discussion,
    http://social.technet.microsoft.com/forums/windowsserver/en-US/a700e9f6-4491-4c70-8bd0-d9d3111e2f70/windows-reboot-error
    Regards,
    Gopi
    JiJi
    Technologies

  • WIndows Server 2012 - Server Manager Error CLR20r3

    WIndows Server 2012 - Server Manager Error CLR20r3
    I have just experienced this error of ( CLR20r3) when trying to add or remove server roles.
    Server Manager crashes when trying to go into the Add/ Or Remove server roles
    What I have tried.
    .NET Diag
    .NET Fix
    Lots of research, and didn't find any resolution.
    Apparently this is not strictly tied to Windows Server 2012, as I see that Windows Server 2008 R2 , and even Windows desktop users have experienced this issue. With no direct resolution.
    Here is a screen shot for reference.......
    If anyone should obtain the MS Fix or hear of it, please post so that others who are experiencing this issue can find peace in their day.
    I have given up, ended up performing a reinstall. ( sadly)
    RF

    Hi RF,
    Based on your description, would you please refer to following operations and troubleshoot this issue?
    Please use
    Sytem File Checker tool to scan all protected system files.
    Please
    perform a clean boot to check if some third-party services affected.
    Please backup the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole. Then delete following two registry key (if exist): LeagcyImepersonationLevel and LegacyauthenticationLevel
    Then log off and logon and monitor the result.
    In addition, please navigate to %windir%\logs and check ServerManager and CBS log file if you can find some
    relevant errors.
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • "Connection to server failed" error with Gmail exchange server

    Hi,
    I upgraded my iPhone 4 to iOS 4.3 on Friday and now I can't access my Gmail account using the Microsoft Exchange settings, I just get a "Connection to server failed" error.
    I also have a Google Apps email account for my website and I am able to access it using exchange... it's just my regular Gmail account that I can't access (and that's where all my contacts are stored).
    I can access the account using the regular Gmail email settings but that doesn't sync my contacts over the air, which is the advantage of using Exchange that I love the most.
    I don't know if it is related or not, but I had a really hard time upgrading to iOS 4.3. I guess the update file was corrupt and it put my phone into restore mode. I had to use a different computer for the upgrade to finally work. Because I was using a different computer I had to restore it as a new phone rather than restoring from a backup, so maybe that has something to do with my email problem.
    Message was edited by: KJones75

    I seem to have solved the problem. I deleted my Gmail account from the phone and then changed my Gmail password from my computer, and then tried adding the account to my phone again... and surprise, surprise, it worked.
    I'm not sure why changing the password fixed the problem, but I'm glad it's working again.

  • Problem with scanning - printer display shows "Server connection error"

    My printer has been working great and I have had no problems with scanning.  But two days ago, all of a succen I rec'd message "server connection error".  I tried to send to email as well as computer.  Got the same message.  As usual, I don't recall any action on my part that could have caused this problem.    The copying and printing functions work fine. Detailed advice to someone technically challenged will be much appreciated.  Thank you.

    Ran
    into a problem with connecting to the DB on the SQL server from the IPAM server.  The Dba and I checked the target SQL instance was enabled TCP and listening on a valid TCP port.  SQL server was set to use port 1443 for incoming connections. 
    IPAM was set by default to use 1433. 
    Also used
    netstat-n to identify issue and verified 1443 on SQL server was
    being used.  Made the correction under the IPAM provisioning wizard and connected to the database.  Fixed. 
    Important note I was able to connect to the database with a .udlfile
    without any issues
    Also note that 2012 R2 IPAM only supports 2012 SQL Enterprise.  Why?

  • There is a problem with the security certificate of the proxy server. Error code 18 and 38.

    Hi All,
    After several hours and a short night of sleep I'm out of ideas and hopefully someone here can help me trying to solve this one. First of all the situation:
    Exchange 2013 on a remote location with a CA-certificate.
    Outlook 2010 and 2013 on different locations, locally installed and on RDS.
    When I open Outlook on my laptop all is fine, no errors, good sync, no problem. But when I open Outlook on our Remote Desktop Servers with Outlook 2013 I'm getting errors like "There is a problem with the security certificate of the proxy server. The
    name on the security certificate is invalid or does not match the name of the site. Outlook is unable to connect to this server. (Error code 18)". Opening Outlook 2010 the message is the same, but the error code now is 38.
    After this Outlook opens and is working, there's one more error though. After a while an security warning pops up with the message: "Information you exchange with this site cannot be viewed or changed by others. However, there is a problem with the
    site's security certificate. * The security certificate was issued by a company you have not chosen to trust. View the certificate to determine whether you want to trust the certifying authority. * The security certificate is valid. * The name on the security
    certificate is invalid or does not match the name of the site."
    Strangest thing is, it is the certificate of my RDS! It isn't my valid en officially bought certificate from my mailserver. What's going on? I'm out of options, what I've tried so far (in random order):
    - restarting mailserver and AD;
    - restarting switches;
    - restarting routers;
    - restarting RDS, AD and all other servers;
    - bypassed proxyserver for RDS;
    - created a new profile;
    - checked recently installed updates;
    - checked certificate on mailserver;
    - checked RDS on a different location, working fine.
    Nothing helped, what can I do next? Please advice.
    Regards.

    Found a thread that solves half my problem (https://social.technet.microsoft.com/Forums/office/en-US/70d18244-889a-4d95-ac3f-e234672a82b2/there-is-a-problem-with-the-proxy-servers-security-certificate-error-when-starting-outlook?forum=exchangesvrclients).
    The first message can be suppressed by adding this to the Exchange config:
    set-outlookprovider -Identity EXCH -CertprincipalName msstd:webmail.domain.tld
    set-outlookprovider -Identity EXPR -CertprincipalName msstd:webmail.domain.tld
    Giving the command get-outlookprovider, gives me empty information regarding the certprinipalname. Filled
    this and after recreating the profile or deleting the ost-file I still have the second alert with the local certificate of my RDS.
    Not completely where I want to be, any help regarding the second alert is greatly appreciated!

  • How to fix server identity error on iPhone 5s iOS 8.0.2

    I will preface this question with saying that i am not a a tech savy person so please use layman terms and treat it as though i a don't know everything there is to know about apple products.
    I get the following pop up message on my phone everytime it resets or powers on and occasionally throughout the day.
    [Cannot Verify Sever Identity
    The identity of "phobos.apple.com.lp.mydas.mobi" cannot be verified by phobos.apple.com.lp.mydas.mobi/sites/E/ESPN/MM_47763/ESPN_College_GameDay.ics. Review the certificate details to continue.]
    Now i have no idea what would cause me to get this message as i am a girl i hate sports i would never bother to go on an ESPN site on my phone or computer or even bother to pause for more than a second on ESPN on my computer so I'm compeleltey confused how i have an error on my phone for what i presume is an ESPN site or app idk.
    Please help me get rid of this ****** server error because i am at the point where i am considering taking a hammer to my phone -_-
    When i view the details there is no option to delete this error or whatever might be causing it so i am stuck in this matrix of pop up window server identity error and i cannot take it.
    <Edited By Host>

    Hi Progmusicman,
    If you are having an issue with touch ID on your iPhone, I would suggest that you troubleshoot using the steps in this article - 
    Using Touch ID on iPhone
    Specifically -
    Make sure that you're using the latest version of iOS.
    Make sure that your fingers and the Home button are clean and dry.*
    Cover the Home button completely. Don't tap too quickly, don't press down hard, and don't move your finger while Touch ID is scanning. Make sure that your finger touches the metal ring around the Home button.
    If you're using a protective case or screen protector, it must leave the Home button and the surrounding ring completely unobscured. If it doesn't, remove the case or screen protector and try again.
    Tap Settings > Touch ID & Passcode and verify that:
    iPhone Unlock or iTunes & App Store is on.
    You enrolled one or more fingerprints.
    Try enrolling a different finger.
    If you can't enroll any of your fingers, take your iPhone to an Apple Retail Store, Apple Authorized Service Provider, or contact AppleCare for further assistance.
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Creating Open Directory Replica fails with Server Admin Error Value 1127

    Hallo,
    I have seen a lot of similar threads here and they were helpful up to a certain point, but in the end, they did not solve my problem.
    Currently, it comes down to this. The Server Admin Error message ist really meaningless and I could not find a single for the error value on the whole wide web. As such, I switched to the command line versions of the tools involved to geht more meaningful results. It worked. Specifically, creating a replica of an openldap master means using slapconfig.
    When executing
    slapconfig -createreplica master.ourdomain.com diradmin
    as root on the prospective replica machine, I get the following error message:
    ssh command failed with status 127
    That command is not allowed with the root account via public key authentication.
    That makes perfect sense to me, but how is it meant to work then?
    Executing slapconfig as admin tells me that this tool is to be executed as root. On the other hand, root login via ssh is not allowed in Mac OS X by default, which seems fine to me. I even changed /etc/sshd_config on the Open Directory Master machine to "PermitRootLogin yes". However, neither reloading ssh using launchctl nor restarting the whole server made this setting operational. Trying to login from command line as root still tells me:
    root login is not permitted to this machine via public key authentication.
    While this is the current state where I need help urgently, I changed some other things before. I tell about to exclude these issues as possible reason of failure. I got this message for quite a while:
    Replica Setup failed : This machine does not have a valid computer name
    I was sure, this machine meant the target machine, the open directory master, because the domain had changed there once before I had taken over responsibility as an admin in this environment. And in fact, changeip disguised an issue there. The command proposed by changeip to fix the situation did not seem appropriate because this machine is multihomed with a public and a private IP adress. Proper name resolution is available for both interfaces including reverse lookup. I dont like this setup, but it was the only way to get mail service running smoothly. Running changeip on the machine itself using these arguments
    changeip /LDAPv3/127.0.0.1 internalIP internalIP old.ours.com current.ours.com
    reported success in updating password server, open directory, both interfaces, hostconfig (which in fact did not change) and samba. It reported an issue with kadmin which is related to Kerberos (we dont use Kerberos yet).
    Changing the hostname of the server using changeip did not solve the issue. I then found the hint to check with scutil. This showed that the Hostname was not set on the prospective replica machine. (A question aside: in how many place is the hostname stored? The traditional /etc/hostname has gone, but seems to be replaces with several other configuration files and databases. I cant see this as an advantage). Setting the hostname using scutil worked fine. However, it did not solve the problem either. At least, slapconfig now started to complain about not being able to log in as root instead of failing from the start.
    I also checked all log files on bboth machines that might have to do with openldap, as there are /var/log/slapd.log, /var/log/system.log and /Library/Log/slapconfig.log. I also checked the log of th layer on top of openldap which is /Library/Log/DirectoryService.server.log. None of them revealed anything noticeable beside a lot of of entries that I have googled in the last few hours and which all dont seem to be associated with the problem in question.
    I will take a break now, but I have to fix this until tomorrow and I hope to get the ultimate hint from you, dear reader.
    Thanks and bye, Christian Völker

    ssh command failed with status 127
    That command is not allowed with the root account via public key authentication.
    Initial OD replication takes place via 'ssh'. If you have 'sshd' configured on the OD Master to authenticate with public keys then the OD replica will not be able to communicate with the OD Master via 'ssh'. You must configure the OD Master to use 'ssh' with password authentication and root login enabled.
    Demote the replica back to standalone. Stop any services that you may have running on the primary network interface. Then stop any services that you may have running on the secondary network interface. In the 'Network' System Prefpane remove the IP number from the secondary interface then deactivate the secondary network interface.
    Assign the private IP address and hostname that you wish to use for the replica to the primary network interface. Assign the 'public' IP number to the secondary interface. Check the DNS to see that the IP address and hostname for the primary network interface resolve both forward and reverse for the hostname of the replica that you have chosen. If it does not, fix your DNS before proceeding.
    In the 'Sharing' System Prefpane, change the name of the machine to the hostname (server.domain.tld) of the replica that you have chosen. Then use 'changeip -checkhostname' to see if the IP/hostname matches. Fix it if it doesn't.
    Then configure the /etc/sshd_config file on the OD master like this:
    \# Authentication:
    PermitRootLogin yes
    PasswordAuthentication yes
    PubkeyAuthentication no
    and the /etc/ssh_config file on the OD replica like this:
    PasswordAuthentication yes
    PubkeyAuthentication no
    Then from the OD replica as the 'root' user issue:
    slapconfig -createreplica <ODMasterIPorFQDN> <diradmin user>
    Make sure that the 'diradmin' user's password contains only alpha-numeric characters -no 'option-characters' or symbols, change it first if it does. Once the process completes, reactivate the secondary interface for the 'public' IP and check the configuration of services that will be using that IP, then start your other services. Secure the 'ssh' service on both machines to disable password authentication and 'root' logins.

Maybe you are looking for