Dataguard problem

I have a dataguard installation with one physical standby database on 10g rel 2. While testing switchover with some scripts something went wrong and the standby database is reporting beeing in SWITCHOVER LATENTstate.
Anyone know how to make this a primary database? The old primary has already become a physical standby database.

In this case you will be doing a failover rather than switchover because your former primary will not become a standby. If you hadn't defined standby_archvie_dest parameter on primary before you tried the switchover - that could have been the cause of your problems.
Vadim Bobrov
http://www.fourthelephant.com

Similar Messages

  • Logical dataguard problem

    Hi all,
    I have prepared a logical dataguard on two local systems. My oracle version is 9i and linux version is Entreprise Linux 3.0.
    Today when i tried to execute spcreate.sql on the primary database it had thrown some errors in my secondary database.
    Kindly look at the following output from my secondary database:-
    SQL> select applied_scn,newest_scn from dba_logstdby_progress;
    APPLIED_SCN NEWEST_SCN
    270084 272644
    SQL> SELECT XIDUSN, XIDSLT, XIDSQN FROM DBA_LOGSTDBY_EVENTS
    2 WHERE EVENT_TIME = (SELECT MAX(EVENT_TIME) FROM DBA_LOGSTDBY_EVENTS);
    XIDUSN XIDSLT XIDSQN
    6 1 114
    SQL> EXECUTE DBMS_LOGSTDBY.SKIP_TRANSACTION(6,1,114);
    PL/SQL procedure successfully completed.
    SQL> ALTER DATABASE START LOGICAL STANDBY APPLY;
    Database altered.
    SQL> select applied_scn,newest_scn from dba_logstdby_progress;
    APPLIED_SCN NEWEST_SCN
    270087 272644
    SQL> SELECT * FROM DBA_LOGSTDBY_EVENTS;
    EVENT_TIM CURRENT_SCN COMMIT_SCN XIDUSN XIDSLT XIDSQN
    EVENT
    STATUS_CODE
    STATUS
    grant select on STATS$V_$SQLXS to PERFSTAT
    942
    ORA-00942: table or view does not exist
    from the above errors i have found out that a particular transaction is unable to replicate in my standby database and i skipped the transaction. But still after skipping the transaction applied_scn in the dba_logstdby_progress is moving only by 3 each time I skip a transaction . So it won'' t be possible for me to skip each and every transaction.
    Kindly let me another way of skipping the rest of transactions which are causing halt in the replication.
    Also I am unable to find out how the script executed from the sys user can be replicated on logical database as sys comes in unsupported users in logical datagurad.
    Is there any way I can execute a script on primary database which won't reflect on secondary database.
    thanks in advance.

    Hi Yoann,
    Commands you provided for skipping perfstat schema worked on logical database .
    Now i m executing spcreate.sql on secondary database it gives following errors after i have specified the perfstat password,default tablespace for perfstat as 'perfstat' and temporary tablespace for perfstat as 'temp' and datafile contained in perfstat tablespace is 150 MB in size.
    spcreate worked fine on primary but is giving errors in the end in secondary.Any suggestions about this:-
    Specifying the SYSTEM tablespace will result in the installation
    FAILING, as using SYSTEM for performance data is not supported.
    TABLESPACE_NAME CONTENTS
    LOGMNRTS PERMANENT
    PERFSTAT PERMANENT
    TEMP TEMPORARY
    UNDOTBS1 UNDO
    Specify PERFSTAT user's default tablespace
    Enter value for default_tablespace: perfstat
    Using perfstat for the default tablespace
    PL/SQL procedure successfully completed.
    User altered.
    User altered.
    Choose the PERFSTAT user's temporary tablespace.
    Specifying the SYSTEM tablespace will result in the installation
    FAILING, as using SYSTEM for the temporary tablespace is not recommended.
    Specify PERFSTAT user's temporary tablespace.
    Enter value for temporary_tablespace: temp
    Using temp for the temporary tablespace
    PL/SQL procedure successfully completed.
    User altered.
    NOTE:
    SPCUSR complete. Please check spcusr.lis for any errors.
    SQL>
    SQL> --
    SQL> -- Build the tables and synonyms
    SQL> connect perfstat/&&perfstat_password
    Connected.
    SQL> @@spctab
    SQL> Rem
    SQL> Rem $Header: spctab.sql 16-apr-2002.14:54:46 vbarrier Exp $
    SQL> Rem
    SQL> Rem spctab.sql
    SQL> Rem
    SQL> Rem Copyright (c) 1999, 2002, Oracle Corporation. All rights reserved.
    SQL> Rem
    SQL> Rem NAME
    SQL> Rem spctab.sql
    SQL> Rem
    SQL> Rem DESCRIPTION
    SQL> Rem SQL*PLUS command file to create tables to hold
    SQL> Rem start and end "snapshot" statistical information
    SQL> Rem
    SQL> Rem NOTES
    SQL> Rem Should be run as STATSPACK user, PERFSTAT
    SQL> Rem
    SQL> Rem MODIFIED (MM/DD/YY)
    SQL> Rem vbarrier 03/20/02 - 2143634
    SQL> Rem vbarrier 03/05/02 - Segment Statistics
    SQL> Rem cdialeri 02/07/02 - 2218573
    SQL> Rem cdialeri 01/30/02 - 2184717
    SQL> Rem cdialeri 01/11/02 - 9.2 - features 2
    SQL> Rem cdialeri 11/30/01 - 9.2 - features 1
    SQL> Rem cdialeri 04/22/01 - Undostat changes
    SQL> Rem cdialeri 03/02/01 - 9.0
    SQL> Rem cdialeri 09/12/00 - sp_1404195
    SQL> Rem cdialeri 04/07/00 - 1261813
    SQL> Rem cdialeri 03/20/00 - Support for purge
    SQL> Rem cdialeri 02/16/00 - 1191805
    SQL> Rem cdialeri 01/26/00 - 1169401
    SQL> Rem cdialeri 11/01/99 - Enhance, 1059172
    SQL> Rem cmlim 07/17/97 - Added STATS$SQLAREA to store top sql stmts
    SQL> Rem gwood 10/16/95 - Version to run as sys without using many view s
    SQL> Rem cellis.uk 11/15/89 - Created
    SQL> Rem
    SQL>
    SQL> set showmode off echo off;
    If this script is automatically called from spcreate (which is
    the supported method), all STATSPACK segments will be created in
    the PERFSTAT user's default tablespace.
    Using perfstat tablespace to store Statspack objects
    ... Creating STATS$SNAPSHOT_ID Sequence
    create sequence STATS$SNAPSHOT_ID
    ERROR at line 1:
    ORA-01031: insufficient privileges
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production

  • Dataguard Problem missing datafile

    problem alert in logfile as follow:
    Errors in file $ORACLE_BASE/admin/dump/bdump/db_mrp0_647370.trc:
    ORA-01111: name for data file 29 is unknown - rename to correct file
    ORA-01110: data file 29: '/home/ora10g/10.2/dbs/UNNAMED00029'
    ORA-01157: cannot identify/lock data file 29 - see DBWR trace file
    ORA-01111: name for data file 29 is unknown - rename to correct file
    ORA-01110: data file 29: '/home/ora10g/10.2/dbs/UNNAMED00029'
    please help me .

    Hello;
    Errors in file $ORACLE_BASE/admin/dump/bdump/db_mrp0_647370.trc:
    ORA-01111: name for data file 29 is unknown - rename to correct file
    ORA-01110: data file 29: '/home/ora10g/10.2/dbs/UNNAMED00029'
    ORA-01157: cannot identify/lock data file 29 - see DBWR trace file
    ORA-01111: name for data file 29 is unknown - rename to correct file
    ORA-01110: data file 29: '/home/ora10g/10.2/dbs/UNNAMED00029'
    The issue is probably STANDBY_FILE_MANAGEMENT related, but could be a disk space or incorrect path issue too.
    On the Standby check for a missing file:
    SELECT * FROM V$RECOVER_FILE WHERE ERROR LIKE '%MISSING%';
    Then on the Primary find that file:
    SELECT FILE#,NAME FROM V$DATAFILE WHERE FILE#=29;
    Back on the Standby find the file:
    SELECT FILE#,NAME FROM V$DATAFILE WHERE FILE#=29;
    Set to STANDBY_FILE_MANAGEMENT to MANUAL:
    ALTER SYSTEM SET STANDBY_FILE_MANAGEMENT=MANUAL;
    ALTER DATABASE CREATE DATAFILE '/home/ora10g/10.2/dbs/UNNAMED00029' AS '<correct_path_and_filename>';
    Set to STANDBY_FILE_MANAGEMENT back to AUTO:
    ALTER SYSTEM SET STANDBY_FILE_MANAGEMENT=AUTO
    Check the alert log and monitor the apply.
    Best Regards
    mseberg

  • 9i Dataguard Problem in MAXIMUM PROTECTION mode

    Dear All
    Hi
    I have 9i Rel 2 (9.2.07) dataguard environment on Linux Redhat Advanced Server 3
    The Pretenction mode is Maximum Protection
    One day I noticed that my dataguard Database is about 100 log files before than the Primary:
    On priamry the current log sequence# was 7804
    But in standby the last log that was transfered and applied was 7716
    In primary I executed the following select:
    SQL> Select protection_mode , protection_level from v$database;
    the result was:
    protection_mode=MAXIMUM PROTECTION
    protection_level=SYNCHRONIZING
    What I want to know is:
    Why the primary database did not become shutdown when it is in MAXIMUM PROTECTION mode and why it has continued working when the log files could not transfer to standby database ????
    Thank you in advance for your reply

    Anybody any idea ??????

  • Dataguard problems

    I have one primary and one standby (physical) database ver.10gR2. It's been working with no problems for over a year but recently it kept having problem of missing one archivelog file on standby and cause a gap and the standby will just sit there in wait_for_gap state, until I manually copy over the missing log file and register it. Looking at the primary alert log file it seems to be caused by LNS1 process restart after a backup of the archivelogs to tape, which is a nightly cronjob. the LNS1 process works fine after restart and continues to send subsequent redo logs to standby. It'll just miss the one sequence at the restart time. What's the cause of this LNS1 restart? (since it didn't happen before) and is there anyway to prevent it?
    Thanks for any help...

    Thanks for pointing me to the thread but the issue there doesn't seem to apply to my problem. I don't think my problem was caused by inadequate number of standby log files as I have the same number of standby log files as the redo log files on primary and the problem didn't occur during the day when log switch happens most often. It only happens when ora_lsn1_db1 process was restarted, right after a nightly backup of the archivelog completed. the LSN process somehow skipped the log at the time of restart and continued sending the log with the next sequence#. I have no problem resolving the gap manually but would like to know the root cause of this and prevent it happening in the first place.

  • Dataguard Problem(logical standby database)

    Hi,
    I have successfully created logical standby database, and everything is working fine, all of the SQL is applying and archiving is also shipping.
    Until I create a new tablespace for e.g. pay in the primary database, and suddenly SQL applying is stopped, but the archive is shipping.
    I am using Windows XP SP2 and Oracle 10gRel2.
    The contents of AlertLog file are as
    Wed Jul 23 22:52:19 2008
    Thread 1 cannot allocate new log, sequence 133
    Checkpoint not complete
    Current log# 3 seq# 132 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\IMRAN\REDO03.LOG
    Wed Jul 23 22:52:23 2008
    Destination LOG_ARCHIVE_DEST_2 is SYNCHRONIZED
    Wed Jul 23 22:52:23 2008
    Destination LOG_ARCHIVE_DEST_2 no longer supports SYNCHRONIZATION
    Wed Jul 23 22:52:23 2008
    Thread 1 advanced to log sequence 133 (LGWR switch)
    Current log# 1 seq# 133 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\IMRAN\REDO01.LOG
    Thread 1 cannot allocate new log, sequence 134
    Checkpoint not complete
    Current log# 1 seq# 133 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\IMRAN\REDO01.LOG
    Wed Jul 23 22:52:29 2008
    Destination LOG_ARCHIVE_DEST_2 is SYNCHRONIZED
    Wed Jul 23 22:52:29 2008
    Destination LOG_ARCHIVE_DEST_2 no longer supports SYNCHRONIZATION
    Wed Jul 23 22:52:29 2008
    Thread 1 advanced to log sequence 134 (LGWR switch)
    Current log# 2 seq# 134 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\IMRAN\REDO02.LOG
    Wed Jul 23 22:55:49 2008
    Thread 1 cannot allocate new log, sequence 135
    Checkpoint not complete
    Current log# 2 seq# 134 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\IMRAN\REDO02.LOG
    Wed Jul 23 22:55:54 2008
    Destination LOG_ARCHIVE_DEST_2 is SYNCHRONIZED
    Wed Jul 23 22:55:54 2008
    Destination LOG_ARCHIVE_DEST_2 no longer supports SYNCHRONIZATION
    Wed Jul 23 22:55:54 2008
    Thread 1 advanced to log sequence 135 (LGWR switch)
    Current log# 3 seq# 135 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\IMRAN\REDO03.LOG
    When i use this command, the SQL Apply starts again but the tablespace is not created on Logical standby database.
    kindly give me a solution.
    Thanks in advanced.

    In Standy database also you need to add TB details for it to recognise Primary DB new TB .
    try adding it and retry your operation .

  • Problem with DataGuard

    Hello.
    Please help me with problem. I install OEM with DataGuard on one computer and install database and agent on other. When I install this programs I can manage from OEM other computer on what install database. After I try create standby database for my database from OEM but it answered me "Cannot determine primary host architecture". What I need do for fix this problem? I can create standby database for base on one computer but I can't create standby for database on other computer.

    Can you be more specific ?
    -- Where is the Primary DB installed on ? Which version of DB ? What version of agent is installed on it ?
    -- Where is the OEM Grid installed on ? Version ?
    -- Where are you trying to create the Standby DB on ? If it is on a different server what version of the agent is installed on it ?
    -- Have you enabled the parameters for Data Broker ?

  • DataGuard question - overcoming network latency problem

    Hi
    Dataguard for 10.2.0.4
    Assuming we have a latency problem with the network between the primary and secondary databases in a dataguard configuration.
    That means that my bottleneck is currently the network that cannot accommodate the amount of redo that is generated per second by the primary, and archive logs are accumulating on the primary site
    Is there a way to configure the redo transport on the primary to transfer the archive logs in parallel – in case there is an accumulation of archive logs waiting to be shipped
    I am talking parallel transfer to the same site , not to different sites – just to overcome the network bottleneck
    Thanks in advance
    Orna

    Hi Sybrand,
    Quoting from the doc
    'Oracle Database 10g Release 2 introduces the ability to have multiple ARCn processes sending redo for a single archived-redo log over the network, reducing the time required to ship a single archive log to a remote destination. In previous Oracle Database releases, only one ARCn process at a time could archive redo from a given log file. The maximum number of network connections that will be used in parallel to perform archival to a destination is controlled using the MAX_CONNECTIONS attribute of the LOG_ARCHIVE_DEST_n initialization parameter. The LOG_ARCHIVE_MAX_PROCESSES initialization parameter can be set as high as 30, (the previous maximum was 10)'
    My 'back of a cigarette packet' calculation was not meant to be exact just meant to illustrate a point :-)
    I still think your confusing bandwidth with latency but I don't want to poke an angry response :-)
    Cheers,
    Harry
    Edited by: Harry on Jul 10, 2009 3:33 PM - seems the language filter doesn;t like my British slang. Changed to cigarette......

  • Problem with dataguard on 10g peace of !"·$%&/

    Hello everyone
    I have problems with the dataguard, when i switchover to physical standby the error ora-16775 the dmgrl log says:
    0 2 0 ORA-16775 Error: the target standby database has some redo log(s) missing. Cannot proceed with the switchover operation
    I have made i think all the solutions around here to send or activate the redo log transport, this happend to me because disable the log_archive_dest_state on physical standby, so y make a cold backup of the primary database and set this to standby with the commands:
    SQL> STARTUP NOMOUNT;
    SQL> ALTER DATABASE MOUNT STANDBY DATABASE;
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
    I attach the orcla.ora and orclb.ora to this question:
    ORCLA: (primary)
    orcla.__db_cache_size=868220928
    orcla.__java_pool_size=16777216
    orcla.__large_pool_size=16777216
    orcla.__shared_pool_size=163577856
    orcla.__streams_pool_size=0
    *.archive_lag_target=0
    *.audit_file_dest='c:\oracle\product\10.2.0/admin/orcla/adump'
    *.background_dump_dest='c:\oracle\product\10.2.0/admin/orcla/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCLA\CONTROL01.CTL','C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCLA\CONTROL02.CTL','C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCLA\CONTROL03.CTL'#Restore Controlfile
    *.core_dump_dest='c:\oracle\product\10.2.0/admin/orcla/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='ORCLA'
    *.db_recovery_file_dest='c:\oracle\product\10.2.0/flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.DB_UNIQUE_NAME='ORCLA'
    *.dg_broker_start=TRUE
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=orclaXDB)'
    *.fal_client='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-001)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLA_XPT)(INSTANCE_NAME=ORCLSID)(SERVER=dedicated)))'
    *.fal_server='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-002)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLB_XPT)(SERVER=dedicated)))'
    *.instance_name='ORCLSID'
    *.job_queue_processes=10
    *.log_archive_config='dg_config=(ORCLB)'
    *.log_archive_dest_1='LOCATION=D:\oradata\archivelogs\orcla VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=ORCLA'
    orcla.log_archive_dest_1='location="D:\oradata\archivelogs\orcla"','valid_for=(ONLINE_LOGFILE,ALL_ROLES)'
    *.log_archive_dest_2='service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-002)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLB_XPT)(INSTANCE_NAME=ORCLSID)(SERVER=dedicated)))"',' LGWR ASYNC NOAFFIRM delay=0 OPTIONAL max_failure=0 max_connections=1 reopen=300 db_unique_name="ORCLB" register net_timeout=180 valid_for=(online_logfile,primary_role)'
    *.log_archive_dest_state_1='ENABLE'
    orcla.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_format='DBSID_%t_%s_%r.arc'
    orcla.log_archive_format='DBSID_%t_%s_%r.arc'
    *.log_archive_max_processes=2
    *.log_archive_min_succeed_dest=1
    orcla.log_archive_trace=0
    *.log_checkpoint_interval=10000
    *.log_checkpoint_timeout=1800
    *.open_cursors=3000
    *.optimizer_mode='RULE'
    *.pga_aggregate_target=16777216
    *.processes=400
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_max_size=1073741824
    *.sga_target=1073741824
    orcla.standby_archive_dest=''
    *.standby_file_management='auto'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='c:\oracle\product\10.2.0/admin/orcla/udump'
    ORCLB: (standby)
    orclb.__db_cache_size=868220928
    orclb.__java_pool_size=16777216
    orclb.__large_pool_size=16777216
    orclb.__shared_pool_size=163577856
    orclb.__streams_pool_size=0
    *.aq_tm_processes=0
    *.archive_lag_target=0
    *.audit_file_dest='c:\oracle\product\10.2.0/admin/orclb/adump'
    *.background_dump_dest='c:\oracle\product\10.2.0/admin/orclb/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='c:\oracle\product\10.2.0/oradata/orclb/\stand.ctl'
    *.core_dump_dest='c:\oracle\product\10.2.0/admin/orclb/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='ORCLA'
    *.db_recovery_file_dest='c:\oracle\product\10.2.0/flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.DB_UNIQUE_NAME='ORCLB'
    *.dg_broker_start=TRUE
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=orclaXDB)'
    *.fal_client='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-002)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLB_XPT)(INSTANCE_NAME=ORCLSID)(SERVER=dedicated)))'
    *.fal_server='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-001)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLA_XPT)(SERVER=dedicated)))'
    *.instance_name='ORCLSID'
    *.job_queue_processes=10
    *.log_archive_config='dg_config=(ORCLA)'
    *.log_archive_dest_1='LOCATION=C:\oracle\product\10.2.0\oradata\orclb VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=ORCLB'
    orclb.log_archive_dest_1='location="C:\oracle\product\10.2.0\oradata\orclb"','valid_for=(ALL_LOGFILES,ALL_ROLES)'
    *.log_archive_dest_2=''
    orclb.log_archive_dest_2='location="D:\oradata\archivelogs\orclb"','valid_for=(STANDBY_LOGFILE,STANDBY_ROLE)'
    *.log_archive_dest_state_1='ENABLE'
    orclb.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    orclb.log_archive_dest_state_2='ENABLE'
    *.log_archive_format='DBSID_%t_%s_%r.arc'
    orclb.log_archive_format='DBSID_%t_%s_%r.arc'
    *.log_archive_max_processes=2
    *.log_archive_min_succeed_dest=1
    *.log_archive_trace=0
    orclb.log_archive_trace=0
    *.log_checkpoint_interval=10000
    *.log_checkpoint_timeout=1800
    *.open_cursors=3000
    *.optimizer_mode='RULE'
    *.pga_aggregate_target=16777216
    *.processes=400
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_max_size=1073741824
    *.sga_target=1073741824
    orclb.standby_archive_dest='D:\oradata\archivelogs\orclb'
    *.standby_file_management='auto'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='c:\oracle\product\10.2.0/admin/orclb/udump'
    DGMGRL (primary)
    DG 2009-11-11-22:05:17 0 2 702684180 DMON: CTL_ENABLE of ORCLB
    DG 2009-11-11-22:05:17 0 2 702684180 requires reset of LOG XPT Engine
    DG 2009-11-11-22:05:17 0 2 702684180 on Site ORCLA
    DG 2009-11-11-22:05:17 0 2 0 Reset Log Transport Resource: SetState ONLINE, phase BUILD-UP, External Cond ENABLE
    DG 2009-11-11-22:05:17 0 2 0 Set log transport destination: SetState ONLINE, phase BUILD-UP, External Cond ENABLE
    DG 2009-11-11-22:05:17 0 2 0 Executing SQL [alter system set log_archive_dest_2 =  'service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-002)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLB_XPT)(INSTANCE_NAME=ORCLSID)(SERVER=dedicated)))"', '   LGWR ASYNC NOAFFIRM delay=0 OPTIONAL max_failure=0 max_connections=1   reopen=300 db_unique_name="ORCLB" register net_timeout=180  valid_for=(online_logfile,primary_role)']
    DG 2009-11-11-22:05:17 0 2 0 SQL [alter system set log_archive_dest_2 =  'service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-002)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLB_XPT)(INSTANCE_NAME=ORCLSID)(SERVER=dedicated)))"', '   LGWR ASYNC NOAFFIRM delay=0 OPTIONAL max_failure=0 max_connections=1   reopen=300 db_unique_name="ORCLB" register net_timeout=180  valid_for=(online_logfile,primary_role)'] Executed successfully
    DG 2009-11-11-22:05:17 0 2 0 Executing SQL [alter system set log_archive_dest_state_2 = 'ENABLE']
    DG 2009-11-11-22:05:17 0 2 0 SQL [alter system set log_archive_dest_state_2 = 'ENABLE'] Executed successfully
    DG 2009-11-11-22:05:17 0 2 0 Executing SQL [ALTER SYSTEM SWITCH ALL LOGFILE]
    DG 2009-11-11-22:05:22 0 2 0 SQL [ALTER SYSTEM SWITCH ALL LOGFILE] Executed successfully
    DG 2009-11-11-22:05:22 0 2 0 DMON: site 01001000, instance 00000001 queuing healthcheck lock request
    DG 2009-11-11-22:05:22 0 2 0 DMON: Releasing healthcheck master lock
    DG 2009-11-11-22:05:22 0 2 0 DMON: Health check master lock conversion successful
    DG 2009-11-11-22:05:22 0 2 0 DMON: a process acquired the healthcheck master lock
    DG 2009-11-11-22:05:22 0 2 702684180 DMON: status from rfi_post_instances() for ENABLE = ORA-00000
    DG 2009-11-11-22:05:22 0 2 0 INSV: Received message for inter-instance publication
    DG 2009-11-11-22:05:22 0 2 702684180 DMON: ENABLE Complete, Object ORCLB
    DG 2009-11-11-22:05:22 0 2 0 req_id 2.1.702684180, opcode CTL_ENABLE, phase END, flags 5
    DG 2009-11-11-22:05:22 0 2 702684180      enabled in State STANDBY
    DG 2009-11-11-22:05:22 0 2 702684180 rfm_inst_phase_dispatch 16 END phase processing
    DG 2009-11-11-22:05:22 0 2 0 INSV: All instances have replied for message
    DG 2009-11-11-22:05:22 0 2 0 req_id 2.1.702684180, opcode CTL_ENABLE, phase END
    DG 2009-11-11-22:05:22 0 2 702684180 DMON: CTL_ENABLE operation completed
    DG 2009-11-11-22:05:22 0 2 702684180 DMON: Entered rfm_release_chief_lock for CTL_ENABLE
    DGMGRL (standby)
    SCOPE=SPFILE sid='orclb']
    DG 2009-11-11-22:04:06 0 2 0 SQL [ALTER SYSTEM SET log_archive_format='DBSID_%t_%s_%r.arc' SCOPE=SPFILE sid='orclb'] Executed successfully
    DG 2009-11-11-22:04:07 0 2 0 Setting init.ora parameter with SQL [ALTER SYSTEM SET standby_file_management='AUTO' SCOPE=BOTH sid='*']
    DG 2009-11-11-22:04:07 0 2 0 Executing SQL [ALTER SYSTEM SET standby_file_management='AUTO' SCOPE=BOTH sid='*']
    DG 2009-11-11-22:04:07 0 2 0 SQL [ALTER SYSTEM SET standby_file_management='AUTO' SCOPE=BOTH sid='*'] Executed successfully
    DG 2009-11-11-22:04:07 0 2 0 Setting init.ora parameter with SQL [ALTER SYSTEM SET archive_lag_target=0 SCOPE=BOTH sid='*']
    DG 2009-11-11-22:04:07 0 2 0 Executing SQL [ALTER SYSTEM SET archive_lag_target=0 SCOPE=BOTH sid='*']
    DG 2009-11-11-22:04:07 0 2 0 SQL [ALTER SYSTEM SET archive_lag_target=0 SCOPE=BOTH sid='*'] Executed successfully
    DG 2009-11-11-22:04:07 0 2 0 Setting init.ora parameter with SQL [ALTER SYSTEM SET log_archive_max_processes=2 SCOPE=BOTH sid='*']
    DG 2009-11-11-22:04:07 0 2 0 Executing SQL [ALTER SYSTEM SET log_archive_max_processes=2 SCOPE=BOTH sid='*']
    DG 2009-11-11-22:04:07 0 2 0 SQL [ALTER SYSTEM SET log_archive_max_processes=2 SCOPE=BOTH sid='*'] Executed successfully
    DG 2009-11-11-22:04:07 0 2 0 Setting init.ora parameter with SQL [ALTER SYSTEM SET log_archive_min_succeed_dest=1 SCOPE=BOTH sid='*']
    DG 2009-11-11-22:04:07 0 2 0 Executing SQL [ALTER SYSTEM SET log_archive_min_succeed_dest=1 SCOPE=BOTH sid='*']
    DG 2009-11-11-22:04:07 0 2 0 SQL [ALTER SYSTEM SET log_archive_min_succeed_dest=1 SCOPE=BOTH sid='*'] Executed successfully
    DG 2009-11-11-22:04:07 0 2 0 Executing SQL [ALTER SYSTEM SET fal_server='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-001)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLA_XPT)(SERVER=dedicated)))']
    DG 2009-11-11-22:04:07 0 2 0 SQL [ALTER SYSTEM SET fal_server='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-001)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLA_XPT)(SERVER=dedicated)))'] Executed successfully
    DG 2009-11-11-22:04:07 0 2 0 Executing SQL [ALTER SYSTEM SET fal_client='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-002)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLB_XPT)(INSTANCE_NAME=ORCLSID)(SERVER=dedicated)))']
    DG 2009-11-11-22:04:07 0 2 0 SQL [ALTER SYSTEM SET fal_client='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-002)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLB_XPT)(INSTANCE_NAME=ORCLSID)(SERVER=dedicated)))'] Executed successfully
    DG 2009-11-11-22:04:07 0 2 0 Database Resource SetState succeeded
    DG 2009-11-11-22:04:07 0 2 0 RSM 0 received SETSTATE request: rid=0x02031000, sid=1, phid=2, econd=7, sitehndl=0x7fffffff
    DG 2009-11-11-22:04:07 0 2 0 Physical Apply Resource: SetState ONLINE, phase BUILD-UP, External Cond ENABLE
    DG 2009-11-11-22:04:07 0 2 0 Executing SQL [ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL]
    DG 2009-11-11-22:04:13 0 2 0 SQL [ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL] Executed successfully
    DG 2009-11-11-22:05:11 0 2 0 Executing SQL [ALTER DATABASE RECOVER MANAGED STANDBY DATABASE  THROUGH ALL SWITCHOVER DISCONNECT  USING CURRENT LOGFILE]
    DG 2009-11-11-22:05:17 0 2 0 SQL [ALTER DATABASE RECOVER MANAGED STANDBY DATABASE  THROUGH ALL SWITCHOVER DISCONNECT  USING CURRENT LOGFILE] Executed successfully
    DG 2009-11-11-22:05:17 0 2 0 INSV: All instances have replied for message
    DG 2009-11-11-22:05:17 0 2 0 req_id 2.1.702684180, opcode CTL_ENABLE, phase BUILDUP
    DG 2009-11-11-22:05:17 0 2 702684180 DMON: Entered rfm_release_chief_lock for CTL_ENABLE
    DG 2009-11-11-22:05:22 0 2 702684180 DMON: Entered rfm_get_chief_lock() for CTL_ENABLE, reason 0
    DG 2009-11-11-22:05:22 0 2 702684180 DMON: chief lock convert for write op CTL_ENABLE
    DG 2009-11-11-22:05:22 0 2 702684180 DMON: chief lock convert for enable
    DG 2009-11-11-22:05:22 0 2 702684180 DMON: CLSR being notified to enable services and startup standby instances as appropriate during ENABLE.
    DG 2009-11-11-22:05:22 0 2 702684180 DMON: status from rfi_post_instances() for ENABLE = ORA-00000
    DG 2009-11-11-22:05:22 0 2 0 INSV: Received message for inter-instance publication
    DG 2009-11-11-22:05:22 0 2 0 req_id 2.1.702684180, opcode CTL_ENABLE, phase END, flags 5
    DG 2009-11-11-22:05:22 0 2 702684180 rfm_inst_phase_dispatch 16 END phase processing
    DG 2009-11-11-22:05:22 0 2 0 INSV: All instances have replied for message
    DG 2009-11-11-22:05:22 0 2 0 req_id 2.1.702684180, opcode CTL_ENABLE, phase END
    DG 2009-11-11-22:05:22 0 2 702684180 DMON: Entered rfm_release_chief_lock for CTL_ENABLE
    DG 2009-11-11-22:05:22 0 2 702684180 DMON: Data Guard Broker initiated operation complete
    DG 2009-11-11-22:05:22 0 2 702684180 DMON: CTL_ENABLE operation completed
    Alert oracle primary:
    FAL[server]: Fail to queue the whole FAL gap
    GAP - thread 1 sequence 731-731
    DBID 2809078314 branch 696087148
    Wed Nov 11 22:05:17 2009
    ALTER SYSTEM SET log_archive_dest_2='service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-002)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLB_XPT)(INSTANCE_NAME=ORCLSID)(SERVER=dedicated)))"',' LGWR ASYNC NOAFFIRM delay=0 OPTIONAL max_failure=0 max_connections=1 reopen=300 db_unique_name="ORCLB" register net_timeout=180 valid_for=(online_logfile,primary_role)' SCOPE=BOTH;
    Wed Nov 11 22:05:17 2009
    ALTER SYSTEM SET log_archive_dest_state_2='ENABLE' SCOPE=BOTH;
    Wed Nov 11 22:05:17 2009
    Thread 1 cannot allocate new log, sequence 805
    Private strand flush not complete
    Current log# 2 seq# 804 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCLA\REDO02.LOG
    Thread 1 advanced to log sequence 805
    Current log# 3 seq# 805 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCLA\REDO03.LOG
    Wed Nov 11 22:05:22 2009
    LNS: Failed to archive log 2 thread 1 sequence 804 (3113)
    LGWR: Setting 'active' archival for destination LOG_ARCHIVE_DEST_2
    LNS: Standby redo logfile selected for thread 1 sequence 805 for destination LOG_ARCHIVE_DEST_2
    Alter oracle standby
    Primary database is in MAXIMUM PERFORMANCE mode
    Wed Nov 11 22:05:22 2009
    RFS LogMiner: Client disabled from further notification
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[1]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCLA\ONLINELOG\O1_MF_4_59HJ9T8L_.LOG'
    Wed Nov 11 22:05:46 2009
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 731-731
    DBID 2809078314 branch 696087148
    FAL[client]: All defined FAL servers have been attempted.
    Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
    parameter is defined to a value that is sufficiently large
    enough to maintain adequate log switch information to resolve
    archivelog gaps.
    Wed Nov 11 22:06:01 2009
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[2]: Assigned to RFS process 5848
    RFS[2]: Identified database type as 'physical standby'
    Wed Nov 11 22:17:54 2009
    db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Can anyone see what !"·$%& is wrong whit this? maybe is the gap? this is a exact copy of the primary but set to standby.

    SQL> recover database using backup controlfile;
    ORA-00279: el cambio 25608871 generado en 09/24/2009 23:08:11 es necesario para
    el thread 1
    ORA-00289: sugerencia: D:\ORADATA\ARCHIVELOGS\ORCLB\DBSID_1_731_696087148.ARC
    ORA-00280: el cambio 25608871 para el thread 1 estß en la secuencia n·mero 731
    Especificar log: {<RET>=sugerido | nombre_archivo | AUTO | CANCEL}
    ORA-00308: no se puede abrir el archive log
    'D:\ORADATA\ARCHIVELOGS\ORCLB\DBSID_1_731_696087148.ARC'
    ORA-27041: no se ha podido abrir el archivo
    OSD-04002: no se ha podido abrir el archivo
    O/S-Error: (OS 2) El sistema no puede hallar el archivo especificado.
    So how i can recreate this file if i dont have it? anyone can help, please!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • DATAGUARD SERVICENAME AND TNSNAMES.ORA problem.

    Experts,
    I have created a database TESTDG10 ( db_unique_name) and using a grid control created a standby TEST10S ( db_unique_name). The dbname is TESTDG10. The dataguard configuration works well. I am able to switchover from one database to another and able to see logs transferred and applied.
    The Problem. I included the following in my client ( TOAD ) tnsnames.ora and I cannot connect to the standby with it. Could you please tell me what is wrong. Given below is the tnsnames.ora entry on the client.
    TESTDG10.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PrimServer )(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = StandServer )(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TESTDG10)
    I did not modify the listner.ora or tnsnames.ora files on the servers. Grid Control did all the necessaru mods.

    The standby TEST10S is currently the active primary and I cannot connect to it using sqlplus test/test@TESTDG10. I have to explicitly use sqlplus test/test@TEST0S. Should I create a on-logon trigger at database level on the both databases and redirect the connection. Please explain to me the mechanism for the client to connect to the active primary transparently without having to change the connect string each time a switchover happens.

  • Problem in configuring Dataguard -Reg

    Hi,
    We are trying to configure Dataguard using Enterprice Manager Grid Control,
    While creating primary standby database we struck up with the following error,
    Name Targets Status Started Ended Elapsed Time(Sec)
    Step: sourceCloningPreparation PRIMARY Succeeded Apr 8, 2009 5:30:15 PM (UTC+05:30) Apr 8, 2009 5:30:16 PM (UTC+05:30) 1
    Step: createControlFile PRIMARY Succeeded Apr 8, 2009 5:30:20 PM (UTC+05:30) Apr 8, 2009 5:30:22 PM (UTC+05:30) 2
    Step: destDirCreation Secondary Succeeded Apr 8, 2009 5:30:25 PM (UTC+05:30) Apr 8, 2009 5:30:26 PM (UTC+05:30) 1
    Step: httpInitFile Secondary Succeeded Apr 8, 2009 5:30:31 PM (UTC+05:30) Apr 8, 2009 5:30:33 PM (UTC+05:30) 2
    Step: httpPasswordFile Secondary Succeeded Apr 8, 2009 5:30:36 PM (UTC+05:30) Apr 8, 2009 5:30:37 PM (UTC+05:30) 1
    Step: httpControlFile Secondary Succeeded Apr 8, 2009 5:30:41 PM (UTC+05:30) Apr 8, 2009 5:30:43 PM (UTC+05:30) 2
    Step: destCloningPreparation Secondary Succeeded Apr 8, 2009 5:30:45 PM (UTC+05:30) Apr 8, 2009 5:31:17 PM (UTC+05:30) 31
    Step: backupOneDatafile PRIMARY Succeeded Apr 8, 2009 5:31:20 PM (UTC+05:30) Apr 8, 2009 5:31:59 PM (UTC+05:30) 38
    Step: httpOneDatafile Secondary Succeeded Apr 8, 2009 5:32:06 PM (UTC+05:30) Apr 8, 2009 5:33:34 PM (UTC+05:30) 88
    Step: restoreOneDatafile             Secondary   Failed Apr 8, 2009 5:33:35 PM (UTC+05:30) Apr 8, 2009 5:33:37 PM (UTC+05:30) 2
    Details for the failed task is shown as below,
    Status Failed Started Apr 8, 2009 5:33:35 PM (UTC+05:30)
    Exit Code 1 Ended Apr 8, 2009 5:33:37 PM (UTC+05:30)
    Step ID 293 Step Elapsed Time 2 seconds
    Targets Secondary Management Service GRIDPC:4889_Management_Service
    TIP Management Service from which the job step was dispatched.
    Output Log
    SQL*Plus: Release 11.1.0.7.0 - Production on Wed Apr 8 17:32:52 2009
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    SQL> Connected.
    SQL> SQL> SQL> 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 declare
    ERROR at line 1:
    ORA-19583: conversation terminated due to error
    ORA-19581: no files have been named
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 5662
    ORA-06512: at line 24
    SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Our database - 11g on Windows 2008 server
    Enterprise Manager Grid Control -10g on Windows 2003 server
    Pls help me to configure the dataguard with your suggestions.
    Thanks in advance
    Regards
    PJ

    Open your webi report in webintelligence report pan and check the table display properties "Show rows with empty measure values".

  • Problem with Dataguard Wizzard in OEM 10

    Hi,
    I've tried to create a physical standby database of a 10gR2 instance on the same host (windows 2003 64 bits) through OEM 10, and I get an error message at the first step.
    I select "create a physical standby database" and I get this in french :
    "Impossible de déterminer l'architecture de l'hôte principal."
    which means something like :
    "Unable to detect (or to find) main host architecture"
    I didn't find anything related to this in alert.log or in OMS log files.
    Does anyone know about this ?
    I'll try to do it manually, but I'd like to understand why the wizzard is not working.
    Thanks for your help

    Hi :
    "The /usr/bin/ldapsearch is an old version that does not support the "-Z" and "-P" flags to test SSL connection on port 636, use the ldapsearch command from SUN DS5.0/5.1 that comes bundled with Solaris9 and usually installed at /usr/iplanet/ds5 (DS5.0/5.1) or /var/Sun/mps (DS5.1/5.2) or /var/opt/mps/serverroot (DS5.2)"
    Source : http://forums.sun.com/thread.jspa?threadID=5089467
    Hope this can help,
    Regards,
    Groucho_fr

  • Problem in protection mode dataguard

    Hi,
    i want to store standby redo log archived file in separate folder, so that i specified
    log_archive_dest_1='LOCATION=D:\oracle\product\10. 2.0\flash_recovery_area\stby VALID_FOR=ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=stby
    standby_archive_dest=D:\oracle\product\10. 2.0\flash_recovery_area\stby\arcst
    If both parameters are specified, the STANDBY_ARCHIVE_DEST initialization
    parameter overrides the directory location specified with the LOG_ARCHIVE_DEST_n
    parameter.
    but in my system it store all archive files in LOG_ARCHIVE_DEST_1..
    normally if you change primary database protection mode into maximize availability ,then it should automatically change standby database into that mode ...
    primary database(live).
    should i change this mode in both primary and standby database????
    SQL> select protection_mode,protection_level from v$database;
    PROTECTION_MODE PROTECTION_LEVEL
    MAXIMUM AVAILABILITY RESYNCHRONIZATION
    SQL> alter database open;
    Database altered.
    SQL> alter system switch logfile;
    System altered.
    SQL>
    standby database(stby)
    alert file
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\REDO04.LOG'
    Thu Aug 06 08:48:15 2009
    Media Recovery Log D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\STBY\ARC00093_0693601814.001
    Media Recovery Waiting for thread 1 sequence 94 (in transit)
    Thu Aug 06 08:48:18 2009
    Recovery of Online Redo Log: Thread 1 Group 4 Seq 94 Reading mem 0
    Mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\REDO04.LOG
    SQL> select protection_mode,protection_level from v$database;
    PROTECTION_MODE PROTECTION_LEVEL
    MAXIMUM PERFORMANCE MAXIMUM PERFORMANCE
    Oracle 10g

    selva,
    log_archive_dest_1='LOCATION=D:\oracle\product\10. 2.0\flash_recovery_area\stby VALID_FOR=ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=stby
    standby_archive_dest=D:\oracle\product\10. 2.0\flash_recovery_area\stby\arcst is correct and will not override your primary entry... the log_archive_dest_1 is where your primary logs are generated and standby_archive_dest is where your logs will come when current server acts as secondary.
    your actual question is regarding protection modes....? is that correct
    after you chnage the protection mode did you stop managed recovery and bounce the database on stby,,,
    try this and let me know
    hth

  • Unable to resync dataguard

    Hi everybody!
    I have a problem. Some weeks ago I opened a post related to this issue. We have two dataguards with dataguard broker. One of them is resync (thanks to mseberg and this forum) and now I have problems with the other.
    Once I have learned how to configure and start/stop dataguard broker, I have a more basic problem, which is to resync it. I follow a process, where I backup the primary with RMAN, I copy the rman files to the other server with the controlfile, at once, I recover with rman again.
    The problem is that it is too big, 2 hours for backing it up more or less, and when I restore it, no archivelog list appears being syncronized.
    I have followed the same process than the other one and I can't resync it. I think there is something at my params or something new at 11g version...
    SQL> show parameters
    NAME TYPE VALUE
    O7_DICTIONARY_ACCESSIBILITY boolean FALSE
    active_instance_count integer
    aq_tm_processes integer 0
    archive_lag_target integer 0
    asm_diskgroups string
    asm_diskstring string
    asm_power_limit integer 1
    asm_preferred_read_failure_groups string
    audit_file_dest string /opt/oracle/admin/MN122010P/ad
    ump
    audit_sys_operations boolean FALSE
    audit_syslog_level string
    audit_trail string DB
    background_core_dump string partial
    background_dump_dest string /opt/oracle/diag/rdbms/mn12201
    0p/MN122010P/trace
    backup_tape_io_slaves boolean FALSE
    bitmap_merge_area_size integer 1048576
    blank_trimming boolean FALSE
    buffer_pool_keep string
    buffer_pool_recycle string
    cell_offload_compaction string ADAPTIVE
    cell_offload_parameters string
    cell_offload_plan_display string AUTO
    cell_offload_processing boolean TRUE
    cell_partition_large_extents string DEFAULT
    circuits integer
    client_result_cache_lag big integer 3000
    client_result_cache_size big integer 0
    cluster_database boolean FALSE
    cluster_database_instances integer 1
    cluster_interconnects string
    commit_logging string
    commit_point_strength integer 1
    commit_wait string
    commit_write string
    compatible string 11.1.0.0.0
    control_file_record_keep_time integer 7
    control_files string /opt/oracle/oradata/MN122010P/
    controlfile/control01.ctl, /op
    t/oracle/oradata1/MN122010P/co
    ntrolfile/control02.ctl
    control_management_pack_access string DIAGNOSTIC+TUNING
    core_dump_dest string /opt/oracle/diag/rdbms/mn12201
    0p/MN122010P/cdump
    cpu_count integer 4
    create_bitmap_area_size integer 8388608
    create_stored_outlines string
    cursor_sharing string EXACT
    cursor_space_for_time boolean FALSE
    db_16k_cache_size big integer 0
    db_2k_cache_size big integer 0
    db_32k_cache_size big integer 0
    db_4k_cache_size big integer 0
    db_8k_cache_size big integer 0
    db_block_buffers integer 0
    db_block_checking string FALSE
    db_block_checksum string TYPICAL
    db_block_size integer 8192
    db_cache_advice string ON
    db_cache_size big integer 0
    db_create_file_dest string /opt/oracle/oradata
    db_create_online_log_dest_1 string /opt/oracle/oradata
    db_create_online_log_dest_2 string /opt/oracle/oradata1
    db_create_online_log_dest_3 string
    db_create_online_log_dest_4 string
    db_create_online_log_dest_5 string
    db_domain string domain.es
    db_file_multiblock_read_count integer 69
    db_file_name_convert string
    db_files integer 200
    db_flashback_retention_target integer 1440
    db_keep_cache_size big integer 0
    db_lost_write_protect string NONE
    db_name string MN122010
    db_recovery_file_dest string /opt/oracle/oradata/flash_reco
    very_area
    db_recovery_file_dest_size big integer 100G
    db_recycle_cache_size big integer 0
    db_securefile string PERMITTED
    db_ultra_safe string OFF
    db_unique_name string MN122010P
    db_writer_processes integer 1
    dbwr_io_slaves integer 0
    ddl_lock_timeout integer 0
    dg_broker_config_file1 string /opt/oracle/product/db111/dbs/
    dr1MN122010P.dat
    dg_broker_config_file2 string /opt/oracle/product/db111/dbs/
    dr2MN122010P.dat
    dg_broker_start boolean FALSE
    diagnostic_dest string /opt/oracle
    disk_asynch_io boolean TRUE
    dispatchers string (PROTOCOL=TCP) (SERVICE=MN1220
    10PXDB)
    distributed_lock_timeout integer 60
    dml_locks integer 844
    drs_start boolean FALSE
    enable_ddl_logging boolean FALSE
    event string
    fal_client string
    fal_server string
    fast_start_io_target integer 0
    fast_start_mttr_target integer 0
    fast_start_parallel_rollback string LOW
    file_mapping boolean FALSE
    fileio_network_adapters string
    filesystemio_options string none
    fixed_date string
    gc_files_to_locks string
    gcs_server_processes integer 0
    global_context_pool_size string
    global_names boolean FALSE
    global_txn_processes integer 1
    hash_area_size integer 131072
    hi_shared_memory_address integer 0
    hs_autoregister boolean TRUE
    ifile file
    instance_groups string
    instance_name string MN122010P
    instance_number integer 0
    instance_type string RDBMS
    java_jit_enabled boolean TRUE
    java_max_sessionspace_size integer 0
    java_pool_size big integer 0
    java_soft_sessionspace_limit integer 0
    job_queue_processes integer 1000
    large_pool_size big integer 0
    ldap_directory_access string NONE
    ldap_directory_sysauth string no
    license_max_sessions integer 0
    license_max_users integer 0
    license_sessions_warning integer 0
    local_listener string LISTENER_MN122010P
    lock_name_space string
    lock_sga boolean FALSE
    log_archive_config string dg_config=(MN122010P,MN122010R
    ,MN12201R)
    log_archive_dest string
    log_archive_dest_1 string location="USE_DB_RECOVERY_FILE
    _DEST", valid_for=(ALL_LOGFIL
    ES,ALL_ROLES)
    log_archive_dest_10 string
    log_archive_dest_2 string service=MN12201R, LGWR SYNC AF
    FIRM delay=0 OPTIONAL compress
    ion=DISABLE max_failure=0 max_
    connections=1 reopen=300 db_
    unique_name=MN12201R net_timeo
    ut=30 valid_for=(online_logfi
    le,primary_role)
    log_archive_dest_3 string
    log_archive_dest_4 string
    log_archive_dest_5 string
    log_archive_dest_6 string
    log_archive_dest_7 string
    log_archive_dest_8 string
    log_archive_dest_9 string
    log_archive_dest_state_1 string ENABLE
    log_archive_dest_state_10 string enable
    log_archive_dest_state_2 string ENABLE
    log_archive_dest_state_3 string ENABLE
    log_archive_dest_state_4 string enable
    log_archive_dest_state_5 string enable
    log_archive_dest_state_6 string enable
    log_archive_dest_state_7 string enable
    log_archive_dest_state_8 string enable
    log_archive_dest_state_9 string enable
    log_archive_duplex_dest string
    log_archive_format string %t_%s_%r.dbf
    log_archive_local_first boolean TRUE
    log_archive_max_processes integer 4
    log_archive_min_succeed_dest integer 1
    log_archive_start boolean FALSE
    log_archive_trace integer 0
    log_buffer integer 7668736
    log_checkpoint_interval integer 0
    log_checkpoint_timeout integer 1800
    log_checkpoints_to_alert boolean FALSE
    log_file_name_convert string
    max_commit_propagation_delay integer 0
    max_dispatchers integer
    max_dump_file_size string unlimited
    max_enabled_roles integer 150
    max_shared_servers integer
    memory_max_target big integer 512M
    memory_target big integer 512M
    nls_calendar string
    nls_comp string BINARY
    nls_currency string
    nls_date_format string
    nls_date_language string
    nls_dual_currency string
    nls_iso_currency string
    nls_language string AMERICAN
    nls_length_semantics string BYTE
    nls_nchar_conv_excp string FALSE
    nls_numeric_characters string
    nls_sort string
    nls_territory string AMERICA
    nls_time_format string
    nls_time_tz_format string
    nls_timestamp_format string
    nls_timestamp_tz_format string
    object_cache_max_size_percent integer 10
    object_cache_optimal_size integer 102400
    olap_page_pool_size big integer 0
    open_cursors integer 300
    open_links integer 4
    open_links_per_instance integer 4
    optimizer_capture_sql_plan_baselines boolean FALSE
    optimizer_dynamic_sampling integer 2
    optimizer_features_enable string 11.1.0.7
    optimizer_index_caching integer 0
    optimizer_index_cost_adj integer 100
    optimizer_mode string ALL_ROWS
    optimizer_secure_view_merging boolean TRUE
    optimizer_use_invisible_indexes boolean FALSE
    optimizer_use_pending_statistics boolean FALSE
    optimizer_use_sql_plan_baselines boolean TRUE
    os_authent_prefix string ops$
    os_roles boolean FALSE
    parallel_adaptive_multi_user boolean TRUE
    parallel_automatic_tuning boolean FALSE
    parallel_execution_message_size integer 2152
    parallel_instance_group string
    parallel_io_cap_enabled boolean FALSE
    parallel_max_servers integer 40
    parallel_min_percent integer 0
    parallel_min_servers integer 0
    parallel_server boolean FALSE
    parallel_server_instances integer 1
    parallel_threads_per_cpu integer 2
    pga_aggregate_target big integer 0
    plscope_settings string IDENTIFIERS:NONE
    plsql_ccflags string
    plsql_code_type string INTERPRETED
    plsql_debug boolean FALSE
    plsql_native_library_dir string
    plsql_native_library_subdir_count integer 0
    plsql_optimize_level integer 2
    plsql_v2_compatibility boolean FALSE
    plsql_warnings string DISABLE:ALL
    pre_page_sga boolean FALSE
    processes integer 170
    query_rewrite_enabled string TRUE
    query_rewrite_integrity string enforced
    rdbms_server_dn string
    read_only_open_delayed boolean FALSE
    recovery_parallelism integer 0
    recyclebin string on
    redo_transport_user string
    remote_dependencies_mode string TIMESTAMP
    remote_listener string
    remote_login_passwordfile string EXCLUSIVE
    remote_os_authent boolean FALSE
    remote_os_roles boolean FALSE
    replication_dependency_tracking boolean TRUE
    resource_limit boolean FALSE
    resource_manager_cpu_allocation integer 4
    resource_manager_plan string
    result_cache_max_result integer 5
    result_cache_max_size big integer 1312K
    result_cache_mode string MANUAL
    result_cache_remote_expiration integer 0
    resumable_timeout integer 0
    rollback_segments string
    sec_case_sensitive_logon boolean TRUE
    sec_max_failed_login_attempts integer 10
    sec_protocol_error_further_action string CONTINUE
    sec_protocol_error_trace_action string TRACE
    sec_return_server_release_banner boolean FALSE
    serial_reuse string disable
    service_names string MN122010P.domain.es
    session_cached_cursors integer 50
    session_max_open_files integer 10
    sessions integer 192
    sga_max_size big integer 512M
    sga_target big integer 0
    shadow_core_dump string partial
    shared_memory_address integer 0
    shared_pool_reserved_size big integer 10066329
    shared_pool_size big integer 0
    shared_server_sessions integer
    shared_servers integer 1
    skip_unusable_indexes boolean TRUE
    smtp_out_server string
    sort_area_retained_size integer 0
    sort_area_size integer 65536
    spfile string /opt/oracle/product/db111/dbs/
    spfileMN122010P.ora
    sql92_security boolean FALSE
    sql_trace boolean FALSE
    sql_version string NATIVE
    sqltune_category string DEFAULT
    standby_archive_dest string ?/dbs/arch
    standby_file_management string AUTO
    star_transformation_enabled string FALSE
    statistics_level string TYPICAL
    streams_pool_size big integer 0
    tape_asynch_io boolean TRUE
    thread integer 0
    timed_os_statistics integer 0
    timed_statistics boolean TRUE
    trace_enabled boolean TRUE
    tracefile_identifier string
    transactions integer 211
    transactions_per_rollback_segment integer 5
    undo_management string AUTO
    undo_retention integer 900
    undo_tablespace string UNDOTBS1
    use_indirect_data_buffers boolean FALSE
    user_dump_dest string /opt/oracle/diag/rdbms/mn12201
    0p/MN122010P/trace
    utl_file_dir string
    workarea_size_policy string AUTO
    xml_db_events string enable
    I have tested the connectivity between them and it's ok, I recreated the password file
    [oracle@servername01 MN122010P]$ sqlplus "sys/[email protected] as sysdba"
    SQL> select * from v$instance;
    INSTANCE_NUMBER INSTANCE_NAME
    HOST_NAME
    VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
    LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
    1 MN122010P
    servername01
    11.1.0.7.0 09-OCT-11 OPEN NO 1 STARTED
    ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
    [oracle@servername01 MN122010P]$ sqlplus "sys/[email protected] as sysdba"
    SQL> select * from v$instance;
    INSTANCE_NUMBER INSTANCE_NAME
    HOST_NAME
    VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
    LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
    1 MN12201R
    servername02
    11.1.0.7.0 28-NOV-11 MOUNTED NO 1 STARTED
    ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
    Recovery Manager: Release 11.1.0.7.0 - Production on Thu Dec 1 10:16:23 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    RMAN> connect target /
    connected to target database: MN122010 (DBID=2440111267)
    RMAN> run{
    ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '/opt/oracle/oradata/BACKUPS_01/MN122010P/backup_%d_t%t_s%s_p%p';
    BACKUP DATABASE PLUS ARCHIVELOG;
    2> 3> 4>
    using target database control file instead of recovery catalog
    allocated channel: d1
    channel d1: SID=140 device type=DISK
    Starting backup at 01-DEC-11
    current log archived
    channel d1: starting archived log backup set
    channel d1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=4117 RECID=7260 STAMP=766935608
    input archived log thread=1 sequence=4118 RECID=7261 STAMP=766935619
    input archived log thread=1 sequence=4119 RECID=7262 STAMP=766935630
    input archived log thread=1 sequence=4120 RECID=7263 STAMP=766935635
    ....List of archives....
    Starting backup at 01-DEC-11
    channel d1: starting full datafile backup set
    channel d1: specifying datafile(s) in backup set
    input datafile file number=00010 name=/opt/oracle/oradata/MN122010P/TBCESPANDM_01.DBF
    input datafile file number=00009 name=/opt/oracle/oradata/MN122010P/CESPAROUTING_01.DBF
    input datafile file number=00007 name=/opt/oracle/oradata/MN122010P/TBCESPACALLEJERO_01.DBF
    input datafile file number=00008 name=/opt/oracle/oradata/MN122010P/CESPAGEOCODER_01.DBF
    input datafile file number=00001 name=/opt/oracle/oradata/MN122010P/system01.dbf
    input datafile file number=00002 name=/opt/oracle/oradata/MN122010P/sysaux01.dbf
    input datafile file number=00003 name=/opt/oracle/oradata/MN122010P/undotbs01.dbf
    input datafile file number=00006 name=/opt/oracle/oradata/MN122010P/TBCESPAFONDO_01.DBF
    input datafile file number=00005 name=/opt/oracle/oradata/MN122010P/TBCESPAPOIS_01.DBF
    input datafile file number=00004 name=/opt/oracle/oradata/MN122010P/users01.dbf
    channel d1: starting piece 1 at 01-DEC-11
    channel d1: finished piece 1 at 01-DEC-11
    piece handle=/opt/oracle/oradata/BACKUPS_01/MN122010P/backup_MN122010_t768739341_s768_p1 tag=TAG20111201T104221 comment=NONE
    channel d1: backup set complete, elapsed time: 00:39:26
    Finished backup at 01-DEC-11
    Starting backup at 01-DEC-11
    current log archived
    channel d1: starting archived log backup set
    channel d1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=4256 RECID=7399 STAMP=768741707
    channel d1: starting piece 1 at 01-DEC-11
    channel d1: finished piece 1 at 01-DEC-11
    piece handle=/opt/oracle/oradata/BACKUPS_01/MN122010P/backup_MN122010_t768741708_s769_p1 tag=TAG20111201T112148 comment=NONE
    channel d1: backup set complete, elapsed time: 00:00:01
    Finished backup at 01-DEC-11
    Starting Control File and SPFILE Autobackup at 01-DEC-11
    piece handle=/opt/oracle/product/db111/dbs/c-2440111267-20111201-00 comment=NONE
    Finished Control File and SPFILE Autobackup at 01-DEC-11
    released channel: d1
    I made a alter database create standby controlfile as at Primary and at Standby:
    SQL> shutdown immediate;
    ORA-01109: base de datos sin abrir
    Base de datos desmontada.
    Instancia ORACLE cerrada.
    SQL> startup nomount;
    Instancia ORACLE iniciada.
    Total System Global Area 2937555928 bytes
    Fixed Size 744408 bytes
    Variable Size 1862270976 bytes
    Database Buffers 1073741824 bytes
    Redo Buffers 798720 bytes
    copy the controlfile to standby controlfile locations
    startup standby
    ALTER DATABASE MOUNT STANDBY DATABASE;
    And restoring with rman
    Restoring
    List of Archived Logs in backup set 616
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 4256 27049296 01-DEC-11 27052551 01-DEC-11
    RMAN> run{
    2> allocate channel c1 type disk format '/opt/oracle/oradata/BACKUPS_01/MN122010P/backup_%d_t%t_s%s_p%p';
    3> restore database;
    4> recover database until sequence 4256 thread 1;
    5> sql 'alter database recover managed standby database disconnect from session';
    6> release channel c1;
    7> }
    allocated channel: c1
    channel c1: SID=164 device type=DISK
    Starting restore at 01-DEC-11
    Starting implicit crosscheck backup at 01-DEC-11
    Crosschecked 115 objects
    Finished implicit crosscheck backup at 01-DEC-11
    Starting implicit crosscheck copy at 01-DEC-11
    Crosschecked 24 objects
    Finished implicit crosscheck copy at 01-DEC-11
    searching for all files in the recovery area
    cataloging files...
    no files cataloged
    channel c1: starting datafile backup set restore
    channel c1: specifying datafile(s) to restore from backup set
    channel c1: restoring datafile 00001 to /opt/oracle/oradata/MN122010P/system01.dbf
    channel c1: restoring datafile 00002 to /opt/oracle/oradata/MN122010P/sysaux01.dbf
    channel c1: restoring datafile 00003 to /opt/oracle/oradata/MN122010P/undotbs01.dbf
    channel c1: restoring datafile 00004 to /opt/oracle/oradata/MN122010P/users01.dbf
    channel c1: restoring datafile 00005 to /opt/oracle/oradata/MN122010P/TBCESPAPOIS_01.DBF
    channel c1: restoring datafile 00006 to /opt/oracle/oradata/MN122010P/TBCESPAFONDO_01.DBF
    channel c1: restoring datafile 00007 to /opt/oracle/oradata/MN122010P/TBCESPACALLEJERO_01.DBF
    channel c1: restoring datafile 00008 to /opt/oracle/oradata/MN122010P/CESPAGEOCODER_01.DBF
    channel c1: restoring datafile 00009 to /opt/oracle/oradata/MN122010P/CESPAROUTING_01.DBF
    channel c1: restoring datafile 00010 to /opt/oracle/oradata/MN122010P/TBCESPANDM_01.DBF
    channel c1: reading from backup piece /opt/oracle/oradata/BACKUPS_01/MN122010P/backup_MN122010_t768739341_s768_p1
    After the restoring I found at standby that no archives have been applied:
    SQL> SELECT SEQUENCE#, FIRST_TIME, NEXT_TIME,APPLIED
    FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#
    / 2 3
    no rows selected
    SQL> select * from v$Instance;
    INSTANCE_NUMBER INSTANCE_NAME
    HOST_NAME
    VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
    LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
    1 MN12201R
    server02
    11.1.0.7.0 01-DEC-11 MOUNTED NO 1 STARTED
    ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
    SQL> select message from v$dataguard_status;
    MESSAGE
    ARC0: Archival started
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC0: Becoming the 'no FAL' ARCH
    ARC0: Becoming the 'no SRL' ARCH
    ARC1: Becoming the heartbeat ARCH
    7 rows selected.
    On primary
    MESSAGE
    ARC3: Beginning to archive thread 1 sequence 4258 (27056314-27064244)
    ARC3: Completed archiving thread 1 sequence 4258 (27056314-27064244)
    ARC0: Beginning to archive thread 1 sequence 4259 (27064244-27064251)
    ARC0: Completed archiving thread 1 sequence 4259 (27064244-27064251)
    ARC2: Beginning to archive thread 1 sequence 4260 (27064251-27064328)
    ARC2: Completed archiving thread 1 sequence 4260 (27064251-27064328)
    ARC3: Beginning to archive thread 1 sequence 4261 (27064328-27064654)
    ARC3: Completed archiving thread 1 sequence 4261 (27064328-27064654)
    Edited by: user8898355 on 01-dic-2011 7:02

    I'm seeing those errors at primary
    LNSb started with pid=20, OS id=30141
    LGWR: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (16086)
    LGWR: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
    trace file:
    *** 2011-12-02 09:52:17.164
    *** SESSION ID:(183.1) 2011-12-02 09:52:17.164
    *** CLIENT ID:() 2011-12-02 09:52:17.164
    *** SERVICE NAME:(SYS$BACKGROUND) 2011-12-02 09:52:17.164
    *** MODULE NAME:() 2011-12-02 09:52:17.164
    *** ACTION NAME:() 2011-12-02 09:52:17.164
    *** TRACE FILE RECREATED AFTER BEING REMOVED ***
    *** 2011-12-02 09:52:17.164 6465 krsu.c
    Initializing NetServer[LNSb] for dest=MN12201R.domain.es mode SYNC
    LNSb is not running anymore.
    New SYNC LNSb needs to be started
    Waiting for subscriber count on LGWR-LNSb channel to go to zero
    Subscriber count went to zero - time now is <12/02/2011 09:52:17>
    Starting LNSb ...
    Waiting for LNSb [pid 30141] to initialize itself
    *** TRACE FILE RECREATED AFTER BEING REMOVED ***
    *** 2011-12-02 09:52:17.164 6465 krsu.c
    Initializing NetServer[LNSb] for dest=MN12201R.domain.es mode SYNC
    LNSb is not running anymore.
    New SYNC LNSb needs to be started
    Waiting for subscriber count on LGWR-LNSb channel to go to zero
    Subscriber count went to zero - time now is <12/02/2011 09:52:17>
    Starting LNSb ...
    Waiting for LNSb [pid 30141] to initialize itself
    *** 2011-12-02 09:52:20.185
    *** 2011-12-02 09:52:20.185 6828 krsu.c
    Netserver LNSb [pid 30141] for mode SYNC has been initialized
    Performing a channel reset to ignore previous responses
    Successfully started LNSb [pid 30141] for dest MN12201R.domain.es mode SYNC ocis=0x2ba2cb1fece8
    *** 2011-12-02 09:52:20.185 2880 krsu.c
    Making upiahm request to LNSb [pid 30141]: Begin Time is <12/02/2011 09:52:17>. NET_TIMEOUT = <30> seconds
    Waiting for LNSb to respond to upiahm
    *** 2011-12-02 09:52:20.262 3044 krsu.c
    upiahm connect done status is 0
    Receiving message from LNSb
    Receiving message from LNSb
    LGWR: Failed
    rfsp: 0x2ba2ca55c328
    rfsmod: 2
    rfsver: 3
    rfsflag: 0x24882

  • Problem with logminer in Data Guard configuration

    Hi all,
    I experience strange problem with applying of the logs in DataGuard configuration on the logical standby database side.
    I've set up the configuration step by step as it is described in documentation (Oracle Data Guard Concepts and Administration, chapter 4).
    Everything went fine until I issued
    ALTER DATABASE START LOGICAL STANDBY APPLY;
    I saw that log applying process was started by checking the output of
    SELECT NAME, VALUE FROM V$LOGSTDBY_STATS WHERE NAME = 'coordinator state';
    and
    SELECT TYPE, HIGH_SCN, STATUS FROM V$LOGSTDBY;
    but in few minutes it stoped and quering DBA_LOGSTDBY_EVENTS I saw the following records:
    ORA-16111: log mining and apply setting up
    ORA-01332: internal Logminer Dictionary error
    Alert log says the following:
    LOGSTDBY event: ORA-01332: internal Logminer Dictionary error
    Wed Jan 21 16:57:57 2004
    Errors in file /opt/oracle/admin/whouse/bdump/whouse_lsp0_5817.trc:
    ORA-01332: internal Logminer Dictionary error
    Here is the end of the whouse_lsp0_5817.trc
    error 1332 detected in background process
    OPIRIP: Uncaught error 447. Error stack:
    ORA-00447: fatal error in background process
    ORA-01332: internal Logminer Dictionary error
    But the most useful info I found in one more trace file (whouse_p001_5821.trc):
    krvxmrs: Leaving by exception: 604
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.LOGMNR_KRVRDREPDICT3", line 68
    ORA-06512: at line 1
    Seems that somewhere the correct privileges were not given or smth like this. By the way I was doing all the operations under SYS account (as SYSDBA).
    Could smb give me a clue where could be my mistake or what was done in the wrong way?
    Thank you in advance.

    Which is your SSIS version?
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

Maybe you are looking for

  • FEP 2010 installation on Windows server 2012

    Hi all, Is there any step- by step guide to install FEP 2010 on windows server 2012 R2? We need to have this in place till the time, we get our FEP upgraded. Regards

  • From Leopard back to Tiger

    Odd question to ask I know but have experienced some problems since upgrading to Leopard, one being that my Superdrive no longer burns DVD's!! This appears to be an ongoing thing judging by some threads I've seen and I can't really afford to be going

  • Possibilties in KE24 reports(COPA line item reports)

    Dear Experts, i have created one characteristics Agent and same is appearing in ke24 report but description is not coming same with material Group. my client want to see material group description and Agent code description in ke24 report. Request yo

  • How to read/write Excel sheets using java

    Hello, I have downloaded poi-2.5.1-all-bin and it has poi-2.5.1-final-20040804 , poi-contrib-2.5.1-final-20040804, poi-scratchpad-2.5.1-final-20040804 jar Files i am unable to configure POI which i have downloaded, when i do import org.apache.poi.hss

  • Can't send mail with Server 10.4.8

    Yes... I'm very new at this. I've got 10.4.8 server set up as a mail server, with SMTP enabled. I think I have DNS configured properly, but I can't send email. I can recieve email. If I run mail (ie, the command "mail") from the terminal, I can send