Standby Database Creation problem

Hi,
I have setup Standby Database for our Primary DAtabae,
I am facing probel while applying redo logs, if somebody nows the solution, Please help me.
SQL> startup nomount PFILE='E:\oracle\admin\fno\pfile\init.ora';
ORACLE instance started.
Total System Global Area 730931140 bytes
Fixed Size 454596 bytes
Variable Size 285212672 bytes
Database Buffers 444596224 bytes
Redo Buffers 667648 bytes
SQL> ALTER DATABASE MOUNT STANDBY DATABASE;
Database altered.
SQL> RECOVER STANDBY DATABASE;
ORA-00279: change 7990686470 generated at 04/01/2006 15:53:57 needed
for threa
1
ORA-00289: suggestion : F:\ORACLE\ORADATA\FNO\ARCH\LOG_17032.ARC
ORA-00280: change 7990686470 for thread 1 is in sequence #7032
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
AUTO
ORA-00283: recovery session canceled due to errors
ORA-00600: internal error code, arguments: [3020], [8388681], [1],
[7032],
[137367], [16], [], []
ORA-10567: Redo is inconsistent with data block (file# 2, block# 73)
ORA-10564: tablespace UNDOTBS1
ORA-01110: data file 2: 'G:\ORACLE\ORADATA\FNO\UNDOTBS01.DBF'
ORA-10560: block type 'KTU SMU HEADER BLOCK'
ORA-01112: media recovery not started
Ramesh
pls mail me : [email protected]
+91 080 9341018616

Hi,
I have setup Standby Database for our Primary DAtabae,
I am facing probel while applying redo logs, if somebody nows the solution, Please help me.
SQL> startup nomount PFILE='E:\oracle\admin\fno\pfile\init.ora';
ORACLE instance started.
Total System Global Area 730931140 bytes
Fixed Size 454596 bytes
Variable Size 285212672 bytes
Database Buffers 444596224 bytes
Redo Buffers 667648 bytes
SQL> ALTER DATABASE MOUNT STANDBY DATABASE;
Database altered.
SQL> RECOVER STANDBY DATABASE;
ORA-00279: change 7990686470 generated at 04/01/2006 15:53:57 needed
for threa
1
ORA-00289: suggestion : F:\ORACLE\ORADATA\FNO\ARCH\LOG_17032.ARC
ORA-00280: change 7990686470 for thread 1 is in sequence #7032
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
AUTO
ORA-00283: recovery session canceled due to errors
ORA-00600: internal error code, arguments: [3020], [8388681], [1],
[7032],
[137367], [16], [], []
ORA-10567: Redo is inconsistent with data block (file# 2, block# 73)
ORA-10564: tablespace UNDOTBS1
ORA-01110: data file 2: 'G:\ORACLE\ORADATA\FNO\UNDOTBS01.DBF'
ORA-10560: block type 'KTU SMU HEADER BLOCK'
ORA-01112: media recovery not started
Ramesh
pls mail me : [email protected]
+91 080 9341018616

Similar Messages

  • Physical Standby Database Creation with RMAN

    Hi,
    I'm in 10g on Linux. I want to create a standby database on another Linux server. I did not find a clear procedure to create it in Oracle® Database Backup and Recovery Advanced User's Guide 10g Release 2 (10.2) Part Number B14191-02
    and niether in Oracle® Data Guard Concepts and Administration 10g Release 2 (10.2) B14239-04
    In the last one chapter 3 sends you to F appendix and F appendix says do nothing before having than all in chapter 3 :
    In F.1.1 page F-2 it is said :
    See Chapter 3 for a complete discussion of physical standby database preparation,including initialization parameter settings. You must perform all necessary preparation tasks described in these chapters before RMAN can successfully create the standby database files and mount the standby database.
    Any way I'm looking for a procedure or clear article to create it.
    Many thanks before.

    Physical Standby Database Creation with RMAN
    Use the DUPLICATE command.
    Check out this metalink doc: Note:374069.1 and Note:118409.1
    Message was edited by:
    STW
    Message was edited by:
    STW

  • Standby database creation notes by metalink

    Can any body send me good Standby database creation notes by metalink.

    Are you wanting to see notes for physical or logical standby and what Database version and OS?
    Use the knowledge browser in Metalink and click the database link in the Support Categories section on the left of the page and select Dataguard under the High Availability Section on the resulting page.

  • Database creation problem on Windows XP

    Hello Readers
    I have installed ORACLE Database Engine on windows XP.
    I am facing problem in database creation.
    I have tryed wizard as well as mannual method.
    in wizard at 90% it gives an error "END-OF-FILE ON COMMUNICATION CHANNEL"
    although CD drive is in CR Rom drive.
    Please help me ....
    Rashid Masood Ashraf
    email: [email protected]

    After going to the properties as you suggested:
    Right now the Obtain an IP address automatically is checked
    I need to check the Use the following IP address:
    What should I enter for
    IP address:
    Subnet mask:
    Default gateway:
    Please help.
    Edited by: Nel Marcus on Dec 2, 2008 3:49 PM

  • Database creation problems and parition consolidation

    This is my first time on here so please look past my green-ness. =)
    I Installed Oracle 8.1.7 successfully and opted to setup the database creation later so I could put the database on another partition. Well, I tried once to create the database on the partition I installed oracle onto (/oracle) but I had insufficient space, It said I needed 1.3 gigs. My "/database" partition is only a 1 gig parition (and /oracle is 2 gigs). My plan was of course, to seperate them.
    Ok, I didn't see an option to create the db on another partition so I resigned to using /oracle. My question now is, is the 960 megs on /oracle enough to create the database? I used the custom setup so I could see how everything was broken down and I noticed that my rollback segment is 500 megs. Is this necessary? Can I get by with 100 megs and be fine? Also, if I did do this, I'd have approximately 100 megs free for data, this is enough I hope??
    Lastly, I need to combine the partitions somehow without effecting /. The hard drive is broken down into:
    gigs
    5.5 /
    2.0 /oracle
    1.0 /database
    Does anyone have any ideas? In windows, I used partiton magic but I don't know if there is a linux version.
    One more thought (last one for real =), it had 50 megs allocated for it's shared memory pool. I'm assuming this will take away from the 128megs I have thus effectively making only 78 available to X, will this cause any noticeable problems other than a bit of slowdown? I have most if not all of my virtual memory free at all times. I know I should get more ram, but you know how the budget thing goes...
    Any help would be greatly appreciated,
    Rob

    Try running the catalog and catproc sql scripts.
    $ cd $ORACLE_HOME/rdbms/lib
    $ svrmgrl
    connect internal
    @catalog
    @catproc
    That will set up all of the internal views and packages that
    oracle needs to do DDL.
    Scott
    Don DeLuca (guest) wrote:
    : I'm gotten through the install and created the database. The
    : database comes up, I can do some simple stuff like create a new
    : user, create a simple table but when I try to run SQL DDL
    : statements I get errors saying: "recursive SQL error". I
    : looked at the sql.log file after the install. It doesn't look
    : like all the packages were created successfully. Have others
    had
    : similiar problems with the system table/package creation? To
    me
    : it looks like a DDL that was needed was not called during the
    : install and later caused problems during package creation.
    : This is my fourth time installing and I have the same problem
    : each time. I also tried to run the plsql.sql file to recreate
    : some of the packages but this did not work either.
    : I've just about given up and I'm starting to realize why its
    : free.
    null

  • ORA-00235 Standby Database Controlfile problem

    Dear fellow dbas,
    I am just starting to become acquainted with high availability and have to solve following problem.
    We have a RAC database with a standby database that is out of sync. In fact the standby database is running in async mode but archived redo logs are not applied.
    They are successfully forwarded from the primary instance to the standby db though. Looking at the alert.log I discovered an ORA-00235 error - control file fixed table inconsistent due to concurrent update.
    As a result of this I have a huge gap between the primary and standby database.
    Can you please give me a step to step tutorial, how I can resolve this issue?
    Any help is appreciated!
    Many thanks,
    Sebastian

    Hello Anand,
    I am using 11.1.0.7.0.
    My standby database is a cluster database as well. I shut both instances down using srvctl and created a standby controlfile from my primary instance, which I copied to the respective locations referred to in the spfile of my dataguard database. Afterwards I started up and issued a ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
    The database does not open and the alert.log states ORA-01124 "cannot recover datafile 1 - file is in use or recovery".
    Next, the background media recovery process was shut down.
    What should I do, to get my standby back running?
    Should I place the primary database in backup mode and copy the datafiles to my standby db?
    Afterwards I would create a standby controlfile again and overwrite the standby ones.
    Maybe you assist in pointing at the next steps.
    Many thanks,
    Sebastian

  • Database creation problems

    Help!! I have installed 8i on RH Linux 6.1 and followed the "Friendly" guide steps, it worked perfectly. However when I try to create a database using the Database assistant, I get an error "Oracle Not Logged on" I've reinstalled twice and still have the same problems - can anyone help?
    Thanks for any suggestions/help!
    null

    This problem doesn't just occur on Linux. I have encountered the same on both Digital Unix and HP/UX. I finally gave up and told it to just create the scripts. Looking at the scripts, there are a number of different problems depending on the items that you choose to install and/or customizations to db setup, such as size and placing of files.
    To find them, I generated the scripts and then looked at the contents and used svrmgrl to individually run commands so that I could see the "real" error message.
    It's been awhile but I think the not logged on was a failure in the initial create database command... Or maybe it was the MAX_ENABLED_ROLES being too small in the default init file to support some of the products... Or the rollback segments being created as private and not being automatically added to the init before the assistant does a shutdown and restart... Or it creating the rollback segment tablespace not the size and parameters that I requested...
    You may guess by now I wasn't too impressed by the dbassist program. All I can say is doesn't anyone believe in testing anymore? I have a hard time believing that anyone at Oracle actually tested running this product and actually using any of it's features.
    This really pissed me off because when I first saw the pretty GUI and nice interface I thought WOW, this is great, finally something to make database creation simpler than running all those commands and scripts.

  • Steps to rollback when Logical Standby Database creation fails

    Hi,
    In case while creating a logical standby database it fails. What steps should be done on primary to rollback the earlier steps. Because while creating logical standby we do certain tasks on primary e.g.
    1) create supplemental logging.
    2) update init file.
    Regards,
    Tushar

    Hi,
    Thanks for the mail. Should I drop the supplemental logging using
    "Alter database DROP Supplemental Log data;".
    or if we need to disable, how can we do so?
    Rest is ok. Anyways I would not be using force logging.
    Droping of additional tablespace created to keep logminer tables on primary.
    Removing of log_archive_dest_2 information from primary init.
    I think the above should do.
    Regards,
    Tushar

  • StandBy database creation in oracle 10g

    Respected Sir's
    I have to create stand by database in oracle 10g i am working on (Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod) .Plz any body provide steps required for creating stand by database in oracle10g.Both the database db1 and db2 are running on archivelog.I am confuse how to set archivelog parameter that goes to db2(standby database) from db(primary database).Any one provide me steps to properly configuring the stand by database.
    Thanks

    Respected Sir
    These are the detailed steps that i performed on standby and primary database.
    On both the systems i install the oracle in E drive and the database i create in G drive and archive destination also in G drive.
    Like G:\prod1\(all the datafiles,logfiles and control file).
    G:\arch\(all the archive files).
    ON PRIMARY DATABASE(IP:192.168.2.14):
    1.First i create a database with DBCA and the database SID is prod1.
    2.Put the database in archive mode and also enable the force logging.
    3.Shutdown the Primary database and modify the following parameters in pfile.
    log_archive_dest_1='LOCATION=G:\ARCH'
    log_archive_dest_2 = "service=STDBY mandatory reopen=60"
    log_archive_dest_state_1 = enable
    log_archive_dest_state_2 = enable
    log_archive_min_succeed_dest = 2
    4.Mount the primary database and create the standby controle file and create the spfile from the modified pfile.
    5.Shutdown the primary database and take the backup of all the datafile,logfile,standby controlfile ,passwordfile,pfile in a folder.
    6.Startup the primary database.
    Tnsname.ora Configuration.
    Create the connection string using the Net Manager with name STDBY and in host name i provide the IP address of the standby database.
    ON STANDBY DATABASE(IP 192.168.2.9):
    Listener.ora Configuration.
    Create a listener using the Net configuration Assistance.
    1.I copy the datafile,logfile and standby controle file in g:\prod1
    2.Copy the E:\oracle\product\10.2.0\admin\prod1 folder from primary database and past it on the same location on the standby database.
    3.On standby pfile i change only the standby_archive_dest parameter to g:\arch.
    4.Create the service with oradim -SID -NEW prod1 -STARTMODE manuall
    5.Start the standby database in nomount mode.
    6.Create the spfile from pfile and shutdown the database.
    7.Startup the database in nomount mode using spfile.
    8.ALTER DATABASE MOUNT STANDBY DATABASE;
    These are the occurs when i use tnsping stdby on primary database.
    C:\Documents and Settings\Administrator>TNSPING STDBY
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 04-FEB-2009 12:03:55
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    E:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.9
    NECT_DATA = (SERVICE_NAME = prod1)))
    OK (20 msec)
    sqlnet.ora file on stand by database.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, LDAP)
    BEQUEATH_DETACH=yes
    AUTOMATIC_IPC = ON
    NAMES.DEFAULT_DOMAIN = IDEVELOPMENT.INFO
    SQLNET.EXPIRE_TIME=2
    This occurs when i use tnsping prod1 on standby database.
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 04-FEB-2
    009 12:01:40
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    E:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve name
    Please help me bec i have to create the stand database as soon as possible.Thanks Sir

  • Standby database recovery problems....

    HP-UX 11.23
    oracle 10.2.0.2
    I know that this has been discussed quite a bit. I've spent a number of hours on this forum alone today just reading through the search hits. I've tried some of the 'tricks' that have been described in the threads. But I'm still getting the same error....
    My standby database lost connectivity with my primary, and stopped receiving logs. I got no notification, because my scripts were not set up to catch this event...
    The retention policy on my primary is 30 days of archive logs. After that, they are deleted. (I don't agree with it, but not my call)
    The standby got more than 30 days out of sync, so I decided to just refresh the whole standby.
    Since cold backups are not an option, I did an alter system checkpoint to flush all archive logs. Then I issued a complete hot backup.
    Once completed, I went ahead and created a fresh standby control file, as well as a fresh backup control file. In that exact order.
    I transferred all db files, archive logs, and control files over to the standby.
    I ran the commands:
    startup nomount;
    (SUCCESSFUL)
    alter database mount standby database;
    (SUCCESSFUL)
    recover standby database;
    I let it run through all the archive log files until it errored saying it couldn't find "X" file being the next sequence that wasn't in the directory. Which to my understanding, is normal...time to quit recovery.
    When I entered cancel, I get the following error.
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00279: change 7313561157126 generated at 12/17/2008 19:01:02 needed for
    thread 1
    ORA-00289: suggestion : /oraarch/swesc/1_13729_640853326.arc
    ORA-00280: change 7313561157126 for thread 1 is in sequence #13729
    ORA-00278: log file '/oraarch/swesc/1_13728_640853326.arc' no longer needed for
    this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/ora1/oradata/peregrine/system01.dbf'
    So my understanding of this is that it means that you still need to apply logs.
    So I grabbed the logs that had been auto created during the time that I was rebuilding everything and applied them.
    Same errors.
    I'm at a loss here. How can it still be out of sync? Is there a way to force it to a specific sequence so that I can successfully open it and then shut it down to complete the sequence?
    Thanks.

    Thanks OrionNet. Great info!!
    Here is the response.
    OrionNet wrote:
    select * from v$archive_gap
    NO ROWS SELECTED.
    and all the logs got applied
    select applied , count(*) from v$archived_log;
    -- This should return 1 rows with "YES", number of logs applied.
    I had to change change this as it complained about "not a single-group group function
    I changed it by adding group by applied to the end...
    NO ROWS SELECTED
    Then you should try activating standby database
    SQL> alter database force nomount pfile='....'; -- or without the pfile
    SQL> alter database mount standby database;
    -- If all the archived logs have been applied to your standby then stop recovery
    SQL> alter database recover manated standby cancel;
    -- Note if it fails on activating the database ;shutdown and mount it again and activate (skip stopping recovery step).
    SQL> alter database activate standby database;
    IF successfull, then perform followin
    SQL> alter database open;Regards
    OrionNet;
    I thought that in a primary/standby scenario, thiat this action would automatically shut down the primary.  I can't have that.
    HOLDING OFF ON REST FOR RESPONSE...
    Edited by: WillyB on Dec 17, 2008 9:40 PM

  • Standby Database Creation in the same Box Oracle 9.2.0.1

    Box - Sun Solaris 64 bit
    Oracle Version - 9.2.0.1
    I have a database called 'sales' in the above box. I want to create a standby database in the same box (in different mount point). This is what I did:
    1. took cold backup of all datafiles
    2. created standby controlfile
    3. updated init file.
    -when I tried to start the stabdby db, it is throwing error because the controlfile is confusing with the same db name as the primary ('sales').
    My question is: Can I create a standby db in the same box?

    Hello,
    For keeping the standby database on same HOST....it does seems to be great...i must be on separate box....may be on different network...i believe you would be using it for some failiover purpose...Isn't it.
    For Unix it is quite easy..you may implement like this...The Issue which you are referring may be because of wrong Oracle Home or SID....(i'm not very much sure..) You may try following steps:
    1. Create a separate Unix A/c and set ORACLE_HOME and ORACLE_SID relevant to your StandBy Database. I believe the Home would be same whereas SID would be your standby databse.
    2. Take a Cold Backup of All your database files from Production.
    3. Copy these files on separate mount points for standby Db. Put them all to relevant directory and be sure to set the Group of all these files as "SYSDBA" This is Must.
    4. And then modify your INIT.ORA file i.e. InitSID.ora file accordingly and put the file in ORACLE_HOME
    5. Login to Newly created Unix A/c. Check whether ORACLE_SID is set ot not to your standby database instance.
    6. Login to sys as sysdba and start up the database. It will by default would try to check & do for your relevant Oracle SID for this profile...
    HTH
    Regards,
    Kamesh Rastogi

  • Standby database creation on oracle8.0.6

    Folks...can anyone point me to right documentation for creating standby database on oracle 8.0.6.
    I found very good doc for version 8.1.5 but not 8.0.6.
    Thanks S

    what is the tablespace size for the following:
    system:
    temp:
    user:
    rollback:
    index:
    shah
    null

  • Oracle standby database creation different backup location

    Hi,
    I am using Oracle EE 11gR2 on aix 6.2.I am tring to create a standby database.The directory structure od primary and standby database server are different.
    I am taking backup (RMAN) at  /u01/backup directory on primary server and shipping those backup to standby server at /u05/backup.While duplication the rman unable to locate backup pieces at Dr server as those backups are located on different location from Dc.How to over come this situation.catalog start with is not working.
    Regards
    DBAFORU

    Hello;
    Since you are on Oracle 11 one option would be duplicate from active primary. You can use the Standby parameters of DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT for the directory structure.
    duplicate target database for standby from active database NOFILENAMECHECK;
    How To Restore From An Old Backupset Using RMAN? (Doc ID 209214.1)
    Step by Step Guide on Creating Physical Standby Using RMAN DUPLICATE...FROM ACTIVE DATABASE (Doc ID 1075908.1)
    RMAN ACTIVE DUPLICATE WHEN CONNECTED TO STANDBY AS TARGET (Doc ID 1343515.1)
    Creating a Physical Standby Database (Doc ID 1475344.1)
    Best Regards
    mseberg

  • Standby database creation

    Hi,
    I have a primary and a standby database.
    Is that possible to create another standby database using the existing standby database?
    Thanks in advance.
    Regards,
    Prem

    Yes.

  • LiveCache Installation (Database creation) problems

    We are trying to install liveCache 7.6.29 (SCM 5.0 SR2), during the database creation phase we are encountering the below error;
    Execute Command : /sapdb/programs/bin/dbmcli  -n ql1ap01.cardinalhealth.net -R /sapdb/QL1/db db_create QL1 CONTROL,******** ql1adm,
    Start subprocess as user with uid: root
    > Subprocess stops at 20070522205211
    ERR
    -24875,ERR_NEEDADMI: The operating system user is not a member of the database administrators group
    -24994,ERR_RTE: Runtime environment error
    20145,UNIX password ********
    Please let me know if any of you have faced this issue and resolved the same.
    Eagerly waiting for your reply, as this is a high priority for me.
    Regards,
    Thilaka

    Hi Thilaka,
    hm, why are you now askig the forum when you've direct email contact with me?
    Anyway, this really should be handled over OSS...
    Just fyi:
    It seems that SAPINST is trying to issue the following command:
    /sapdb/programs/bin/dbmcli -n ql1ap01.cardinalhealth.net -R /sapdb/QL1/db db_create QL1 CONTROL,******** ql1adm,
    Can you try and see if you can issue it from the commandline on your machine (with the same user, i.e. probably root)? Please do not forget to add the password of the ql1adm, which is either not visible in the above command or forgotten (by SAPINST):
    /sapdb/programs/bin/dbmcli -n ql1ap01.cardinalhealth.net -R /sapdb/QL1/db db_create QL1 CONTROL,******** ql1adm,<b><password></b>
    After issueing this, please try to continue using SAPINST (and please update the OSS message accordingly).
    Regards,
    Roland

Maybe you are looking for