ORA-16136: Managed Standby Recovery not active

Hi
I am trying implement the dataguard in the windows platform. And this is my first time. Right now iam trying on physical standby. i have done everything as per the document. But iam getting some error. After giving the
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
SQL> ALTER SYSTEM SWITCH LOGFILE;
SQL> recover managed standby database cancel;
// I am getting error
ORA-16136: Managed Standby Recovery not active
When just like that i tried to open the standby database in read only mode, i am getting error
SQL> alter database open read only;
alter database open read only
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\DB1\SYSTEM01.DBF'
When i checked the alert log file of Primary Database, it shows:
PING[ARCo]: Heartbeat failed to connect to standby 'db2sby'. Error is 1031.
Wed Sep 01 14:10:27 2010
Thread 1 advanced to log sequence 337 (LGWR switch)
Current log# 2 seq# 337 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\DB1\REDO02.LOG
Wed Sep 01 14:10:28 2010
Deleted Oracle managed file C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\DB1\ARCHIVELOG\2010_02_25\O1_MF_1_224_5RD10Z5V_.ARC
Wed Sep 01 14:14:53 2010
Error 1031 received logging on to the standby
Wed Sep 01 14:14:53 2010
Errors in file c:\oracle\product\10.2.0\admin\db1\bdump\db1_arco_2156.trc:
ORA-01031: insufficient privileges
PING[ARCo]: Heartbeat failed to connect to standby 'db2sby'. Error is 1031.
Wed Sep 01 14:19:53 2010
Error 1031 received logging on to the standby
Wed Sep 01 14:19:53 2010
Errors in file c:\oracle\product\10.2.0\admin\db1\bdump\db1_arco_2156.trc:
ORA-01031: insufficient privileges
And when i checked alert log file of stand by database:
Wed Sep 01 14:13:19 2010
Errors in file c:\oracle\product\10.2.0\standbyy\admin\db2\bdump\db2sby_dbw0_3060.trc:
ORA-01157: cannot identify/lock data file 9 - see DBWR trace file
ORA-01110: data file 9: 'C:\TSUNDO12.DBF'
ORA-27086: unable to lock file - already in use
OSD-00001: additional error information
O/S-Error: (OS 101) The exclusive semaphore is owned by another process
--> The above error of Standby was coming for each datafile such as system, users etc.
Kindly Help me.
Shiyas M

