Use standby-database as standby-database after creating primary database

First I will tell what we have and what I did.
We have a standby database on server B that was not started. We did a cold copy to server A and opened the database on server A as primary database. Now we wonder if we can use the standby database on server B to apply archives without creating a new copy to server B. The standby database on server B is waiting for sequence 2900, while the database on server A started with a new sequence.
Is it possible somehow to start the recovery again on the standby databsae on server B without creating a new copy?
Forgot to mention: db-version is 9.2.0.7.0, OS is SunOS 5.10

Writing seperate code is not needed, Oracle will copy the files if the log_archive_dest is set to the right value.
However, it is solved!
What I did:
- create standby controlfile on the primary
- copy standby controlfile to standby database
- on standby: startup nomount / alter database mount standby database
- on primary: set log_archive_dest_2 to trigger the copying of archivelogs to the standby
Right now the standby database is recovering.

Similar Messages

  • I cant use the option "view in browser" after creating my webpage.

    I am creating a webpage for my project. After creating the front page, when I tried to view it in the browser, the "view in the browser"option was unavailable. Kindly help me.

    Hi Rebecca,
    Thank you for posting in MSDN forum.
    >> I  am creating a webpage for my project. After creating the front page, when I tried to view it in the browser, the "view in the browser"option was unavailable.
    Based on your issue, first of all, I suggest you could try to save the web page you created and then right click your solution or web project->build your solution/project and then check this issue again.
    You could also try to use the Ctrl+Shift+W to check if you could view your web page in the browser.
    Generally, I know that when we choose the "view in browser" option by right-click a .aspx web page. So to check if this issue is related to the VS IDE or the specified project, I suggest you could try to create a simple ASP.NET project and
    the add a .aspx file, then check if you can see the "view in browser" option by right-click the .aspx web page.
    (1) If you still could not see the "view in browser" option, I suggest you could try to reset the VS setting file by clicking the TOOLS->Import and Export Settings... check this issue again.
    If it sill could not help you, maybe you will need to repair or re-install the VS IDE check this issue.
    (2) If you could see the "view in browser" option, I assume that the issue maybe related to your code for your web page. So please you ask this issue directly to the ASP.NET forum:http://forums.asp.net/ you
    will get better support.
    In addition, if you did not install and use the IE for this web page, I suggest you could try to install the IE and then check this issue.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Use Standby DB instead of Primary DB

    Hi,
    I've a plan let's assume Data Guard has been set successfully with the following condition:
    Primary:
    DB_NAME=DB1
    DB_UNIQUE_NAME=DB1
    Secondary:
    DB_NAME=DB1
    DB_UNIQUE_NAME=DB2
    After a couple of days, I switchover DB2 become primary and DB1 is secondary. Then I want completely use DB2 as single instance, throw away DB1.
    It's mean DB_NAME and DB_UNIQUE_NAME will be different like this:
    Primary:
    DB_NAME=DB1
    DB_UNIQUE_NAME=DB2
    Later I want reconfigure Data Guard with the new standby DB, called DB3.
    Since this DB is not 'pure' primary and DB_NAME is different with DB_UNIQUE_NAME, is it okay for this database go production as primary ?
    Need your advice please,
    Oracle version : 11gR2 for AIX 6.1 (64bit)
    Thank you,
    Yusata.
    Edited by: Yusata on Jan 17, 2012 11:29 PM

    Yusata wrote:
    Later I want reconfigure Data Guard with the new standby DB, called DB3.
    Since this DB is not 'pure' primary and DB_NAME is different with DB_UNIQUE_NAME, is it okay for this database go production as primary ?Why do you consider as not pure primary? After switchover this is normal primary database.
    You may set DB_NAME=TEST, at 1st instance db_unique_name=test_inst1, at 2nd - db_unique_name=test_inst2, for example.
    Normally both db are equal, they just switch their roles.

  • Recovering primary using standby database

    Hi all,
    Here we have a dataguard environment with db1(db_unique_name) as primary and db2(db_unique_name) as physical standby database. We configured dataguard in 10g environments and we are not using grid control. And now we want to configure rman for incremental backups.After configuring we successfully took full backup in standby plus archive logs. Then as the test case we dropped one datafile from the primary and tried to recover it. It is showing the following error. Also when i tried 'crosscheck backup' from primary it is showing that all the backups taken in standby are 'expired'. But from RMAN connected to standby the same backups are showing as 'available'. Can anyone help to fix this?
    On primary:
    [oracle@db1 NIOS]$ sqlplus / as sysdba;
    SQL*Plus: Release 10.2.0.3.0 - Production on Thu Sep 6 02:58:11 2012
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> alter database datafile 4 offline; (after deleting datafile from system level)
    Database altered.
    [oracle@db1 NIOS]$ rman target sys/oracle@db1 catalog rman/oracle@appsdb
    Recovery Manager: Release 10.2.0.3.0 - Production on Thu Sep 6 02:58:58 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: NIOS (DBID=1590630518)
    connected to recovery catalog database
    RMAN> restore datafile 4;
    Starting restore at 06-SEP-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=107 devtype=DISK
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00004 to /u01/app/oracle/oradata/NIOS/users01.dbf
    channel ORA_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T174801_84gjqt0n_.bkp
    ORA-19870: error reading backup piece /u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T174801_84gjqt0n_.bkp
    ORA-19505: failed to identify file "/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T174801_84gjqt0n_.bkp"
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    failover to previous backup
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00004 to /u01/app/oracle/oradata/NIOS/users01.dbf
    channel ORA_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T164212_84gdwdst_.bkp
    ORA-19870: error reading backup piece /u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T164212_84gdwdst_.bkp
    ORA-19505: failed to identify file "/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T164212_84gdwdst_.bkp"
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    failover to previous backup
    channel ORA_DISK_1: restoring datafile 00004
    input datafile copy recid=13 stamp=793208425 filename=/tmp/users01.dbf
    destination for restore of datafile 00004: /u01/app/oracle/oradata/NIOS/users01.dbf
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 09/06/2012 02:59:10
    ORA-19571: datafilecopy recid 13 stamp 793208425 not found in control file
    ORA-19600: input file is datafile-copy 13 ()
    ORA-19601: output file is datafile-copy 0 (/u01/app/oracle/oradata/NIOS/users01.dbf)
    RMAN> crosscheck backup;
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T164038_84gdsjlw_.bkp recid=18 stamp=793212040
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T164038_84gdtz6p_.bkp recid=19 stamp=793212087
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T164212_84gdwdst_.bkp recid=20 stamp=793212132
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/autobackup/2012_09_05/o1_mf_s_793242038_84gdxw5j_.bkp recid=21 stamp=793212180
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T174759_84gjqrtn_.bkp recid=22 stamp=793216080
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T174801_84gjqt0n_.bkp recid=23 stamp=793216082
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/autobackup/2012_09_05/o1_mf_s_793246288_84gjs9h4_.bkp recid=24 stamp=793216129
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/c-1590630518-20120906-00 recid=5 stamp=793238431
    Crosschecked 8 objects
    On Stand-by:
    [oracle@db2 NIOS]$ rman target sys/oracle@db2 catalog rman/oracle@appsdb
    Recovery Manager: Release 10.2.0.3.0 - Production on Wed Sep 5 20:11:58 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: NIOS (DBID=1590630518, not open)
    connected to recovery catalog database
    RMAN> crosscheck backup;
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=91 devtype=DISK
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T164038_84gdsjlw_.bkp recid=18 stamp=793212040
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T164038_84gdtz6p_.bkp recid=19 stamp=793212087
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T164212_84gdwdst_.bkp recid=20 stamp=793212132
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/autobackup/2012_09_05/o1_mf_s_793242038_84gdxw5j_.bkp recid=21 stamp=793212180
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T174759_84gjqrtn_.bkp recid=22 stamp=793216080
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T174801_84gjqt0n_.bkp recid=23 stamp=793216082
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/autobackup/2012_09_05/o1_mf_s_793246288_84gjs9h4_.bkp recid=24 stamp=793216129
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/c-1590630518-20120906-00 recid=5 stamp=793238431
    Crosschecked 8 objects
    Thanks in advance.

    Hello;
    I would review one of these step by step :
    Using RMAN Backup Files from Standby Database to Recover Primary
    http://oraganism.files.wordpress.com/2009/04/backup-from-physical-standby.pdf
    How to use standby backup to restore primary db
    http://alexzeng.wordpress.com/2008/09/13/how-to-use-standby-backup-to-restore-primary-db/
    Steps to recover the primary database's datafile using a copy of a standby database's datafile.
    http://dbaregistry.blogspot.com/2010/01/steps-to-recover-primary-databases.html
    RMAN in a Data Guard Environment
    http://oracle.su/docs/11g/backup.112/e10642/rcmarchi.htm#CHDIFGFH
    Performing a database clone using a Data Guard physical standby database
    http://gavinsoorma.com/2012/04/performing-a-database-clone-using-a-data-guard-physical-standby-database/
    Best Regards
    mseberg

  • DBhanging in open stage after creating physical standby database

    alter database open read only hanging after creating the standby database using rman.

    hi,
    when i starts the database in restricted mode it is asking resetlogs;
    when i openthe database using the
    alter database open resetlogs;
    it is showing following errors
    alter database open RESETLOGS
    Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_ora_442500.trc:
    ORA-00367: checksum error in log file header
    ORA-00338: log 1 of thread 1 is more recent than control file
    ORA-00312: online log 1 thread 1: '/dev/stage/oradev/db/apps_st/data/group_1.314.731945051'
    RESETLOGS after complete recovery through change 28393568059
    Resetting resetlogs activation ID 3821641494 (0xe3c99f16)
    Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_ora_442500.trc:
    ORA-00367: checksum error in log file header
    ORA-00322: log 1 of thread 1 is not current copy
    ORA-00312: online log 1 thread 1: '/dev/stage/oradev/db/apps_st/data/group_1.314.731945051'
    Thu Feb 24 20:05:42 2011
    Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_m000_348380.trc:
    ORA-00316: log 1 of thread 1, type 0 in header is not log file
    ORA-00312: online log 1 thread 1: '/dev/stage/oradev/db/apps_st/data/group_1.314.731945051'
    Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_m000_348380.trc:
    ORA-00322: log 2 of thread 1 is not current copy
    ORA-00312: online log 2 thread 1: '/dev/stage/oradev/db/apps_st/data/group_2.313.731945057'
    Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_m000_348380.trc:
    ORA-00322: log 3 of thread 2 is not current copy
    ORA-00312: online log 3 thread 2: '/dev/stage/oradev/db/apps_st/data/group_3.316.731945065'
    Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_m000_348380.trc:
    ORA-00322: log 4 of thread 2 is not current copy
    ORA-00312: online log 4 thread 2: '/dev/stage/oradev/db/apps_st/data/group_4.315.731945069'
    Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_ora_442500.trc:
    ORA-00367: checksum error in log file header
    ORA-00322: log 2 of thread 1 is not current copy
    ORA-00312: online log 2 thread 1: '/dev/stage/oradev/db/apps_st/data/group_2.313.731945057'
    Thu Feb 24 20:05:58 2011
    Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_ora_442500.trc:
    ORA-00367: checksum error in log file header
    ORA-00322: log 3 of thread 2 is not current copy
    ORA-00312: online log 3 thread 2: '/dev/stage/oradev/db/apps_st/data/group_3.316.731945065'
    Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_ora_442500.trc:
    ORA-00367: checksum error in log file header
    ORA-00322: log 4 of thread 2 is not current copy
    ORA-00312: online log 4 thread 2: '/dev/stage/oradev/db/apps_st/data/group_4.315.731945069'
    thanks in advance

  • Why do we need standby redo log on Primary database.

    Hi Gurus,
    I was going through the document in OBE,
    http://www.oracle.com/technology/obe/11gr1_db/ha/dataguard/physstby/physstdby.htm
    I have two queries:
    1) I noticed the statement -
    "Configure the primary database to receive redo data, by adding the standby logfiles to the primary. "
    Why do we have to create standby redo log on a primary database?
    2) There is another statement --
    "It is highly recommended that you have one more standby redo log group than you have online redo log groups as the primary database. The files must be the same size or larger than the primary database’s online redo logs. "
    Why do we need one additional standby redo log group than in Primary database.
    Could anyone please explain to me in simple words.
    Thanks
    Cherrish Vaidiyan

    Hi,
    1. Standby redo logs are used only when the database_role is standby, it is recommended to be added in primary also so that they can be used on role reversal, however during normal working standby redo logs will not be used at all on primary.
    2. In case of 3 online redo log groups, it is recommended to use 4 standby redo log group this is in case if log switching is happening frequently on primary and all 3 standby redo logs are still not completely archived on the standby and 4th can be used here as there will be some delay on standby due to network or slowness of arch on standby.
    Use of the standby redo log groups depends on the redo generation rate, you can see only 2 standby redo logs are getting used while you have 4 standby redo log groups, when the redo generation rate is less.
    So it is recommended to have one more standby redo log group when redo generation rate is high and all of the existing standby redo log group are getting used.
    Regards
    Anudeep

  • How to create db refresh using standby

    Hi all,
    Please any one tell me how to create clone using standby database .We have a stand by in some other state say x. The test instance which running in stand by place (i.e x) should create with stand by. Usually we copying the PROD backup to stand by server . so it takes some long time. So we would like to create refresh from standby database.So please provide how to do.
    Regards
    Gobinath.R

    Welcome to Forum
    When ever you post your question mention your database version number
    Why don't you search simply in Google for this
    http://www.lmgtfy.com/?q=clone+the+database+using+standby+database
    Anyhow here i give some sites for you
    http://gavinsoorma.com/2012/04/performing-a-database-clone-using-a-data-guard-physical-standby-database/

  • Creating a new folder using a Database Link

    I'm trying to create a new folder from another database with Discoverer Administrator. The schema that I'm using is the same on each database but when I select the other database using the database link, Discoverer Administrator will get all the user accounts on the other database but if that user exists on the default database I will only see the objects owned for that user on the default database. If I select a user that is only on the remote database I will see the objects from the remote database. Is this a Bug? I was able to do this using Disco Admin 9.0.4 and EUL 5.02 on an Oracle 8i database. I just migrated my EUL to an Oracle 10g database using EUL 5.1.1 and Disco Admin 10.1.2.

    Yes this a bug, Bug No. 4324352 &Note:459996.1
    You follow this workaround
    After the Folder creation
    1. Choose Folder Properties (right-click on Folder)
    2. Change database from <default database> to <DBLINK>
    Thanks
    Mohamed

  • After creating a contained database, getting a login failure error while trying to connect to it.

    After creating a contained database and a user with passowrd under the same database, I tried connecting to the contained database. I entered the server name, login credentials and went to the connection properties tab to select the contained database using
    <browse server> option under "connect to database". Here I get the login failure error.
    TITLE: Browse Server for Database
    Failed to connect to server <servername>\<login>. (Microsoft.SqlServer.ConnectionInfo)
    But when I manually enter the Database name instead of selecting from the <browse server> option the connection gets through.
    Is this a Bug ? Has anyone else faced this error?

    Hello,
    Is this a Bug ? Has anyone else faced this error?
    It's not a bug, it's working as intended. Contained users don't have instance level permissions and cannot "login" to the instance (which is what the "browse" button is attempting). In order for it to work, the database name must be in the connection string
    (which with the browse button, it will not be).
    Welcome to contained users, they aren't for everyone.
    Sean Gallardy | Blog | Microsoft Certified Master

  • Lite database seems to crash after creating a database adapter

    Hello,
    I'm using the SOA suite 10.1.3.3.0 and Oracle Lite database that comes with it.
    I'm designing in JDeveloper with the same version number.
    After creating a database adapter, the database gives back the exception:
    "Internal Error: Invalid Connect String".
    A restart fixes it, but i don't feel like restarting each time obviously.
    Pls help.
    Message was edited by:
    user614695

    Hello,
    Is this a Bug ? Has anyone else faced this error?
    It's not a bug, it's working as intended. Contained users don't have instance level permissions and cannot "login" to the instance (which is what the "browse" button is attempting). In order for it to work, the database name must be in the connection string
    (which with the browse button, it will not be).
    Welcome to contained users, they aren't for everyone.
    Sean Gallardy | Blog | Microsoft Certified Master

  • Scripts for run after creating database

    HI,
    now when 10xe universal installer create database with unicode characterset we are all unabled to run Form6i (forms 6i does not support AL32UTF8) on xe.
    I would like to try to create database using EE8MSWIN1250 but I am not sure what scripts I have to run after create database on windows XP professional OS.
    Is there any list ?
    What else I have to check or run after creating database ?

    connect ... as sysdba
    @c:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\ADMIN\catalog.sql
    @c:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\ADMIN\catblock.sql
    @c:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\ADMIN\catproc.sql
    @c:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\ADMIN\catoctk.sql
    @c:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\ADMIN\owminst.plb
    connect system
    @c:\oraclexe\app\oracle\product\10.2.0\server\sqlplus\admin\pupbld.sql
    @c:\oraclexe\app\oracle\product\10.2.0\server\sqlplus\admin\help\hlpbld.sql helpus.sql
    I execute that scripts and it's look like that everything working well except that I can't access Database Home Page.
    Any sugestion what I should look for.

  • Standby remains "IDLE" after creating Active-Standby pair

    hi gurus
    After creating an active stand by pair,the standby node can not step in "standby" role.
    On the standby:
    Command> call ttrepstateget;
    +< IDLE >+
    +1 row found.+
    On the active:
    Command> call ttrepstateget;
    +< ACTIVE >+
    +1 row found.+
    ttrepadmin -showstatus command on the active shows:
    tt01@njzapp1:/oracle/app/tt01/TimesTen/tt01/info$ttrepadmin -showstatus ocs01
    Replication Agent Status as of: 2010-04-21 09:24:48
    DSN                         : ocs01
    Process ID                  : 225840 (Started)
    Replication Agent Policy    : manual
    Host                        : NJZAPP1
    RepListener Port            : 17015
    Last write LSN              : 0.9662520
    Last LSN forced to disk     : 0.9662520
    Replication hold LSN        : 0.9583928
    Replication Peers:
    Name                     : OCS01
    Host                     : PJZAPP1
    Port                     : 18011  (Connected)
    Replication State        : STARTED
    Communication Protocol   : 24
    TRANSMITTER thread(s):
    For                     : OCS01
    Start/Restart count   : 97
    Send LSN              : 0.9583928
    Transactions sent     : 0
    Total packets sent    : 97
    Tick packets sent     : 0
    MIN sent packet size  : 139
    MAX sent packet size  : 139
    AVG sent packet size  : 139
    Last packet sent at   : 09:24:31
    Total Packets received: 0
    Most recent errors (max 5):
    TT16060 in transmitter.c (line 6605) at 08:44:16 on 04-21-2010
    TT16060 in transmitter.c (line 6605) at 08:54:19 on 04-21-2010
    TT16060 in transmitter.c (line 6605) at 09:04:22 on 04-21-2010
    TT16060 in transmitter.c (line 6605) at 09:14:25 on 04-21-2010
    TT16060 in transmitter.c (line 6605) at 09:24:28 on 04-21-2010
    RECEIVER thread(s):
    For                     : OCS01
    Start/Restart count   : 1
    Transactions received : 0
    Total packets sent    : 1
    Tick packets sent     : 0
    MIN sent packet size  : 80
    MAX sent packet size  : 80
    AVG sent packet size  : 80
    Last packet sent at   : 09:24:45
    Total Packets received: 1
    MIN rcvd packet size  : 139
    MAX rcvd packet size  : 139
    AVG rcvd packet size  : 139
    Last packet rcvd'd at : 09:24:45
    Most recent errors (max 5):
    TT16060 in receiver.c (line 2044) at 09:24:45 on 04-21-2010
    ttrepadmin -showstatus command on the standby shows:
    ttrepadmin -showstatus ocs01
    Replication Agent Status as of: 2010-04-21 09:38:25
    DSN                         : ocs01
    Process ID                  : 184590 (Started)
    Replication Agent Policy    : manual
    WARNING: Replication Agent has not finished initialization yet.
    And ttdaemonlog -r shows lots of this message:
    +2010-04-21 09:25:49.43 Warn: REP: 225840: OCS01:receiver.c(2044): TT16060: Failed to read data from the network. select() timed out+
    How to handle this problem?
    Thank you very much.
    Edited by: KevinMao on Apr 20, 2010 6:39 PM

    Hi Kevin
    the obvious culprits: did you create the standby with the 'duplicate' command? Did you start the replication agents for both active and standby?
    Can you share the 'create active standby ...' command you used and the steps you followed to set this up?
    Adam

  • Not able to create a database link using the database gateway of oracle 11g

    HI,
    While trying to create a database link to SQL server from Oracle ,using the database gateway provided with 11g, i am getting the following error while making use of it in selecting columns from tables :
    Error starting at line 1 in command:
    select * from test1@dblink
    Error at Command Line:1 Column:20
    Error report:
    SQL Error: ORA-28513: internal error in heterogeneous remote agent
    ORA-02063: preceding line from DBLINK
    These are the steps i have followed for setting up:
    1.Ran the set up for the Database gateway.and mentioned the SQL server name and database .ALos set up a listener.
    2. Added the following in the Listener.ora of Oraclehome 11/NETWORK/ADMIN:
    LISTENER_SQL_FCD =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost) (PORT = 1541)
    SID_LIST_LISTENER_SQL_FCD =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=dg4msql)
    (ORACLE_HOME= D:\app\20537\product\11.1.0\db_3)
    (PROGRAM=dg4msql)
    3.Added the following in tnsnames.ora inOracle home/NETWORK/ADMIN:
    dg4msql=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1541))
    (CONNECT_DATA=(SID=dg4msql))
    (HS=OK)
    4. Following is the entry in initdg4msql.ora in C:\product\11.1.0\tg_5\dg4msql\admin:
    HS_FDS_CONNECT_INFO=10.148.45.242:1433//SalesDemo
    HS_FDS_TRACE_LEVEL=DEBUG
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    5. Created the database link :
    create database link dblink
    connect to "sa" identified by "<pswd>"
    using 'dg4msql'
    On running :select * from test1@dblink i get the following error:
    Error starting at line 1 in command:
    select * from test1@dblink
    Error at Command Line:1 Column:20
    Error report:
    SQL Error: ORA-28513: internal error in heterogeneous remote agent
    ORA-02063: preceding line from DBLINK
    Is there any issue with the set or definition that I get the above error?

    What is the version of the Oracle database in which you have specified/and use the database link?
    If it is for example 10.2.0.3.0 you need to apply the mandatory patch for RDBMS bug 5965763 first before being able to use an 11g gateway. Have a look at MetaLink note 457808.1 for details about this patch.
    Regards,
    Ed

  • Got an error while creating bind variables using sql database.

    iam going to use sql database for ADF-BC .
    i created the bind variable and apply the bind position for the corresponding variable in the view object editor.when i click test it shows me "query is valid". when i tried to run that it gives me two errors.
    1) sql error during statement preparation.(ie) select empid ,empname......from the emptable where empid like :'emp' and
    2) [Microsoft][SQl server  2000 driver  for jDBC] invalid parameter bindings
    i need help to know the solution for this...(or) is there any other way to create bind variable ......

    The 3 binding styles supported by JDev:
    Oracle Named - ie. SELECT xxxx FROM xxxx WHERE emp_id = :vEmp (note colon and variable name)
    Oracle Positional - ie SELECT xxxx FROM xxxx WHERE emp_id = :1 (note colon)
    JDBC Positional - ie SELECT xxxx FROM xxxx WHERE emp_id = ?
    Literally this query is sent to the database to execute, then the bind variables values are applied as a separate database operation. If SQL Server doesn't suport any of these binding styles, it's not going to work. As Chris Noonan suggests, try the JDBC Positional style though as you're using a JDBC driver to connect to SQL Server and it should support that style (the others are Oracle styles), and make sure you've switched the binding style on the VO query page to "JDBC Positional" too.
    You must also on the VO bind variable page define your bind variables.
    Also read the 10.1.3 JDev guide on ADF Business Components and View Object bind variables.
    CM.

  • Filter on the reports created using DIRECT DATABASE ACCESS in obiee 10g

    How do i filter on the report that is created by using DIRECT DATABASE ACCESS in obiee 10g?
    I have reprot A with link to report B, report B is created using DIRECT DATABASE ACCESS. so it is just a table, but i need to filter out 2 columns.
    here is the query in REPORT B:
    select strm, acad_group, crse_id, class_section, count(emplid) from v_crse_enrl
    group by crse_id, strm, class_section, acad_group;
    the link in REPORT A:
    '<a target="_blank" href="'||VALUEOF("bi_link")||'Go&Path=CF_CROSS_TEACHING_LIST&ACTION=Navigate&col1=STRM&val1='||view1_DIMEN.STRM||'&col2=CLASS_SECTION&val2='||TRIM(view1_DIMEN.CLASS_SECTION)||'">' ||view1_dimen.class_id||'</a>'
    from this link to report B.
    thank you!!

    I didnt tested using url, but the same works with using presentation variables.
    To your direct sql add where clause for those two columns like WHERE col='@{col1}' and col ='@{col2}'
    and try to run from url.
    let me know updates

Maybe you are looking for

  • Local vs. Remote Response Why such a diff?

    I'm trying to find out why there is such a difference in query finish times and how to improve the time. ftp is fast between the machines. The network folks say everthing is ok there though the sniffer sees many Parses. Changing the arraysize in SQL*

  • Report to identify the requisitionsu2019 coverage

    Hi, This is a requirement of a report to identify the requisitionsu2019 coverage expressed in production days according to the production schedule horizon. Once a requisition is created either manually or automatically by the MRP, this report should

  • How to send a # from Voip to PSTN??

    I'm using a 3102 PSTN port with a 3CX VoIP PBX. On an outgoing call (PBX out to PSTN) I'm trying to send "72#" and "73#" to activate and deactivate my PSTN feature Call Forwarding Fixed.  The 72#/73# is sent by the PBX NOT dialed manually from a phon

  • Determining if RAC installed (as non-DBA user)

    We would like to be able to detect, when our application is installed, what version of Oracle we are running on. The product_component_version view seems to give us what we need, but not having a RAC environment in-house, I can't verify if that infor

  • Help a student plz

    i need help urgently on what background or information i should have to be able to program an midp application. please i'm a student and i need it for my senior project.anything can help. thx