Standby Database not succeeded

Hi experts, I need your assistance.
I am configuring physical stby database on the same host on oracle Release 11.1.0.6.0 win xp. But not not succeeded.
These are the steps I followed
Host name = sumanr
Primary database = orcl
Stby database = stby
1. On the same host I created the instance as 'stby' for the standby database using oradim
2. created the password file using orapwd
3. added the entry for stby databse in tnsnames and listener files
4. created the initstby.ora file with the single entry for db_name=orcl
5. started the stby database in nomount mode.
-------On Primary created the stby redologs
alter database add standby logfile group 4
('C:\app\oracle\oradata\orcl\sby_redo01.rdo') size 50M;
alter database add standby logfile group 5
('C:\app\oracle\oradata\orcl\sby_redo02.rdo') size 50M;
alter database add standby logfile group 6
('C:\app\oracle\oradata\orcl\sby_redo03.rdo') size 50M;
alter database add standby logfile group 7
('C:\app\oracle\oradata\orcl\sby_redo04.rdo') size 50M;
--------OnStandby
sqlplus / as sysdba
startup nomount
------On Primary  RMAN
connect target sys/oracle@orcl
connect auxiliary sys/oracle@stby
run {
   allocate channel c1 type disk;
   allocate auxiliary channel s1 type disk;
duplicate target database
        for standby
        from active database
        dorecover
        spfile
        parameter_value_convert 'orcl','stby'
        set db_unique_name='stby'
        set db_file_name_convert='orcl','stby'
        set log_file_name_convert='orcl','stby'
        set control_files='C:\app\oracle\oradata\stby\control01.ctl','C:\app\oracle\oradata\stby\control02.ctl','C:\app\oracle\oradata\stby\control03.ctl'
        set fal_client='stby'
        set fal_server='orcl'
        set standby_file_management='AUTO'
        set log_archive_config='dg_config=(orcl,stby)'
        set log_archive_dest_2='service=orcl LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=stby'
        set log_archive_dest_state_2='enable'
        set log_archive_format='stby_%t_%s_%r.arc';
  sql channel c1 "alter system archive log current";
run {
   allocate auxiliary channel s1 type disk;
   sql channel s1 "alter database recover managed standby database using current logfile disconnect";
}Now in stby when I check v$log, it gives
SQL> select * from v$log;
    GROUP#    THREAD#  SEQUENCE#      BYTES    MEMBERS ARC STATUS
FIRST_CHANGE# FIRST_TIM
         1          1          0   52428800          1 YES UNUSED
      2064244 17-AUG-09
         2          1          0   52428800          1 NO  CURRENT
      2064280 17-AUG-09
         3          1          0   52428800          1 YES UNUSED
      2063000 17-AUG-09where as in primary it is
SQL> select * from v$log;
    GROUP#    THREAD#  SEQUENCE#      BYTES    MEMBERS ARC STATUS
FIRST_CHANGE# FIRST_TIM
         1          1         67   52428800          1 NO  CURRENT
      2067534 17-AUG-09
         2          1         65   52428800          1 YES INACTIVE
      2067226 17-AUG-09
         3          1         66   52428800          1 YES INACTIVE
      2067532 17-AUG-09dont know what I am missing. Pl. help me.
Thnaks

Hello SYbrand
Thanks for your resply. I have created the stby redologs in the primary and RMAN is creating them in the standby database.As I checked in the standby
SQL> select type,member
  2  from v$logfile;
TYPE
MEMBER
ONLINE
C:\APP\ORACLE\ORADATA\STBY\REDO03.LOG
ONLINE
C:\APP\ORACLE\ORADATA\STBY\REDO02.LOG
ONLINE
C:\APP\ORACLE\ORADATA\STBY\REDO01.LOG
TYPE
MEMBER
STANDBY
C:\APP\ORACLE\ORADATA\STBY\SBY_REDO01.RDO
STANDBY
C:\APP\ORACLE\ORADATA\STBY\SBY_REDO02.RDO
STANDBY
C:\APP\ORACLE\ORADATA\STBY\SBY_REDO03.RDO
TYPE
MEMBER
STANDBY
C:\APP\ORACLE\ORADATA\STBY\SBY_REDO04.RDO
7 rows selected.
SQL>This is my RMAN outcome
Recovery Manager11.1.0.6.0
RMAN> connect auxiliary sys/oracle@stby
connected to auxiliary database: ORCL (not mounted)
RMAN> connect target sys/oracle@orcl
connected to target database: ORCL (DBID=1222322644)
RMAN>
RMAN>
RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24>
using target database control file instead of recovery catalog
allocated channel: c1
channel c1: SID=114 device type=DISK
allocated channel: s1
channel s1: SID=97 device type=DISK
Starting Duplicate Db at 17-AUG-09
contents of Memory Script:
   backup as copy reuse
   file  'C:\app\oracle\product\11.1.0\db_1\DATABASE\PWDorcl.ORA' auxiliary format
'C:\app\oracle\product\11.1.0\db_1\DATABASE\PWDstby.ORA'   file
'C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILEORCL.ORA' auxiliary format
'C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILESTBY.ORA'   ;
   sql clone "alter system set spfile= ''C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILESTBY.ORA''";
executing Memory Script
Starting backup at 17-AUG-09
Finished backup at 17-AUG-09
sql statement: alter system set spfile= ''C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILESTBY.ORA''
contents of Memory Script:
   sql clone "alter system set  audit_file_dest =
''C:\app\oracle\admin\stby\adump'' comment=
'''' scope=spfile";
   sql clone "alter system set  dispatchers =
''(PROTOCOL=TCP) (SERVICE=stbyXDB)'' comment=
'''' scope=spfile";
   sql clone "alter system set  db_unique_name =
''stby'' comment=
'''' scope=spfile";
   sql clone "alter system set  db_file_name_convert =
''orcl'', ''stby'' comment=
'''' scope=spfile";
   sql clone "alter system set  log_file_name_convert =
''orcl'', ''stby'' comment=
'''' scope=spfile";
   sql clone "alter system set  control_files =
''C:\app\oracle\oradata\stby\control01.ctl'', ''C:\app\oracle\oradata\stby\control02.ctl'', ''C:\app\oracle\oradata\stby\control03.ctl'' comment=
'''' scope=spfile";
   sql clone "alter system set  fal_client =
''stby'' comment=
'''' scope=spfile";
   sql clone "alter system set  fal_server =
''orcl'' comment=
'''' scope=spfile";
   sql clone "alter system set  standby_file_management =
''AUTO'' comment=
'''' scope=spfile";
   sql clone "alter system set  log_archive_config =
''dg_config=(orcl,stby)'' comment=
'''' scope=spfile";
   sql clone "alter system set  log_archive_dest_2 =
''service=orcl LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=stby'' comment=
'''' scope=spfile";
   sql clone "alter system set  log_archive_dest_state_2 =
''enable'' comment=
'''' scope=spfile";
   sql clone "alter system set  log_archive_format =
''stby_%t_%s_%r.arc'' comment=
'''' scope=spfile";
   shutdown clone immediate;
   startup clone nomount ;
executing Memory Script
sql statement: alter system set  audit_file_dest =  ''C:\app\oracle\admin\stby\adump'' comment= '''' scope=spfile
sql statement: alter system set  dispatchers =  ''(PROTOCOL=TCP) (SERVICE=stbyXDB)'' comment= '''' scope=spfile
sql statement: alter system set  db_unique_name =  ''stby'' comment= '''' scope=spfile
sql statement: alter system set  db_file_name_convert =  ''orcl'', ''stby'' comment= '''' scope=spfile
sql statement: alter system set  log_file_name_convert =  ''orcl'', ''stby'' comment= '''' scope=spfile
sql statement: alter system set  control_files =  ''C:\app\oracle\oradata\stby\control01.ctl'', ''C:\app\oracle\oradata\stby\control02.ctl'', ''C:\app\oracle\oradata\stby\control03.ctl'' comment= '''' scope=spfile
sql statement: alter system set  fal_client =  ''stby'' comment= '''' scope=spfile
sql statement: alter system set  fal_server =  ''orcl'' comment= '''' scope=spfile
sql statement: alter system set  standby_file_management =  ''AUTO'' comment= '''' scope=spfile
sql statement: alter system set  log_archive_config =  ''dg_config=(orcl,stby)'' comment= '''' scope=spfile
sql statement: alter system set  log_archive_dest_2 =  ''service=orcl LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=stby'' comment= '''' scope=spfile
sql statement: alter system set  log_archive_dest_state_2 =  ''enable'' comment= '''' scope=spfile
sql statement: alter system set  log_archive_format =  ''stby_%t_%s_%r.arc'' comment= '''' scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area     535662592 bytes
Fixed Size                     1334380 bytes
Variable Size                171967380 bytes
Database Buffers             356515840 bytes
Redo Buffers                   5844992 bytes
contents of Memory Script:
   backup as copy current controlfile for standby auxiliary format  'C:\APP\ORACLE\ORADATA\STBY\CONTROL01.CTL';
   restore clone controlfile to  'C:\APP\ORACLE\ORADATA\STBY\CONTROL02.CTL' from
'C:\APP\ORACLE\ORADATA\STBY\CONTROL01.CTL';
   restore clone controlfile to  'C:\APP\ORACLE\ORADATA\STBY\CONTROL03.CTL' from
'C:\APP\ORACLE\ORADATA\STBY\CONTROL01.CTL';
   sql clone 'alter database mount standby database';
executing Memory Script
Starting backup at 17-AUG-09
channel c1: starting datafile copy
copying standby control file
output file name=C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SNCFORCL.ORA tag=TAG20090817T150925 RECID=19 STAMP=695142585
channel c1: datafile copy complete, elapsed time: 00:00:15
Finished backup at 17-AUG-09
Starting restore at 17-AUG-09
channel clone_default: skipped, AUTOBACKUP already found
channel c1: copied control file copy
Finished restore at 17-AUG-09
Starting restore at 17-AUG-09
channel clone_default: skipped, AUTOBACKUP already found
channel c1: copied control file copy
Finished restore at 17-AUG-09
sql statement: alter database mount standby database
contents of Memory Script:
   set newname for tempfile  1 to
"C:\APP\ORACLE\ORADATA\STBY\TEMP01.DBF";
   set newname for tempfile  2 to
"C:\APP\ORACLE\ORADATA\STBY\CHECKUP_TEMP_1";
   set newname for tempfile  3 to
"C:\APP\ORACLE\ORADATA\STBY\CHECKUP_TEMP_2";
   switch clone tempfile all;
   set newname for datafile  1 to
"C:\APP\ORACLE\ORADATA\STBY\SYSTEM01.DBF";
   set newname for datafile  2 to
"C:\APP\ORACLE\ORADATA\STBY\SYSAUX01.DBF";
   set newname for datafile  3 to
"C:\APP\ORACLE\ORADATA\STBY\UNDOTBS01.DBF";
   set newname for datafile  4 to
"C:\APP\ORACLE\ORADATA\STBY\USERS01.DBF";
   set newname for datafile  5 to
"C:\APP\ORACLE\ORADATA\STBY\EXAMPLE01.DBF";
   set newname for datafile  6 to
"C:\APP\ORACLE\ORADATA\STBY\CHECKUP_DFLT.DAT";
   backup as copy reuse
   datafile  1 auxiliary format
"C:\APP\ORACLE\ORADATA\STBY\SYSTEM01.DBF"   datafile
2 auxiliary format
"C:\APP\ORACLE\ORADATA\STBY\SYSAUX01.DBF"   datafile
3 auxiliary format
"C:\APP\ORACLE\ORADATA\STBY\UNDOTBS01.DBF"   datafile
4 auxiliary format
"C:\APP\ORACLE\ORADATA\STBY\USERS01.DBF"   datafile
5 auxiliary format
"C:\APP\ORACLE\ORADATA\STBY\EXAMPLE01.DBF"   datafile
6 auxiliary format
"C:\APP\ORACLE\ORADATA\STBY\CHECKUP_DFLT.DAT"   ;
   sql 'alter system archive log current';
executing Memory Script
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
renamed tempfile 1 to C:\APP\ORACLE\ORADATA\STBY\TEMP01.DBF in control file
renamed tempfile 2 to C:\APP\ORACLE\ORADATA\STBY\CHECKUP_TEMP_1 in control file
renamed tempfile 3 to C:\APP\ORACLE\ORADATA\STBY\CHECKUP_TEMP_2 in control file
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting backup at 17-AUG-09
channel c1: starting datafile copy
input datafile file number=00006 name=C:\APP\ORACLE\ORADATA\ORCL\CHECKUP_DFLT.DAT
output file name=C:\APP\ORACLE\ORADATA\STBY\CHECKUP_DFLT.DAT tag=TAG20090817T151028 RECID=0 STAMP=0
channel c1: datafile copy complete, elapsed time: 00:02:55
channel c1: starting datafile copy
input datafile file number=00001 name=C:\APP\ORACLE\ORADATA\ORCL\SYSTEM01.DBF
output file name=C:\APP\ORACLE\ORADATA\STBY\SYSTEM01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
channel c1: datafile copy complete, elapsed time: 00:00:35
channel c1: starting datafile copy
input datafile file number=00002 name=C:\APP\ORACLE\ORADATA\ORCL\SYSAUX01.DBF
output file name=C:\APP\ORACLE\ORADATA\STBY\SYSAUX01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
channel c1: datafile copy complete, elapsed time: 00:00:35
channel c1: starting datafile copy
input datafile file number=00005 name=C:\APP\ORACLE\ORADATA\ORCL\EXAMPLE01.DBF
output file name=C:\APP\ORACLE\ORADATA\STBY\EXAMPLE01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
channel c1: datafile copy complete, elapsed time: 00:00:07
channel c1: starting datafile copy
input datafile file number=00003 name=C:\APP\ORACLE\ORADATA\ORCL\UNDOTBS01.DBF
output file name=C:\APP\ORACLE\ORADATA\STBY\UNDOTBS01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
channel c1: datafile copy complete, elapsed time: 00:00:03
channel c1: starting datafile copy
input datafile file number=00004 name=C:\APP\ORACLE\ORADATA\ORCL\USERS01.DBF
output file name=C:\APP\ORACLE\ORADATA\STBY\USERS01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
channel c1: datafile copy complete, elapsed time: 00:00:03
Finished backup at 17-AUG-09
sql statement: alter system archive log current
contents of Memory Script:
   backup as copy reuse
   archivelog like  "C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC00067_0694541910.001" auxiliary format
"C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_%U_.ARC"   archivelog like
"C:\APP\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2009_08_17\O1_MF_1_67_58LLGDYR_.ARC" auxiliary format
"C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_%U_.ARC"   ;
   catalog clone recovery area;
   switch clone datafile all;
executing Memory Script
Starting backup at 17-AUG-09
channel c1: starting archived log copy
input archived log thread=1 sequence=67 RECID=119 STAMP=695142910
output file name=C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC RECID=0 STAMP=0
channel c1: archived log copy complete, elapsed time: 00:00:01
channel c1: starting archived log copy
input archived log thread=1 sequence=67 RECID=120 STAMP=695142910
output file name=C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2JKMU2G4_.ARC RECID=0 STAMP=0
channel c1: archived log copy complete, elapsed time: 00:00:01
Finished backup at 17-AUG-09
searching for all files in the recovery area
List of Files Unknown to the Database
=====================================
File Name: C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC
File Name: C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2JKMU2G4_.ARC
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC
File Name: C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2JKMU2G4_.ARC
datafile 1 switched to datafile copy
input datafile copy RECID=19 STAMP=695142923 file name=C:\APP\ORACLE\ORADATA\STBY\SYSTEM01.DBF
datafile 2 switched to datafile copy
input datafile copy RECID=20 STAMP=695142923 file name=C:\APP\ORACLE\ORADATA\STBY\SYSAUX01.DBF
datafile 3 switched to datafile copy
input datafile copy RECID=21 STAMP=695142923 file name=C:\APP\ORACLE\ORADATA\STBY\UNDOTBS01.DBF
datafile 4 switched to datafile copy
input datafile copy RECID=22 STAMP=695142924 file name=C:\APP\ORACLE\ORADATA\STBY\USERS01.DBF
datafile 5 switched to datafile copy
input datafile copy RECID=23 STAMP=695142924 file name=C:\APP\ORACLE\ORADATA\STBY\EXAMPLE01.DBF
datafile 6 switched to datafile copy
input datafile copy RECID=24 STAMP=695142924 file name=C:\APP\ORACLE\ORADATA\STBY\CHECKUP_DFLT.DAT
contents of Memory Script:
   set until scn  2080890;
   recover
   standby
   clone database
    delete archivelog
executing Memory Script
executing command: SET until clause
Starting recover at 17-AUG-09
starting media recovery
archived log for thread 1 with sequence 67 is already on disk as file C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC
archived log file name=C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC thread=1 sequence=67
media recovery complete, elapsed time: 00:00:03
Finished recover at 17-AUG-09
Finished Duplicate Db at 17-AUG-09
sql statement: alter system archive log current
released channel: c1

Similar Messages

  • Standby Database not syncronized with primary.

    DB: 10.2.0.4.0
    OS RedHat Linux
    My standby Database not syncronized with primary, because of space issue mrp process was stopped.
    During that we added 4 datafile in primary database in that case how we can sync standby database?
    There are no unamed files on standby database.
    SQL> select name from v$datafile where name like '%UNNAME%';
    no rows selected

    Prath wrote:
    When i trying to recover database getting below error:
    Starting recover at 11-DEC-10
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 12/11/2010 12:00:23
    RMAN-06094: datafile 73 must be restored
    Note: Datafile 73 not available on standby database.Execute select name from v$datafile statement from standby and post there.
    (Of course you can rebuild standby database again ,create standby controlfile and copy all datafiles)

  • Manual Standby Database not in sync with missing archivelogs

    Hello,
    OS: Solaris
    DB: Oracle 11.2.0.1 EE
    Not Using ASM or RAC
    I have a Production database that is in archivelog mode and a Standby DR server.
    Both servers (Prod, Standby) have exact same structure and db name/version.
    We manually scp archive logs and recover them to a manual standby database via SQL Scripts "cron". (I.E. set autorecovery on; recover standby database;)
    We recently got out of sync with our log files and have not been applying them to the standby. As part of Prod Maintenance, these log files were deleted and are not available anymore.
    I've tried several ways to "rebuild" our standby database. I have tried to Shutdown prod, backup all the db files and scp them to standby, re-create standby controlfile and startup mount and recover standby.
    Every time I try to apply a new archive log via recover standby, these are the errors:
    ORA-00279: change 211077622 generated at 1/27/2012 12:18:42 needed for thread 1
    ORA-00289: suggestion : /oradump/arch/PROD/PROD_arch_1_69486_736618850.arc
    ORA-00280: change 211077622 for thread 1 is in sequence #69486
    ORA-00308: cannot open archived log '/oradump/arch/PROD/PROD_arch_1_69486_736618850.arc'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    ORA-10879: error signaled in parallel recovery slave
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/oradevices/PROD/oraPRODsystem1.dbf'
    When I check v$log_history, the new logs have not been applied.
    I've also tried the "Restore from incremental backup via SCN" method with same results.
    Is there a way to re-create the standby clean and ensure that the log chain that is currently broken gets fixed or reset?
    I would eventually like to get DataGuard in here, but that's not the case at the moment.
    Thanks for your suggestions.
    -Dav

    if you are using the cold backup to create the standby database, Check that have you followed the following steps or not.
    1. remove
    all the datafiles and controlfiles from the standby database.
    2. Create a new standby controlfile of the production for standby using the following cmd
    'alter database create standby controlfile as 'Location';'
    3. move the new controlfile to standby database server location as specified in initialization parameter file.
    4. Restore all the datafiles to its appropriate loaction which was taken through cold backup.
    5. startup nomount
    6. alter database mount standby database;
    7. recover standby database.
    scp the archive log sequence that is asked by the database, from production.
    You can try this steps.

  • Issue with physical standby database not in sync with primary

    Hi,
    I created an physical standby database couple of Hours back . I am trying to keep the standby database in Managed recovery mode to make the standby in sync with primary but it is throwing the below erros. Please share your suggestion ...
    SQL> select thread#,max(sequence#) from v$log_history group by thread#;
    THREAD# MAX(SEQUENCE#)
    1 7
    PROCESS STATUS THREAD# SEQUENCE#
    ARCH CONNECTED 0 0
    ARCH CONNECTED 0 0
    RFS OPENING 1 12
    ALERT LOG :
    Tue Mar 20 07:31:32 2012
    alter database recover managed standby database disconnect from session
    Tue Mar 20 07:31:32 2012
    Attempt to start background Managed Standby Recovery process (PRIMARY)
    MRP0 started with pid=18, OS id=16370
    Tue Mar 20 07:31:32 2012
    MRP0: Background Managed Standby Recovery process started (PRIMARY)
    Managed Standby Recovery not using Real Time Apply
    parallel recovery started with 8 processes
    Media Recovery Log /oracle/STDBY/arch/1_3_777567883.dbf
    Tue Mar 20 07:31:39 2012
    Completed: alter database recover managed standby database disconnect from session
    Tue Mar 20 07:31:54 2012
    Incomplete recovery applied all redo ever generated.
    Recovery completed through change 9677325080303
    Tue Mar 20 07:31:54 2012
    MRP0: Media Recovery Complete (PRIMARY)
    Tue Mar 20 07:31:55 2012
    MRP0: Background Media Recovery process shutdown (PRIMARY)
    Thanks,
    Rakesh

    HI CKPT,
    Thanks for the reply. All the Archives from primary are transferred to the standby by RFS. Also i tried to register the log files manually even but it says already registered. They are no errors in the primary instance alert log file. Please find the log
    SEVERITY ERROR_CODE MESSAGE TO_CHAR(TIMESTAMP,'D
    Informational 0 ARC0: Archival started 20-MAR-2012 06:51:36
    Informational 0 ARC1: Archival started 20-MAR-2012 06:51:36
    Informational 0 ARC0: Becoming the 'no FAL' ARCH 20-MAR-2012 06:51:36
    Informational 0 ARC0: Becoming the 'no SRL' ARCH 20-MAR-2012 06:51:36
    Informational 0 ARC1: Becoming the heartbeat ARCH 20-MAR-2012 06:51:36
    Informational 0 Redo Shipping Client Connected as PUBLIC 20-MAR-2012 06:52:07
    Informational 0 -- Connected User is Valid 20-MAR-2012 06:52:07
    Informational 0 RFS[1]: Assigned to RFS process 15934 20-MAR-2012 06:52:07
    Informational 0 RFS[1]: Identified database type as 'physical standby' 20-MAR-2012 06:52:07
    Warning 0 RFS[1]: No standby redo logfiles created 20-MAR-2012 06:52:07
    Control 0 Attempt to start background Managed Standby Recovery process 20-MAR-2012 06:52:42
    Control 0 MRP0: Background Managed Standby Recovery process started 20-MAR-2012 06:52:42
    Informational 0 Managed Standby Recovery not using Real Time Apply 20-MAR-2012 06:52:47
    Informational 0 Media Recovery Log /oracle/STDBY/arch/1_3_777567883.d 20-MAR-2012 06:52:49
    bf
    Control 0 MRP0: Media Recovery Complete 20-MAR-2012 06:53:04
    Control 0 MRP0: Background Media Recovery process shutdown 20-MAR-2012 06:53:06
    Informational 0 Managed Standby Recovery not using Real Time Apply 20-MAR-2012 06:53:24
    Control 0 Media Recovery Complete 20-MAR-2012 06:53:43
    Control 0 Attempt to start background Managed Standby Recovery process 20-MAR-2012 06:54:55
    Control 0 MRP0: Background Managed Standby Recovery process started 20-MAR-2012 06:54:55
    Informational 0 Managed Standby Recovery not using Real Time Apply 20-MAR-2012 06:55:00
    Informational 0 Media Recovery Log /oracle/STDBY/arch/1_3_777567883.d 20-MAR-2012 06:55:01
    bf
    Control 0 MRP0: Media Recovery Complete 20-MAR-2012 06:55:17
    Control 0 MRP0: Background Media Recovery process shutdown 20-MAR-2012 06:55:18
    Informational 0 Redo Shipping Client Connected as PUBLIC 20-MAR-2012 07:31:03
    Informational 0 -- Connected User is Valid 20-MAR-2012 07:31:03
    Informational 0 RFS[2]: Assigned to RFS process 16366 20-MAR-2012 07:31:03
    Informational 0 RFS[2]: Identified database type as 'physical standby' 20-MAR-2012 07:31:03
    Warning 0 RFS[2]: No standby redo logfiles created 20-MAR-2012 07:31:04
    Warning 0 RFS[2]: No standby redo logfiles created 20-MAR-2012 07:31:06
    Control 0 Attempt to start background Managed Standby Recovery process 20-MAR-2012 07:31:32
    Control 0 MRP0: Background Managed Standby Recovery process started 20-MAR-2012 07:31:32
    Informational 0 Managed Standby Recovery not using Real Time Apply 20-MAR-2012 07:31:37
    Informational 0 Media Recovery Log /oracle/STDBY/arch/1_3_777567883.d 20-MAR-2012 07:31:38
    bf
    Control 0 MRP0: Media Recovery Complete 20-MAR-2012 07:31:54
    Control 0 MRP0: Background Media Recovery process shutdown 20-MAR-2012 07:31:55
    36 rows selected.
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination /oracle/STDBY/arch/
    Oldest online log sequence 13
    Next log sequence to archive 0
    Current log sequence 14
    SQL> ho ls -ltra /oracle/STDBY/arch/
    total 3754456
    drwxr-xr-x 4 oracle dba 4096 Feb 13 17:38 ..
    -rw-r----- 1 oracle dba 908516864 Mar 20 06:37 1_8_777567883.dbf
    -rw-r----- 1 oracle dba 770419200 Mar 20 06:40 1_3_777567883.dbf
    -rw-r----- 1 oracle dba 757698048 Mar 20 06:41 1_4_777567883.dbf
    -rw-r----- 1 oracle dba 5171712 Mar 20 06:41 1_5_777567883.dbf
    -rw-r----- 1 oracle dba 1060801024 Mar 20 06:43 1_6_777567883.dbf
    -rw-r----- 1 oracle dba 323025920 Mar 20 06:43 1_7_777567883.dbf
    -rw-r----- 1 oracle dba 1558016 Mar 20 06:43 1_9_777567883.dbf
    -rw-r----- 1 oracle dba 4608 Mar 20 06:43 1_10_777567883.dbf
    -rw-r----- 1 oracle dba 1579008 Mar 20 06:52 1_11_777567883.dbf
    -rw-r----- 1 oracle dba 11876864 Mar 20 07:31 1_12_777567883.dbf
    -rw-r----- 1 oracle dba 2560 Mar 20 07:31 1_13_777567883.dbf
    drwxr-xr-x 2 oracle dba 36864 Mar 20 07:31 .
    SQL>

  • Logical Standby Database Not Getting Sync With Primary Database

    Hi All,
    I am using a Primary DB and Logical Standby DB configuration in Oracle 10g:-
    Version Name:-
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE 10.2.0.5.0 Production
    TNS for Solaris: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    We have build the logical standby last week and till date the Logical DB is not sync. I have checked the init parameters and I wont see any problems with it. Also archive log destinations are also fine enough.
    We have a important table named "HPD_HELPDESK" where record count is growing gradually whereas in logical standby it's not growing. There are some 19K record difference in the both the tables.
    I have checked the alert log but it is also not giving any error message. Please find the last few lines of the alert log in logical Database:-
    RFS LogMiner: Registered logfile [oradata_san1/oradata/remedy/arch/ars1_1703_790996778.arc] to LogMiner session id [1]
    Tue Aug 28 14:56:52 GMT 2012
    RFS[2853]: Successfully opened standby log 5: '/oracle_data/oradata/remedy/stbyredo01.log'
    Tue Aug 28 14:56:58 GMT 2012
    RFS LogMiner: Client enabled and ready for notification
    Tue Aug 28 14:57:00 GMT 2012
    RFS LogMiner: Registered logfile [oradata_san1/oradata/remedy/arch/ars1_1704_790996778.arc] to LogMiner session id [1]
    Tue Aug 28 15:06:40 GMT 2012
    RFS[2854]: Successfully opened standby log 5: '/oracle_data/oradata/remedy/stbyredo01.log'
    Tue Aug 28 15:06:47 GMT 2012
    RFS LogMiner: Client enabled and ready for notification
    Tue Aug 28 15:06:49 GMT 2012
    RFS LogMiner: Registered logfile [oradata_san1/oradata/remedy/arch/ars1_1705_790996778.arc] to LogMiner session id [1]
    I am not able to trace the issue that why the records are not growing in logical DB. Please provide your inputs.
    Regards,
    Arijit

    How do you know that there's such a gap between the tables?
    If your standby db is a physical standby, then it is not open and you can't query your table without cancelling the recovery of the managed standby database.
    What does it say if you execute this sql?
    SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#, BLOCKS FROM V$MANAGED_STANDBY;The ARCH processes should be connected and MRP waiting for a file.
    If you query for the archive_gaps, do you get any hits?
    select * from gv$archive_gapIf you're not working in a RAC environment you need to query v$archive_gap, instead!
    Did you check whether the archives generated from the primary instance are transferred and present in the file system of your standby database?
    I believe your standby is not in recovery_mode anymore or has an archive_gap, which is the reason why it doesn't catch up anymore.
    Hope it helps a little,
    Regards,
    Sebastian
    PS: I'm working on 11g, so unfortunately I'm not quite sure if the views are exist in 10gR2. It's worth a try though!
    Edited by: skahlert on 31.08.2012 13:46

  • Standby database not configure while keep database files in different place

    Dear Friends ,
    I have to successfully configured "PHYSICAL STANDBY DATABASE" within the TWO databases ("PRIM" and "STAN" Database) when I kept datafile, controlfile and redolog files in the same location (like, "/u01/app/oracle/oradata/prim" location .
    In this successful configuration , I have to add the below two lines into the initprim.ora and initstan.ora both server respectively ...
    initprim.ora:
    ========
    DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/stan','/u01/app/oracle/oradata/prim'
    LOG_FILE_NAME_CONVERT='/u01/app/oracle/flash_recovery_area/stan','/u01/app/oracle/flash_recovery_area/prim'
    initstan.ora:
    ========
    DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/prim','/u01/app/oracle/oradata/stan'
    LOG_FILE_NAME_CONVERT='/u01/app/oracle/flash_recovery_area/prim','/u01/app/oracle/flash_recovery_area/stan'Now , in second scenario , I have to change Primary database server's datafile, controlfile and redolog file in the below folder :
    controlfile --> "/u01/app/oracle/oradata/prim/ctrlfile"
    redologfile --> "/u01/app/oracle/oradata/prim/redofile"
    datafile --> "/u01/app/oracle/oradata/prim/datafile"
    Similarly I have to create same folder in my STAN database server accordingly . and also add the above lines in same way :
    initprim.ora:
    ========
    DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/stan','/u01/app/oracle/oradata/prim'
    LOG_FILE_NAME_CONVERT='/u01/app/oracle/flash_recovery_area/stan','/u01/app/oracle/flash_recovery_area/prim'
    initstan.ora:
    ========
    DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/prim','/u01/app/oracle/oradata/stan'
    LOG_FILE_NAME_CONVERT='/u01/app/oracle/flash_recovery_area/prim','/u01/app/oracle/flash_recovery_area/stan'Keeping the above situation when I run the below command in STAN database server :
    [oracle@test ~]$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Nov 15 23:15:43 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 599785472 bytes
    Fixed Size 1220772 bytes
    Variable Size 163581788 bytes
    Database Buffers 427819008 bytes
    Redo Buffers 7163904 bytes
    Database mounted.
    SQL> alter database recover managed standby database disconnect from session;
    Database altered.
    The Command execute successfully but in the alert log of the STAN database server ,I get the below error :
    Completed: alter database recover managed standby database disconnect from session
    Mon Nov 15 22:46:52 2010
    Clearing online redo logfile 1 complete
    Mon Nov 15 22:46:52 2010
    Errors in file /u01/app/oracle/admin/stan/bdump/stan_mrp0_3695.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/prim/redofile/redo02.log'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Mon Nov 15 22:46:52 2010
    Errors in file /u01/app/oracle/admin/stan/bdump/stan_mrp0_3695.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/prim/redofile/redo02.log'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3But I already created the above mention folder "'/u01/app/oracle/oradata/prim/redofile" successfully and the redo log files are also created there successfully , but I cannot understand why this error is showed ? And also no archivelogs are shifted from PRIM database server to STAN database server .
    Would u plz suggest me , why I cannot configure Physical Standby Database when I keep my database fles in the separate location ?
    help me plz ... ...

    Hi,
    I'm missing the steps you took renaming/moving the files on the primary.
    Since the location of datafiles is stored in the control file the controlfile of the standby might not know the new location yet.
    I suggest you read this http://www.cs.bris.ac.uk/maintain/OracleDocs/server.816/a76995/standby.htm#23603 and see if that helps
    Success,
    FJFranken

  • Standby database not working after reinstallation of oracle in primary DB

    Hello All,
    Initially I had setup primary database (DB1) and Standby database (DB2), for test environment.
    In DB1 I had got ORA-600 error. So, after I researched, I came to know that I need to apply some patches. But I reinstalled oracle in DB1. And the problem was solved in DB1.
    After that, I issued the following commands in DB2, but I got error
    SQL>SHUTDOWN IMMEDIATE;
    ORA-01034: Oracle not available
    ORA-27101: shared memory realm does not exist
    SQL>STARTUP MOUNT;
    ORA-27102: out of memoryNow, I mean to say, both DB1 and DB2 are independent.
    Also, DB2 is not active since 2 months
    DB1 is working fine.
    Please guide me with procedure, how to configure DB2 for the current DB1

    Hello;
    After two months I would rebuild.
    If you are on Oracle 11 you can use RMAN to do this quickly.
    Here's a few short notes :
    http://www.visi.com/~mseberg/duprman2.html
    http://www.visi.com/~mseberg/standby_creation_from_active_database_using_rman.html
    Can you post your full oracle version and Primary database size?
    If you rebuild I would remove all the data files from the Standby, recopy the password file from the Primary to the Standby and double my tnsnames.ora and listener.ora on both servers.
    Best Regards
    mseberg

  • Add Standby Database not finding listener

    in Enterprise Manager Cloud Control 12c 12.1.0.2
    go to the primary database
    go to Availability and choose Add Standby Database
    create a new physical standby database
    online backup - use rman
    enter instance name and choose host (agent is on standby host machine and is working)
    enter password if prompted
    Enter Database Area
    Enter Flash Recovery Area
    both 'Use Default Grid Infrastructure Listener' and 'use destination database home listener' fail:
    The default listener in the grid infrastructure is not running
    my listener is in the grid infrastructure, and the enterprise manager sees it as a target that is up.
    Status  Up
    Availability (%)  100
      (Last 24 Hours)
    Alias  LISTENER
    Version  11.2.0.3.0
    Oracle Home  C:\app\product\11.2.0\grid
    Net Address  (ADDRESS=(PROTOCOL=TCP)(HOST=server_name)(PORT=1521))
    LISTENER.ORA Location  C:\app\product\11.2.0\grid\network\admin
    Start Time  Jan 24, 2013 4:34:36 PM
    Host  server_name
    Oracle Restart  Enabled

    stopping the grid listener and creating a listener in the database home worked..
    still currious why the grid listener didnt work..

  • Ora-38500 physical standby database not started

    hiiii,
    When i executed the command at physical standby database server.
    it give error:
    To start real-time apply:
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE
    2> USING CURRENT LOGFILE;
    Error at line 1:
    ORA: 38500 using current logfile option not available without stand.
    please help me how could i start physical standby database
    Regards
    Vaibhav Dixit

    Hi Vaibhav,
    What exactly do you want to do?
    Alter database recover managed standby database; --->it will be in Manged Recovery mode.
    Alter database mount standby database; ----> it will be mounted, but no log files applies.
    Alter database open read only; ----> it will be open with read only option, but archeive logs will NOT be applied
    If you want to apply the Archive logs which are trasfered from Primary, then you need to fire the below commands
    Alter database recover managed standby database;
    Alter database recover managed standby database using current logfile;
    Alter database recover managed standby database using current logfile disconnect from session;
    To stop applying archives then,
    Alter database recover managed standby database cancel;
    Thanks and Regards.
    tnaresh1982

  • 10gR2 Logical Standby database not applying logs

    No errors are appearing in the logs and I've started the apply process :ALTER DATABASE START LOGICAL STANDBY APPLY but when I query dba_logstdby_log, none of the logs for the last 4 days shows as applied and the first SCN is still listed as current. Any thoughts on where I should start looking?
    the latest event in DBA_LOGSTDBY_EVENTS is the startup of the log mining and apply.
    I do not have standby redo logs so I cannot do real time apply, though I am looking to implementing this. Obviously, this is pretty new to me.

    Sorry I didn't mention this before, the logs are being transferred, I verified their location on the os and it matches the location in the dba_logstdby_log view.

  • Standby database not applying archivelogs, manually apply after registering

    Hi
    I have a small problem with physical standby db.
    Standby db was created and it was working fine, was applying logs with no problem. One day I had to switch it to read only mode, it stayed in this mode for quiet a while. Then there was a problem with space for archive logs. I fixed this, copied missing logs, registered them and these were applied.
    And then database stopped on the sequence which was automatically registered by primary database.
    v$managed_standby:
    PROCESS STATUS CLIENT_P SEQUENCE# DELAY_MINS BLOCK#
    ARCH CLOSING ARCH 19667 0 126977
    ARCH CLOSING ARCH 19668 0 133121
    MRP0 WAIT_FOR_LOG N/A 19600 0 0
    As you can see there is WAIT_FOR_LOG sequence 19600 which should be applied, which is in the directory, to which oracle user has rights to read etc, etc.
    Only way to force database to apply this log is to manually register it, but I have to add "or replace", because file is already registered.
    /path/dbsid1_19600_668777138.log 2 19600 YES NO NO A 28-OCT-09 28-OCT-09
    alter database register or replace physical logfile '/path/dbsid1_19600_668777138.log';
    After this I have:
    /path/dbsid_19600_668777138.log 2 19600 YES NO NO A 28-OCT-09 28-OCT-09
    /path/dbsid_19600_668777138.log 0 19600 YES YES NO A 29-OCT-09 28-OCT-09
    Registering this file causes applying at once.
    In pfile on primary:
    log_archive_dest_2 string SERVICE=DRSTDB2 ARCH DELAY=2880
    Pay attention - destination 2.
    Question is obvious - why logs are not applied automatically?
    Why logs ARE applying manually but the DEST_ID is set to 0?
    There was no major structure change in primary, besides - logs are applied after all. Bouncing the database doesn't give me any good, switching to readonly and back to recovery mode neither.
    Please can you help? I can build this standby again but this is not a solution.
    Any additional info on request.
    Regards
    Jarek Jozwik
    Edited by: user11281267 on 30-Oct-2009 06:15

    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 ?

  • Standby Database not working

    Hi I have created one standby DB for Oracle 10.1.0.2.0 on same server for the primary Db.As per Oracle docs I have configured everything but when I do logswitch on primary DB and then check the standby DB as...
    SELECT SEQUENCE#, FIRST_TIME, NEXT_TIME
    FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;
    it shows no records, that means it is not working.
    I have created standby redolog file in the primary DB , as I am using LGWR ASYN mode of redo transform but when I do..
    SQL> SELECT GROUP#,THREAD#,SEQUENCE#,ARCHIVED,STATUS FROM V$STANDBY_LOG;
    GROUP# THREAD# SEQUENCE# ARC STATUS
    4 2 0 YES UNASSIGNED
    it show the status unaccessed.
    please help me to sort out this problem....
    Regards

    Hi
    Thanks to all. Yes I checked the alert logs for both DB, there was some problems due to DB_FILE_NAME_CONVERT ini parameter setting. after I fixed that, I am getting this error in lgwr.trc file
    Dump file c:\oracle\product\10.1.0\admin\orcl\bdump\orcl_lgwr_1368.trc
    Tue Mar 11 15:39:17 2008
    ORACLE V10.1.0.2.0 - Production vsnsta=0
    vsnsql=13 vsnxtr=3
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Windows XP Version V5.1 Service Pack 2
    CPU : 1 - type 586
    Process Affinity: 0x00000000
    Memory (A/P) : PH:14M/255M, PG:123M/909M, VA:1749M/2047M
    Instance name: orcl
    Redo thread mounted by this instance: 1
    Oracle process number: 5
    Windows thread id: 1368, image: ORACLE.EXE (LGWR)
    *** SERVICE NAME:() 2008-03-11 15:39:17.008
    *** SESSION ID:(167.1) 2008-03-11 15:39:17.008
    LGWR: Archivelog for thread 1 sequence 42 will NOT be compressed
    *** 2008-03-11 15:39:17.227 47100 kcrr.c
    Making upidhs request to NetServer -1 (ocis 0x05FCE6E0)
    ERROR: kcrrnsupidhs nsidx=-1
    *** 2008-03-11 15:39:17.258 45203 kcrr.c
    Initializing NetServer for dest=stby
    Initializing PGA storage for Netserver communication
    Allocating a brand new NetServer
    Allocated NetServer 0
    NetServer 0 has been started.
    Subscribing to KSR Channel 0
    success!
    Indicating recv buffer for KSR Channel 0
    success
    Waiting for Netserver 0 to initialize itself
    *** 2008-03-11 15:39:20.415 45488 kcrr.c
    Netserver 0 has been initialized
    LGWR performing a channel reset to ignore previous responses
    LGWR connecting as publisher to KSR Channel 0
    LGWR-NS 0 initialized for destination=stby
    *** 2008-03-11 15:39:20.415 45982 kcrr.c
    Making upiahm request to NetServer 0
    Waiting for NetServer 0 to respond to upiahm
    *** 2008-03-11 15:39:24.274 47100 kcrr.c
    Making upidhs request to NetServer 0 (ocis 0x05FCE6E0)
    NetServer pid:2916
    *** 2008-03-11 15:39:24.274 47331 kcrr.c
    upidhs done status 1031
    *** 2008-03-11 15:39:24.274 46176 kcrr.c
    upiahm connect done status is 1031
    Error 1031 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'stby'
    *** 2008-03-11 15:39:24.274 47100 kcrr.c
    Making upidhs request to NetServer -1 (ocis 0x05FCE6E0)
    ERROR: kcrrnsupidhs nsidx=-1
    Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'stby'
    ORA-01031: insufficient privileges
    *** 2008-03-11 15:39:24.336 52124 kcrr.c
    LGWR: Error 1031 creating archivelog file 'stby'
    *** 2008-03-11 15:39:24.383 50571 kcrr.c
    kcrrfail: dest:2 err:1031 force:0 blast:1
    *** 2008-03-11 15:39:37.680
    Old character set id was US7ASCII
    *** 2008-03-11 15:39:38.055
    New character set id is WE8MSWIN1252
    now how to give privilege to the service 'stby'.
    please give me some guidance.
    regards

  • Configuring DG's Standby database in 10g Grid Control monitoring.

    Hi.
    I am facing issues to configure "for monitoring" the standby instance of a 10g database. If someone on this forum have experience, please share, will be greatly appreciated.
    Thanks
    /SKH

    FYI we have a tar open on this "standby databases not monitored correctly" ie grid is trying to collect metric from a sb db when it can not b/c its only mounted. The fix will be in 10.2.0.4. We are pushing for a back port to 10.2.0.3 b/c we missed a corruption in our sb db b/c we could not monitor the values and apply different templates.

  • Physical Standby database Vs. Logical Standby database

    I have few questions regarding capability of Logical Standby Database against Physical Standby database.
    1. How efficient is Logical Standby database in terms of Physical Standby Database?? How both differ from each other and can I use Logical Standby Database for disaster Recovery?? Can It be use for recovering the failed Primary Instance?? If yes how efficient and reliable it is??
    2. What are the known bugs and roadblocks for logical standby database on Oracle 10.2.0.1 on Soalris X86-64?
    3.As logical standby database not going to replicate each and every schema of Primary database?? how is the change management effects to the logical standby from primary?? I mean there are some parameters and job that we create on primary how can it be transferred over to the logical standby??

    1. How efficient is Logical Standby database in terms
    of Physical Standby Database?? How both differ from
    each other and can I use Logical Standby Database for
    disaster Recovery?? Can It be use for recovering the
    failed Primary Instance?? If yes how efficient and
    reliable it is??I'm not sure what sort of "efficiency" you're talking about here...
    Physical standby is just the old, tried and true application of archived logs to recover a database. Very solid, very old school.
    Logical standby, on the other hand, is parsing the redo log, extracting logical change records, and applying them to the standby database. This obviously takes a bit more processing effort, it's newer technology, it doesn't have quite the level of support that physical standby does (i.e. certain data types are excluded), etc. You certainly can use it for failover, but it isn't quite as robust as a physical standby. Of course, this is getting better and better all the time and is definitely a focus of Oracle's development efforts.
    On the other hand, logical standby systems can do things other than act as a warm standby. They can be open serving reports, for example. You can create additional structures (i.e. new materialized views) to support reporting. A physical standby is pretty much always going to be in managed recovery mode, so it cannot be queried.
    2. What are the known bugs and roadblocks for logical
    standby database on Oracle 10.2.0.1 on Soalris
    X86-64?a) You'll want to do a Metalink search
    b) If you're talking about a high-availability solution, why are you looking at a base release of the database? Why wouldn't you apply the latest patchset?
    3.As logical standby database not going to replicate
    each and every schema of Primary database?? how is
    the change management effects to the logical standby
    from primary?? I mean there are some parameters and
    job that we create on primary how can it be
    transferred over to the logical standby??I'm not sure I understand... Changes made to the primary generate redo. Oracle parses that redo, generates a LCR, and sends that to the standby database where that change record gets applied.
    Justin

  • Logs are not getting applied in the standby database

    Hello,
    I have created a physical standby database and in it the logs are not getting applied..
    following is an extract of the standby alert log
    Wed Sep 05 07:53:59 2012
    Media Recovery Log /u01/oracle/oradata/ABC/archives/1_37638_765704228.arc
    Error opening /u01/oracle/oradata/ABC/archives/1_37638_765704228.arc
    Attempting refetch
    Media Recovery Waiting for thread 1 sequence 37638
    Fetching gap sequence in thread 1, gap sequence 37638-37643
    Wed Sep 05 07:53:59 2012
    RFS[46]: Assigned to RFS process 3081
    RFS[46]: Allowing overwrite of partial archivelog for thread 1 sequence 37638
    RFS[46]: Opened log for thread 1 sequence *37638* dbid 1723205832 branch 765704228
    Wed Sep 05 07:55:34 2012
    RFS[42]: Possible network disconnect with primary database
    However, the archived files are getting copied to the standby server.
    I tried registering and recovering the logs but it also failed..
    Follows some of the information,
    Primary
    Oralce 11R2 EE
    SQL> select max(sequence#) from v$log where archived='YES';
    MAX(SEQUENCE#)
    37668
    SQL> select DEST_NAME, RECOVERY_MODE,DESTINATION,ARCHIVED_SEQ#,APPLIED_SEQ#, SYNCHRONIZATION_STATUS,SYNCHRONIZED,GAP_STATUS from v$archive_dest_status where DEST_NAME = 'LOG_ARCHIVE_DEST_3';
    DEST_NAME RECOVERY_MODE DESTINATION ARCHIVED_SEQ# APPLIED_SEQ# SYNCHRONIZATION_STATUS SYNCHRONIZED GAP_STATUS
    LOG_ARCHIVE_DEST_3 MANAGED REAL TIME APPLY ABC 37356 0 CHECK CONFIGURATION NO RESOLVABLE GAP
    Standby
    Oralce 11R2 EE
    SQL> select max(sequence#) from v$archived_log where applied='YES';
    MAX(SEQUENCE#)
    37637
    SQL> select * from v$archive_gap;
    no rows selected
    SQL> select open_mode, database_role from v$database;
    OPEN_MODE DATABASE_ROLE
    READ ONLY WITH APPLY PHYSICAL STANDBY
    Please help me to troubleshoot this and get the standby in sync..
    Thanks a lot..

    the results are as follows..
    SQL> select process, status, group#, thread#, sequence# from v$managed_standby order by process, group#, thread#, sequence#;
    PROCESS STATUS GROUP# THREAD# SEQUENCE#
    ARCH CLOSING 1 1 37644
    ARCH CLOSING 1 1 37659
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    ARCH CONNECTED N/A 0 0
    MRP0 WAIT_FOR_GAP N/A 1 37638
    RFS IDLE N/A 0 0
    RFS IDLE N/A 0 0
    RFS IDLE N/A 0 0
    RFS RECEIVING N/A 1 37638
    RFS RECEIVING N/A 1 37639
    RFS RECEIVING N/A 1 37640
    RFS RECEIVING N/A 1 37641
    RFS RECEIVING N/A 1 37642
    RFS RECEIVING N/A 1 37655
    RFS RECEIVING N/A 1 37673
    RFS RECEIVING N/A 1 37675
    42 rows selected.
    SQL>
    SQL> select name,value, time_computed from v$dataguard_stats;
    NAME VALUE TIME_COMPUTED
    transport lag +00 02:44:33 09/05/2012 09:25:58
    apply lag +00 03:14:30 09/05/2012 09:25:58
    apply finish time +00 00:01:09.974 09/05/2012 09:25:58
    estimated startup time 12 09/05/2012 09:25:58
    SQL> select timestamp , facility, dest_id, message_num, error_code, message from v$dataguard_status order by timestamp
    TIMESTAMP FACILITY DEST_ID MESSAGE_NUM ERROR_CODE MESSAGE
    05-SEP-12 Remote File Server 0 60 0 RFS[13]: Assigned to RFS process 2792
    05-SEP-12 Remote File Server 0 59 0 RFS[12]: Assigned to RFS process 2790
    05-SEP-12 Log Apply Services 0 61 16037 MRP0: Background Media Recovery cancelled with status 16037
    05-SEP-12 Log Apply Services 0 62 0 MRP0: Background Media Recovery process shutdown
    05-SEP-12 Log Apply Services 0 63 0 Managed Standby Recovery Canceled
    05-SEP-12 Log Apply Services 0 64 0 Managed Standby Recovery not using Real Time Apply
    05-SEP-12 Log Apply Services 0 65 0 Attempt to start background Managed Standby Recovery process
    05-SEP-12 Log Apply Services 0 66 0 MRP0: Background Managed Standby Recovery process started
    05-SEP-12 Log Apply Services 0 67 0 Managed Standby Recovery not using Real Time Apply
    05-SEP-12 Log Apply Services 0 68 0 Media Recovery Waiting for thread 1 sequence 37638 (in transit)
    05-SEP-12 Network Services 0 69 0 RFS[5]: Possible network disconnect with primary database
    05-SEP-12 Network Services 0 70 0 RFS[6]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 71 0 RFS[14]: Assigned to RFS process 2829
    05-SEP-12 Remote File Server 0 72 0 RFS[15]: Assigned to RFS process 2831
    05-SEP-12 Network Services 0 73 0 RFS[9]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 74 0 RFS[16]: Assigned to RFS process 2833
    05-SEP-12 Network Services 0 75 0 RFS[1]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 76 0 RFS[17]: Assigned to RFS process 2837
    05-SEP-12 Network Services 0 77 0 RFS[3]: Possible network disconnect with primary database
    05-SEP-12 Network Services 0 78 0 RFS[2]: Possible network disconnect with primary database
    05-SEP-12 Network Services 0 79 0 RFS[7]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 80 0 RFS[18]: Assigned to RFS process 2848
    05-SEP-12 Network Services 0 81 0 RFS[16]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 82 0 RFS[19]: Assigned to RFS process 2886
    05-SEP-12 Network Services 0 83 0 RFS[19]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 84 0 RFS[20]: Assigned to RFS process 2894
    05-SEP-12 Log Apply Services 0 85 16037 MRP0: Background Media Recovery cancelled with status 16037
    05-SEP-12 Log Apply Services 0 86 0 MRP0: Background Media Recovery process shutdown
    05-SEP-12 Log Apply Services 0 87 0 Managed Standby Recovery Canceled
    05-SEP-12 Remote File Server 0 89 0 RFS[22]: Assigned to RFS process 2900
    05-SEP-12 Remote File Server 0 88 0 RFS[21]: Assigned to RFS process 2898
    05-SEP-12 Remote File Server 0 90 0 RFS[23]: Assigned to RFS process 2902
    05-SEP-12 Remote File Server 0 91 0 Primary database is in MAXIMUM PERFORMANCE mode
    05-SEP-12 Remote File Server 0 92 0 RFS[24]: Assigned to RFS process 2904
    05-SEP-12 Remote File Server 0 93 0 RFS[25]: Assigned to RFS process 2906
    05-SEP-12 Log Apply Services 0 94 0 Attempt to start background Managed Standby Recovery process
    05-SEP-12 Log Apply Services 0 95 0 MRP0: Background Managed Standby Recovery process started
    05-SEP-12 Log Apply Services 0 96 0 Managed Standby Recovery starting Real Time Apply
    05-SEP-12 Log Apply Services 0 97 0 Media Recovery Waiting for thread 1 sequence 37638 (in transit)
    05-SEP-12 Log Transport Services 0 98 0 ARCa: Beginning to archive thread 1 sequence 37644 (7911979302-7912040568)
    05-SEP-12 Log Transport Services 0 99 0 ARCa: Completed archiving thread 1 sequence 37644 (0-0)
    05-SEP-12 Network Services 0 100 0 RFS[8]: Possible network disconnect with primary database
    05-SEP-12 Log Apply Services 0 101 16037 MRP0: Background Media Recovery cancelled with status 16037
    05-SEP-12 Log Apply Services 0 102 0 Managed Standby Recovery not using Real Time Apply
    05-SEP-12 Log Apply Services 0 103 0 MRP0: Background Media Recovery process shutdown
    05-SEP-12 Log Apply Services 0 104 0 Managed Standby Recovery Canceled
    05-SEP-12 Network Services 0 105 0 RFS[20]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 106 0 RFS[26]: Assigned to RFS process 2930
    05-SEP-12 Network Services 0 107 0 RFS[24]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 108 0 RFS[27]: Assigned to RFS process 2938
    05-SEP-12 Network Services 0 109 0 RFS[14]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 110 0 RFS[28]: Assigned to RFS process 2942
    05-SEP-12 Network Services 0 111 0 RFS[15]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 112 0 RFS[29]: Assigned to RFS process 2986
    05-SEP-12 Network Services 0 113 0 RFS[17]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 114 0 RFS[30]: Assigned to RFS process 2988
    05-SEP-12 Log Apply Services 0 115 0 Attempt to start background Managed Standby Recovery process
    05-SEP-12 Log Apply Services 0 116 0 MRP0: Background Managed Standby Recovery process started
    05-SEP-12 Log Apply Services 0 117 0 Managed Standby Recovery starting Real Time Apply
    05-SEP-12 Log Apply Services 0 118 0 Media Recovery Waiting for thread 1 sequence 37638 (in transit)
    05-SEP-12 Network Services 0 119 0 RFS[18]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 120 0 RFS[31]: Assigned to RFS process 3003
    05-SEP-12 Network Services 0 121 0 RFS[26]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 122 0 RFS[32]: Assigned to RFS process 3005
    05-SEP-12 Network Services 0 123 0 RFS[27]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 124 0 RFS[33]: Assigned to RFS process 3009
    05-SEP-12 Remote File Server 0 125 0 RFS[34]: Assigned to RFS process 3012
    05-SEP-12 Log Apply Services 0 127 0 Managed Standby Recovery not using Real Time Apply
    05-SEP-12 Log Apply Services 0 126 16037 MRP0: Background Media Recovery cancelled with status 16037
    05-SEP-12 Log Apply Services 0 128 0 MRP0: Background Media Recovery process shutdown
    05-SEP-12 Log Apply Services 0 129 0 Managed Standby Recovery Canceled
    05-SEP-12 Network Services 0 130 0 RFS[32]: Possible network disconnect with primary database
    05-SEP-12 Log Apply Services 0 131 0 Managed Standby Recovery not using Real Time Apply
    05-SEP-12 Log Apply Services 0 132 0 Attempt to start background Managed Standby Recovery process
    05-SEP-12 Log Apply Services 0 133 0 MRP0: Background Managed Standby Recovery process started
    05-SEP-12 Log Apply Services 0 134 0 Managed Standby Recovery not using Real Time Apply
    05-SEP-12 Log Apply Services 0 135 0 Media Recovery Waiting for thread 1 sequence 37638 (in transit)
    05-SEP-12 Network Services 0 136 0 RFS[33]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 137 0 RFS[35]: Assigned to RFS process 3033
    05-SEP-12 Log Apply Services 0 138 16037 MRP0: Background Media Recovery cancelled with status 16037
    05-SEP-12 Log Apply Services 0 139 0 MRP0: Background Media Recovery process shutdown
    05-SEP-12 Log Apply Services 0 140 0 Managed Standby Recovery Canceled
    05-SEP-12 Remote File Server 0 141 0 RFS[36]: Assigned to RFS process 3047
    05-SEP-12 Log Apply Services 0 142 0 Attempt to start background Managed Standby Recovery process
    05-SEP-12 Log Apply Services 0 143 0 MRP0: Background Managed Standby Recovery process started
    05-SEP-12 Log Apply Services 0 144 0 Managed Standby Recovery starting Real Time Apply
    05-SEP-12 Log Apply Services 0 145 0 Media Recovery Waiting for thread 1 sequence 37638 (in transit)
    05-SEP-12 Network Services 0 146 0 RFS[35]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 147 0 RFS[37]: Assigned to RFS process 3061
    05-SEP-12 Network Services 0 148 0 RFS[36]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 149 0 RFS[38]: Assigned to RFS process 3063
    05-SEP-12 Remote File Server 0 150 0 RFS[39]: Assigned to RFS process 3065
    05-SEP-12 Network Services 0 151 0 RFS[25]: Possible network disconnect with primary database
    05-SEP-12 Network Services 0 152 0 RFS[21]: Possible network disconnect with primary database
    05-SEP-12 Remote File Server 0 153 0 Archivelog record exists, but no file is found
    05-SEP-12 Remote File Server 0 154 0 RFS[40]: Assigned to RFS process 3067
    05-SEP-12 Network Services 0 155 0 RFS[37]: Possible network disconnect with primary database

Maybe you are looking for

  • Change length of individual slide. Keynote 6.2 Mavericks

    In general I want 5 second slides with a 1 sec. dissolve between. Slide show is autoplay. But some slides have video clips that last longer than 5 sec. and they are getting cut off. I also want to set a few slides to less than 5 sec. The only slide l

  • Qosmio F20: How to install the bluetooth card?

    Hello, Can you help please ? I have ordered few weeks ago an usb bluetooth but on the phone the seller told me that the version that I ordered has been replaced by a new one PA3477U-28TM but it's a bluetooth card and I don't know how to install it. D

  • Anyone have songs they bought on itunes that wont play?

    Anyone have songs they bought on itunes that wont play?

  • Upgrade CS4 zu CS5, Student Edition

    Hallo Zusammen Nach erfolgloser suche nach informationen zum Upgrade von Adobe CS4 Web Premium zu Adobe CS5 Web Premium, blieb mir noch das Forum übrig. Ich besitze seit kurzem eine Adobe Creative Suite 4 Web Premium Student Edition Lizez. Laut Adobe

  • Need help with the noise reduction settings

    Hi, After som experimenting I need some help with the settings for noise reduction. I just edited and converted a few pictures from RAW (D200) til 8-bit TIFF. Opend the file up in photoshop and was shocked to see the amount of noise in the pictures.