here is the pfile of Primary Database:
db1.__db_cache_size=188743680
db1.__java_pool_size=4194304
db1.__large_pool_size=4194304
db1.__shared_pool_size=83886080
db1.__streams_pool_size=0
*.audit_file_dest='C:\oracle\product\10.2.0/admin/db1/adump'
*.background_dump_dest='C:\oracle\product\10.2.0/admin/db1/bdump'
*.compatible='10.2.0.1.0'
*.control_files='C:\oracle\product\10.2.0\oradata\db1\control01.ctl','C:\oracle\product\10.2.0\oradata\db1\control02.ctl','C:\oracle\product\10.2.0\oradata\db1\control03.ctl'
*.core_dump_dest='C:\oracle\product\10.2.0/admin/db1/cdump'
*.db_16k_cache_size=4194304
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='db1'
*.DB_UNIQUE_NAME='db1prim'
*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(db1,db2sby)'
*.LOG_ARCHIVE_DEST_1='LOCATION=C:\oracle\product\10.2.0\ARCHIVELOG VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=db1prim'
*.LOG_ARCHIVE_DEST_2='SERVICE=db2sby LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=db2sby'
*.LOG_ARCHIVE_DEST_STATE_1=ENABLE
*.LOG_ARCHIVE_DEST_STATE_2=ENABLE
*.LOG_ARCHIVE_FORMAT=%t_%s_%r.arc
*.LOG_ARCHIVE_MAX_PROCESSES=30
*.FAL_SERVER=db2sby
*.FAL_CLIENT=db1
*.DB_FILE_NAME_CONVERT='C:\oracle\product\10.2.0\Standbyy\oradata\DB2','C:\oracle\product\10.2.0\oradata\db1'
*.LOG_FILE_NAME_CONVERT='C:\oracle\product\10.2.0\Standbyy\oradata\DB2','C:\oracle\product\10.2.0\oradata\db1'
*.STANDBY_FILE_MANAGEMENT=AUTO
*.db_recovery_file_dest='C:\oracle\product\10.2.0/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=db1XDB)'
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=95420416
*.processes=150
*.recyclebin='OFF'
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=287309824
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='C:\oracle\product\10.2.0/admin/db1/udump'
*.utl_file_dir='OCM_CONFIG_HOME/state'
Here is the Pfile of standby database:
db1.__db_cache_size=188743680
db1.__java_pool_size=4194304
db1.__large_pool_size=4194304
db1.__shared_pool_size=83886080
db1.__streams_pool_size=0
*.audit_file_dest='C:\oracle\product\10.2.0\Standbyy\admin\db2\adump'
*.background_dump_dest='C:\oracle\product\10.2.0\Standbyy\admin\db2\bdump'
*.compatible='10.2.0.1.0'
*.control_files='C:\oracle\product\10.2.0\Standbyy\oradata\db2\control001.ctl','C:\oracle\product\10.2.0\Standbyy\oradata\db2\control002.ctl','C:\oracle\product\10.2.0\Standbyy\oradata\db2\control003.ctl'
*.core_dump_dest='C:\oracle\product\10.2.0\Standbyy\admin\db2'
*.db_16k_cache_size=4194304
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='db1'
*.DB_UNIQUE_NAME='db2sby'
*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(db1,db2sby)'
*.LOG_ARCHIVE_DEST_1='LOCATION=C:\oracle\product\10.2.0\ARCHIVELOG VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=db2sby'
*.LOG_ARCHIVE_DEST_2='SERVICE=db1 LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=db1'
*.LOG_ARCHIVE_DEST_STATE_1=ENABLE
*.LOG_ARCHIVE_DEST_STATE_2=ENABLE
*.LOG_ARCHIVE_FORMAT=%t_%s_%r.arc
*.LOG_ARCHIVE_MAX_PROCESSES=30
*.FAL_SERVER=db1
*.FAL_CLIENT=db2sby
*.DB_FILE_NAME_CONVERT='C:\oracle\product\10.2.0\Standbyy\oradata\DB2','C:\oracle\product\10.2.0\oradata\db1'
*.LOG_FILE_NAME_CONVERT='C:\oracle\product\10.2.0\Standbyy\oradata\DB2','C:\oracle\product\10.2.0\oradata\db1'
*.STANDBY_FILE_MANAGEMENT=AUTO
*.db_recovery_file_dest='C:\oracle\product\10.2.0\flash_recovery_area\DB2SBY'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=db1XDB)'
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=95420416
*.processes=150
*.recyclebin='OFF'
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=287309824
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='C:\oracle\product\10.2.0\Standbyy\admin\db2\udump'
*.utl_file_dir='OCM_CONFIG_HOME/state'

Similar Messages

  • Managed Standby Recovery not active

    Dear All,
    My database version is:
    SQL> select banner from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    OS:RedHat 5.5
    My current configuration is:
    We have two node RAC primary database and a local standby database.
    And TWO NODE RAC DR (REMOTE)STANDBY DATABASE
    while checking (REMOTE WHICH IS TWO NODE RAC)dr synchronization we found archive since yesterday has not been applied.
    But local dr is fully sinc with the primary database.
    When i have executed 'ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL' it says
    SQL> alter database recover managed standby database cancel;
    alter database recover managed standby database cancel
    ERROR at line 1:
    ORA-16136: Managed Standby Recovery not active
    I manually copied the archive log which where missing in the remote standby database and then register those archive log.
    after that when i manually tried to recover the standby database it has given me following error.
    sql>recover automatic standby database;
    ORA-00283: recovery session canceled due to errors
    ORA-01124: cannot recover data file 1 - file is in use or recovery
    ORA-01110:data file 1: '/database/ctmis/system01.dbf'
    please please help me to resolve the issue.
    Thanks and Regards
    Monoj Das

    according to my understand
    Node1,Node2 is having node1-standby node2-standby in RAC environment right?
    on which node logs ur trying to apply on which node standby? (node1 ==>node1-standby or node2 ==>node2-standby)
    check it...hope it will work or not sure :)
    standby side...
    rman target /
    RMAN>crosscheck archivelog all
    then try to recover..will see ..
    if not
    check with support.oracle.com through SR.

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

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

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

  • 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

  • Manage Add-on not active

    Hello,
    after fix pack 3 installation my button Manage addon not active.
    Can anybody help?
    Regards,
    Roman

    This is possibly administrative rights problem. When i try to start Xcelsius with administrative rights everything is ok .But i have limited rights on my computer. I have tried a solution and worked for me. We are adding a line to regedit.
    Find the key and give 0 dword value.
    ___msdn library____
        Key: SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
        Value: "EnableLUA"
        Type: REG_DWORD
        Data: This MUST be a value in the following table.
        Value    Meaning
        0x00000000    Disabling this policy disables the "administrator in Admin Approval Mode" user type.
        0x00000001   This policy enables the "administrator in Admin Approval Mode" user type while also enabling all other User Account Control (UAC) policies.

  • Physica standby recovery problem

    Hi,
    I am trying to recover physical standby database manually
    I am getting below error:
    alter database recover standby database parallel (degree 32);
    alter database recover standby database parallel (degree 32)
    ERROR at line 1:
    ORA-01153: an incompatible media recovery is active
    I have tried to cancel managed recovery, but no managed recovery is active.
    alter database recover managed standby database cancel;
    alter database recover managed standby database cancel
    ERROR at line 1:
    ORA-16136: Managed Standby Recovery not active
    select distinct recovery_mode from v$archive_dest_status;
    RECOVER
    IDLE
    Please help me to resolve this. Thanks in advance.
    regards,
    Narendra

    Apparently this is bug 5084496, related to parallel recovery on 10.1 and below (ML note 361883.1). You may avoid this bug if you don't use parallel recovery. It looks like there are no one-off patches available, so you are stuck with either serial recovery or upgrade to 10.2 or higher :-(
    Regards,
    Jeremiah Wilton
    ORA-600 Consulting
    http://www.ora-600.net

  • 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>

  • Dataguard recovery not happenning

    Hi,
    I have configured physical standby dataguard for maximum availability and was working fine. When i did switchover i found that the archives are transfered but the recovery is not havppening. I created a table on my present primary and log switched, but the table is not recovered at standby.
    At Primary
    SELECT DATABASE_ROLE, DB_UNIQUE_NAME INSTANCE, OPEN_MODE,PROTECTION_MODE, PROTECTION_LEVEL, SWITCHOVER_STATUS FROM V$DATABASE
    DATABASE_ROLE INSTANCE OPEN_MODE PROTECTION_MODE PROTECTION_LEVEL SWITCHOVER_STATUS
    PRIMARY MEDSTBY READ WRITE MAXIMUM AVAILABILITY RESYNCHRONIZATION TO STANDBY
    SQL>SELECT MESSAGE FROM V$DATAGUARD_STATUS;
    MRP0: Background Managed Standby Recovery process started
    Managed Standby Recovery starting Real Time Apply
    Media Recovery Waiting for thread 1 sequence 111 (in transit)
    Primary database is in MAXIMUM PERFORMANCE mode
    Media Recovery Waiting for thread 1 sequence 112 (in transit)
    RFS[2]: Successfully opened standby log 4: '/app/oracle/oradata/MEDCARE/redo04.log'
    Media Recovery Waiting for thread 1 sequence 113
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 5: '/app/oracle/oradata/MEDCARE/redo05.log'
    SQL>SELECT THREAD#, SEQUENCE#, APPLIED FROM V$ARCHIVED_LOG;
    1 103 YES
    1 104 NO
    1 105 NO
    1 106 NO
    1 106 YES
    1 105 YES
    1 104 YES
    1 107 YES
    1 107 NO
    1 108 YES
    1 108 NO
    1 109 NO
    1 109 YES
    1 110 YES
    1 110 NO
    1 111 YES
    1 111 NO
    1 112 YES
    1 112 NO
    At Standby:
    SELECT DATABASE_ROLE, DB_UNIQUE_NAME INSTANCE, OPEN_MODE,PROTECTION_MODE, PROTECTION_LEVEL, SWITCHOVER_STATUS FROM V$DATABASE
    DATABASE_ROLE INSTANCE OPEN_MODE PROTECTION_MODE PROTECTION_LEVEL SWITCHOVER_STATUS
    PHYSICAL STANDBY MEDPRIM MOUNTED MAXIMUM PERFORMANCE MAXIMUM PERFORMANCE NOT ALLOWED
    SQL> SELECT MESSAGE FROM V$DATAGUARD_STATUS;
    LNS: Standby redo logfile selected for thread 1 sequence 110 for destination LOG_ARCHIVE_DEST_2
    ARC3: Standby redo logfile selected for thread 1 sequence 109 for destination LOG_ARCHIVE_DEST_2
    LNS: Standby redo logfile selected for thread 1 sequence 111 for destination LOG_ARCHIVE_DEST_2
    LNS: Standby redo logfile selected for thread 1 sequence 112 for destination LOG_ARCHIVE_DEST_2
    LNS: Standby redo logfile selected for thread 1 sequence 113 for destination LOG_ARCHIVE_DEST_2
    SQL>SELECT THREAD#, SEQUENCE#, APPLIED FROM V$ARCHIVED_LOG;
    1 101 YES
    1 102 YES
    1 102 NO
    1 103 YES
    1 103 NO
    1 106 YES
    1 105 YES
    1 104 YES
    1 107 YES
    1 108 YES
    1 109 YES
    1 110 YES
    1 111 YES
    1 112 YES
    please suggest to trouble shoot this.
    Thank You.

    Dear user12045167,
    How did you set them up and created the spfile?
    What are those parameters on both sides;
    show parameter fal_client;
    show parameter fal_server;
    show parameter dg_config;Ogan

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

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

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

  • ORA-21779: duration not active error line 25 of MDSYS.AGGRUNION

    I execute the following pl/sql (line 56/57 in
    a procedure called RebuildSMZLabels)....
    v_query := 'SELECT /*+ INDEX ( A BASE_SMZ_A_SHAPE ) NO_INDEX ( A BASE_SMZ_A_RETIREDATE ) */ MDSYS.SDO_AGGR_UNION(MDSYS.SDOAGGRTYPE(a.s
    hape,:1)) FROM &owner.base_smz_a A WHERE MDSYS.SDO_RELATE(a.shape,:2,''mask=ANYINTERACT querytype=window'') = ''TRUE'' and retiredate is
    null';
    EXECUTE IMMEDIATE v_query INTO v_union_shape USING v_diminfo(1).sdo_tolerance, v_trans_shape ;
    And I get...
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    DECLARE
    ERROR at line 1:
    ORA-21779: duration not active
    ORA-06512: at "MDSYS.AGGRUNION", line 25
    ORA-06512: at "MDSYS.AGGRUNION", line 25
    ORA-06512: at line 1
    ORA-06512: at "MDCADM.REBUILDSMZLABELS", line 57
    ORA-06512: at line 5
    Got me beat... anyone got any ideas?
    Simon Greener
    GIS Manager
    Forestry Tasmania

    Dan
    I reverted to the old 8i code (with individual
    UNIONS) and it still fails:
    DECLARE
    ERROR at line 1:
    ORA-21779: duration not active
    ORA-06512: at "MDSYS.SDO_3GL", line 439
    ORA-06512: at "MDSYS.SDO_GEOM", line 3096
    ORA-06512: at "MDCADM.REBUILDSMZLABELS", line 74
    ORA-06512: at line 5
    Line 74 is:
    v_union_shape := MDSYS.SDO_GEOM.SDO_UNION(v_union_shape,v_diminfo,v_shape,v_diminfo);
    Any ideas as I need this to work in 9i ASAP (as it
    doesn't work in 8i)?
    PS Dan, it is the same database/code problem I sent
    to you earlier this year. It is getting to the point
    that I am going to have to rebuild all this database
    centric code (which is where it needs to be in the
    business process) within our GIS (ArcInfo) which is going
    to be far more complex and not sustainable in the medium
    term.
    regards
    Simon

  • Shrink database is not active in SQL SERVER Enterpriser manager

    Dear guru
    Shrink database is not active in SQL SERVER Enterpriser manager what to do
    Rupesh
    SAP BASIS Consultant

    Hi,
    >Thank you very much for not supporting i have solved the problem by reading some other documents
    That's exactly what I wanted you to do : With a little personal work, you can actually learn to do your own work ! "Don't give fish to hungry people. Teach them how to go fishing !"
    Regards,
    Olivier

  • Error while executing the sp ORA-21779: duration not active

    Hi there,
    am using Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 and facing typical type of error
    please find the steps below to reproduce it
    in this basically i will pass a comma seperated values and function will return the
    piped table witheach seperated values as new record
    ex :1,2,3,4
    1
    2
    3
    4
    Types created:
    1) Create Type TPOBJ_Return as Object (tnames varchar2 (2000));
    2) Create Type TPObjT_ReturnColl as Table Of TPOBJ_ReturnTable;
    Function created:
    CREATE OR REPLACE FUNCTION WB_FN_ReturnTable
    tNameString IN VARCHAR2
    RETURN TPObjT_ReturnColl
    PIPELINED
    AS
    iOptionSel INT;
    tOptionSel VARCHAR2 (9);
    iLen INT;
    tName VARCHAR2 (50);
    tTempChar CHAR (1);
    ptNameString VARCHAR2(2000);
    BEGIN
    ptNameString:=tNameString;
    iLen := LENGTH(TRIM(ptNameString));
    iOptionSel := 1;
    tName := '';
    WHILE iOptionSel <= iLen
    LOOP
    tTempChar := SUBSTR(ptNameString, iOptionSel, 1);
    IF tTempChar = ',' THEN
    IF LENGTH(TRIM(tName)) > 0 THEN
    PIPE ROW(TPOBJ_Return(tName));
    END IF;
    tName := '';
    ELSE
    tName := tName || tTempChar;
    END IF;
    iOptionSel := iOptionSel + 1;
    END LOOP;
    IF LENGTH(TRIM(tName)) > 0 THEN
    PIPE ROW(TPOBJ_Return(tName));
    END IF;
    return;
    END;
    Table created:
    Create Table test (id number(16))
    Insert into test values (1)
    Please insert from 1 to 10.
    Stored procedure created:
    Create or replace procedure Sptest
    As
    Titems Varchar2(255);
    pvalue Number(16);
    Begin
    Titems :='5,4,3';
    Select MIN(id) into pvalue from test where id not in
    (select tnames from table(WB_FN_ReturnTable(Titems )));
    End;
    Note:
    while executing the sp for the first time am not getting any error
    only ,if making a repeated call for execution then am gettings the errors specified below
    ORA-21779: duration not active
    ORA-03113: end-of-file on communication channel
    ORA-03114: not connected to ORACLE
    can anyone help me on these issue

    Why a pipeline table function? I would not say that a tokeniser function is something that typically should require working in the SQL engine, piping rows. It can be a very straight forward PL/SQL function that returns a collection of strings.
    E.g.
    SQL> CREATE OR REPLACE function tokenise( line varchar2, separator varchar2 DEFAULT ',' ) return TStrings AUTHID CURRENT_USER is
    2 strList TStrings;
    3 str varchar2(4000);
    4 i integer;
    5 l integer;
    6
    7 procedure AddString( s varchar2 ) is
    8 begin
    9 strList.Extend(1);
    10 strList( strList.Count ) := s;
    11 end;
    12
    13 begin
    14 strList := new TStrings();
    15
    16 str := line;
    17 loop
    18 l := LENGTH( str );
    19 i := INSTR( str, separator );
    20
    21 if i = 0 then
    22 AddString( str );
    23 else
    24 AddString( SUBSTR( str, 1, i-1 ) );
    25 str := SUBSTR( str, i+1 );
    26 end if;
    27
    28 -- if the separator was on the last char of the line, there is
    29 -- a trailing null column which we need to add manually
    30 if i = l then
    31 AddString( null );
    32 end if;
    33
    34 exit when str is NULL;
    35 exit when i = 0;
    36 end loop;
    37
    38 return( strList );
    39 end;
    40 /
    Function created.
    SQL>
    SQL> select * from TABLE(Tokenise('col1,col2,col3,,col5,and so on'));
    COLUMN_VALUE
    col1
    col2
    col3
    col5
    and so on
    6 rows selected.
    SQL>
    PS. The TStrings SQL user type is declared as a table of varchar2(4000).

  • Manage Account does not appear in the options sync tab. How do I manage my account to get the recovery key?

    I cannot sync my Firefox 18 desktop with iPad or iPhone browsers. I have tried everything suggested on the Web and have tried safe mode as well. When I enter the three-line synch code, I get a sync failure. I have deleted my account and then set up a new account without success. Manage Account does not appear in the options sync tab. How do I manage my account to get the recovery key?
    I’ve spent hours on this and am considering using Chrome as my regular browser since I have no trouble syncing Chrome with apps. Help appreciated.

    You can only inspect the sync key via manage account if this device is has been setup and is connected to the sync server.
    You can find the sync account password and the sync (recovery) key in the password manager on computers where a sync account with a specific e-mail address has been set up.
    Look for:
    * chrome://weave (Mozilla Services Password)
    * chrome://weave (Mozilla Services Encryption Passphrase)
    You can look at this version of the about:synckey extension that I have modified to show the sync key in current Firefox versions (desktop and mobile).
    * http://www.freefilehosting.net/aboutsynckey-11-fnfx
    * [[/questions/942893]]

  • Word opening in Client Application in SharePoint document library when feature is not activated in manage features in site collection

    Hello, I wish for all Word documents to open in the browser for my SharePoint document library on my team site.
    The feature 'open in client application' is not activated in Features for the site collection and the setting in the document library is set on 'Use the server default (open in the browser)
    When I select File > new> from the ribbon in the document library - it still opens Word in the client application?
    Any ideas on this?
    Is there a general Office 365 setting over riding SharePoint somewhere?
    Regards
    kegan1

    Okie don't open up a ticket. Can you please open internet explorer...See if its the latest version. Once you have done that can you login to the SharePoint site. Then go to the internet wheel option  in top right corner > select manage add on >
    Click on toolbars and extensions on left > then click on SharePoint open documents in client and disable it. Close the browser completely now for the changes to take effect. Open internet explorer once again and then try to go to site collection click on
    file and create new. The word will open up in browser now. This has to be done on each and every machine in your firm so that users will be able to open up only in browser. Out of the box there is only one way is to customize the ribbon and remove the new
    option from there or creating an all together new ribbon for your SharePoint from visual studio.

  • ORA-16821: logical standby database dictionary not yet loaded

    Dear all,
    I have a dataguard architecture with a primary and a standby database (for reporting stuffs). Since I upgraded physical standby to logical standby, I receive this error !
    ORA-16821: logical standby database dictionary not yet loaded
    If someone has an idea, should be great !!
    Thanks
    oldschool

    Hi,
    Ok I applied :
    SQL> ALTER DATABASE STOP LOGICAL STANDBY APPLY;
    Database altered.
    SQL> alter database start logical standby apply immediate;
    Database altered.
    SQL>
    And now I received this :
    ORA-16825: Fast-Start Failover and other errors or warnings detected for the database
    Cause: The broker has detected multiple errors or warnings for the database. At least one of the detected errors or warnings may prevent a Fast-Start Failover from occurring.
    Action: Check the StatusReport monitorable property of the database specified.
    What does it mean to check the status report.....
    I found this about monitorable status report !!
    DGMGRL> show database 'M3RPT' 'StatusReport';
    STATUS REPORT
    INSTANCE_NAME SEVERITY ERROR_TEXT
    * WARNING ORA-16821: logical standby database dictionary not yet loaded
    DGMGRL>
    What can I do ?
    Thanks a lot
    oldschool
    Edited by: oldschool on Jun 4, 2009 2:37 AM

Maybe you are looking for

  • Can anyone let me know how can i get the ouput from BW in .txt format.

    Can anyone let me know how can i get the ouput from BW in .txt format. See we can get output as Excel(i.e BEX) and manually convert it into txt format. I need a direct or automated way to do the same.no human intervention. mail me at [email protected

  • ITunesSetup.exe fails to start

    I am trying to install iTunes 9.1.1 while running Windows XP with SP3. Every time I try to run iTunesSetup.exe I get this message: "This application has failed to start because the application configuration is incorrect. Reinstalling the application

  • Downloading Adobe Reader for Windows should be simple and it's not.  I'm surprised and frustrated!

    Can someone tell me which link on the download site I should use?  All I want is the free reader for Windows 8.1. Can't you do a better job on this? Here are the choices I am given: PDF iFilter 64 11.0.01 19.6 MB 1/8/2013 Updates/Programs All version

  • Where is HTTP access and error log when using Embedded PL/SQL Gateway?

    Hello, I am using Embedded PL/SQL Gateway to run stored procedures. I can't find access log and error log (something like Oracle HTTP Server has). In listener.log are only simple data and there are no usernames and procedure names... Thanks. Marian

  • DropTarget check against all objects on the stage

    Hey all, Not sure the best way to do this.  I have a class we will call DropActivity, here is the code package com.activitycontrol           import com.activitycontrol.DropCheck;           public class DropActivity                // Constants: