How to startup database after shutdown abort

Hi.
I had a havy load transaction, coudn't kill, so I run shutdown abort,
now I can't open database, that is massage I get:
"ORA-16038: log 3 sequence# 52 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 3 thread 1:
'/u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_3_48fpv6q1_.log'
ORA-00312: online log 3 thread 1:
'/u01/app/oracle/flash_recovery_area/ORCL/onlinelog/o1_mf_3_48fpv95v_.log'
What to do?

Upss sorry:
Check your flashrecovery area directory, it's full and your redo logs cannot be archived
release the space..
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
Edited by: Kamran Agayev A. on Mar 5, 2009 8:27 PM

Similar Messages

  • Undo Datafile deleted, How to startup database?

    Hi
    I was getting that message when startup database
    SQL> startup
    ORACLE instance started.
    Total System Global Area 167772160 bytes
    Fixed Size 1218292 bytes
    Variable Size 83888396 bytes
    Database Buffers 75497472 bytes
    Redo Buffers 7168000 bytes
    Database mounted.
    ORA-01157: cannot identify/lock data file 7 - see DBWR trace file
    ORA-01110: data file 7: '/u01/app/oracle/oradata/impl2pk/undotbs02.dbf'
    Later on got to know that a datafile was deleted.
    Anybody help me how to start database now?
    Thanks

    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:5669213349582Khurram

  • How to send mail after job abort

    Hi,
    how can I send an email when a job is aborted? Or is there a system event if a job aborts?
    Thanks for your help
    Lutz

    You might want to look into ABAP.  Basically a generic job that would get called, to send email, whenever a certain job "aborts", but then you'd also need a wrapper job for detecting the bad return code. help.sap.com has some info on that (using events to trigger jobs), like this:
    http://help.sap.com/saphelp_47x200/helpdata/en/fa/096f33543b11d1898e0000e8322d00/frameset.htm
    or this (the full-control method)
    http://help.sap.com/saphelp_47x200/helpdata/en/fa/096f33543b11d1898e0000e8322d00/frameset.htm
    CCMS can also monitor job status too, as the other poster said,
    http://help.sap.com/saphelp_47x200/helpdata/en/fa/096f33543b11d1898e0000e8322d00/frameset.htm
    however it's very limited.  Especially if you want to use logic for the alerts (ie only certain jobs should alert upon failure, certain times of day, recipients, etc).  It's all possible with CCMS, I've seen it done before using scripts that read CCMS external alerting but it's probably easier just adding event triggers to your critical jobs.

  • G5 startup problem after shutdown of frozen installation of new software...

    Hi all
    I got a massive problem. My G5 was installing software from dvd and got stuck for some reason. Nothing worked and I had to shut the whole system down. When I now start the G5 it comes up with a white screen with just a small folder in the middle of the screen displaying a question mark and alternates that with the apple face. Besides this the fans go mental and after a minute or so I have to shut it down again. Mouse and Keyboard are responseless:(
    What can I do to get it starting up again? - I need the data on the system drive as I did not have time to back it up yet:((((

    It lost its pointer to the startup disk, so you are seeing the "?" which equals "Can't find system"
    The directory and file system likely are corrupt and need to be repaired.
    Before installing, always insure one or two backups, one that is bootable. And a copy of Disk Warrior is handy.
    Boot from another drive using the OPTION key, hard drive, firewire, DVD and repair your system.
    Backup first, is always faster and less hassle and good insurance policy.
    Use SuperDuper; Apple Restore in Disk Utility.
    If you can't use the OPTION key or boot from CD/DVD, then pull the drive and put it in a FireWire case for later repair and recovery.
    And do make sure you have a clean safe fresh Apple OS boot drive that is ONLY used for emergency maintenance, repairs, etc.

  • How to create database after software installation only

    Hello,
    I installed Oracle 11g Release 2 on CentOS 5.4 system. During the installation process for "Select Installation Option" I chose "Install Database Software Only".
    Now the installation is complete.
    What steps should I accomplish in order to create a database now?
    Could anyone advice?

    Using DBCA
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/install003.htm
    Go to section To launch DBCA.
    Then go to this link.
    http://www.exforsys.com/tutorials/oracle-10g/oracle-database-creation-using-dbca.html
    Regards
    Asif Kabir

  • Computer after startup or after shutdown creating .serverauth.3985

    Every time after starup computer creating ".serverauth." file in "/root" directory (I working with root) with different ectension. For example now then I turn on computer creat file ".serverauth.3985".
    There it content:
    myhost 0 MIT-MAGIC-COOKIE-1 f&x] x*ДJ myhost 1 MIT-MAGIC-COOKIE-1 5Pܔ
    What me do, that computer do not create this files?

    Titus wrote:
    i think you don't use any login manager and you start DE with
    startx
    command. I had the same problem and i solve it by using these link:
    http://www.linuxquestions.org/questions … serverauth
    I create autologin program and add to ~/.bash_profile
    if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/vc/1 ]]; then
    xinit
    logout
    fi
    Thanks.

  • Satellite M40-133: startup issue after shutdown

    When shutting down my Satellite M40-133 EN if I start it up again all I get is the Toshiba wellcome screen.
    If it is left for some time it will startup as normal. When running it is quite warm.
    Please help.

    For me it sounds like an issue related to the overheating.
    It seems the notebook cannot start and boot properly due to a high internal temperature.
    The main reason why a overheating issue happens is very simply.
    The cooling modules dont work correctly. I think the dust and debris prevent the cooling fans from running with full performance.
    A simply fan cleaning should help you.
    From time to time I clean my ventilators too. I use a compressed air spray. Such sprays are very useful to get rid of dust and most computer/notebook dealers offer such sprays.
    If it will not improve the situation then a notebook technician should disassemble the notebook and should clean it properly. Additionally he should renew the thermal grease which is placed between the CPU and cooling module, too.
    Good luck

  • Startup open ORA_12514 error after Shutdown, just upgraded 9i to 10g

    Hi,
    Noobe here, again! Cheers and happy New Year to all!
    How should I edit script to start db that has been shutdown prior to backup?
    We are having a problem with backups, failure is occurring executing SQL*Plus startup after shutdown. I successfully upgraded our 9i to 10g, 10.2.0.5.0 on Windows server 2003, 32-bit. We have a back_script.bat that runs all this, the only edits that I had to make within this were the names for the new Oracle services, but that is not a problem. When I run through the actions in the batch file, it fails at the sql>startup open; action, throws the error "ORA-12514 TNS:listener does not currently nkow of service requested in connect descriptor" What is different here between 9i and 10g that now this doesn't work? By commenting out the line calling our oracle_stop_start.sql I am getting successful >exp dumps, but there could be processes running 'cause I'm not stopping everything before proceeding with the export.
    I have a complete image of the physical server running in a virtual that I am able to test on. Hopefully I'll not put too much info in here, but here is some background! Both the batch file and little stop_start script predate my involvement.
    Here are the pertinent statements in our backup_script.bat:
    SET NLS_LANG=AMERICAN_AMERICA.UTF8
    SET ORACLE_SID=wind
    net stop Windchill3_MethodServer (the third party application that uses the database wind)
    sqlplus "system/manager@wind as sysdba" @D:\ptc\windchill\backups\oracle_stop_start
    exp system/manager@wind owner=guest file=......\oracle_backup.dmp.....etc, etc, etc
    Here is oracle_stop_start.sql
    shutdown immediate;
    startup open;
    quit
    As stated earlier, this has worked at least since 2007 when the last edits were made to the batch file. Now it fails at the sql>startup open; throwing the error ORA-12514. I can duplicate this executing each statement in a dos shell. The shutdown command closes, dismounts and shuts down the database. I have tried changing the startup statement to sql>STARTUP OPEN wind; but that makes no difference. I have found that if I exit sql*plus and log back in /nolog (in the same shell window) then I can restart the instance, what I do is:
    sqlplus /nologsql>connect sys/* as sysdba;
    sql>startup open wind;
    This does successfully start the Oracle instance, mount and open the database. How else might I do this? I can certainly duplicate these actions, adding the necessary lines to oracle_start_stop.sql, but is there a better & cleaner way to do this? Right now I just want to make these existing scripts work. Once that is done, then I'm going to investigate and learn more about RMAN and datapump export/import and update our backup procedures.
    Any thoughts & suggestions?
    Thank you,
    Tom

    It might be a difference in behaviour between 9i and 10g. It looks like you are connecting through sql*net (sqlplus "system/manager@wind as sysdba), so the ORACLE_SID setting is not part of your connection. When the database is shutdown you are no longer connected to any database. When you issue the startup command the ORACLE_SID is not set so there is no service specified.
    If you are running this on the database server, try setting the ORACLE_SID then running your script like:
    {code}sqlplus "system/manager as sysdba" @D:\ptc\windchill\backups\oracle_stop_start{code}
    and you should still have the service set for your connection.
    John

  • Unable to STARTUP after SHUTDOWN

    HELP !!
    My main experience is with M/S SQL Server. I am taking an Oracle class and am having a really weird problem. If I log into SQL Plus with SYSDBA privileges and initiate a SHUTDOWN IMMEDIATE, it shuts down successfully, but I am never able to startup (although I can startup from the Database Control or by re-booting). This is a new install for school and I have never been able to make it work. and Yes, I have waited more than a minute for the LISTENER to try and re-start.
    Example:
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 17 19:12:08 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> connect sys/ dallas@oraclass AS SYSDBA
    Connected.
    SQL> SHUTDOWN IMMEDIATE
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> STARTUP
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    SQL>
    If I log into SQL Plus with SYSDBA privileges and initiate a SHUTDOWN IMMEDIATE, it shuts down successfully, but I am never able to startup (although I can startup from the Database Control).
    I get the error:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    LSNRCNT STATUS sees the SID ORACLASS prior to the shutdown (and the other two DB’s PPCU and TEST01), but after the shutdown, it does not see ORACLASS.
    I checked the LISTENER services after the shutdown, and they are running.
    I have tried solutions from this forum and others with no success. The main DB is called ORACLASS, but the other two DB’s have the same problem. My Domain is EricsTablet.ericoracle.com and the SID is oraclass.
    My IP is 192.168.1.104 the loopback IP is 10.10.10.10
    I have even uninstalled and reinstalled Oracle 10g.
    Here are all the relevant files. If you can think of something I haven’t tried, please let me know.
    C:\oracle\product\10.2.0\db_1\NETWORK\log\listener.log
    http://www.spacecoasthomes.net/listener.log
    C:\oracle\product\10.2.0\db_1\database\oradim.log
    http://www.spacecoasthomes.net/oradim.log
    C:\oracle\product\10.2.0\admin\oraclass\pfile\init.ora.122008192731
    http://www.spacecoasthomes.net/init.ora.122008192731
    C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    http://www.spacecoasthomes.net/listener.ora
    C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\sqlnet.ora
    http://www.spacecoasthomes.net/sqlnet.ora
    C:\oracle\product\10.2.0\db_1\NETWORK\trace\listener.trc
    http://www.spacecoasthomes.net/listener.trc
    LSNRCNT STATUS prior to shutdown
    http://www.spacecoasthomes.net/lsnrcnt_post.jpg
    LSNRCNT STATUS after shutdown
    http://www.spacecoasthomes.net/lsnrcnt_prior.jpg

    It looks like you are correct. I can connect via the DOS startup of SQL Plus, but not the Windows startup of SQL plus, See here:
    C:\Documents and Settings\>set ORACLE_SID=oraclass
    C:\Documents and Settings\>sqlplus sys/dallas as sysdba
    SQL*Plus: Release 10.1.0.2.0 - Production on Sun Feb 17 20:44:42 2008
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Documents and Settings\>sqlplus sys/dallas as sysdba
    SQL*Plus: Release 10.1.0.2.0 - Production on Sun Feb 17 20:49:31 2008
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 171966464 bytes
    Fixed Size 787988 bytes
    Variable Size 145488364 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 524288 bytes
    Database mounted.
    Database opened.
    SQL>
    So why is one version of SQL plus local and another remote ?
    Can you explain exactly what I need to put in the listener.ora file to make this work? I'm not sure I understand completely your solution.
    Here is the existing Listener.ora file:
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = EricsTablet.ericoracle.com)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    Thank You in advance !
    Eric
    Message was edited by:
    pmcs

  • Loss of all controlfile,database is automatic shutdown abort?

    Your database is configured in NOARCHIVELOG mode. All the control files have been lost due to a hard disk failure but the data files are not lost. You have the closed whole database backup available to you. Which two statements are true in this scenario? (Choose two.)
    A) The instance aborts.
    B) The database cannot be recovered.
    C) The database can be recovered by restoring the control files from the backup.
    D) The database remains opened and you have to shut it down with the ABORT option.
    E) The database can be restored till the point of the last closed whole database backup.
    noarchivelog mode , before open database i had rman backup full database;
    idle> conn / as sysdba
    Connected.
    idle> alter database open;
    Database altered.
    idle> conn anbob/anbob
    Connected.
    anbob@ANBOB> create table testdelctl(id int);
    Table created.
    anbob@ANBOB> insert into testdelctl values(999);
    1 row created.
    anbob@ANBOB> commit;
    Commit complete.
    anbob@ANBOB> conn system/oracle
    Connected.
    system@ANBOB> select * from v$controlfile;
    STATUS
    NAME
    IS_ BLOCK_SIZE FILE_SIZE_BLKS
    /oracle/oradata/anbob/control01.ctl
    NO 16384 430
    /oracle/oradata/anbob/control02.ctl
    NO 16384 430
    /oracle/oradata/anbob/control03.ctl
    NO 16384 430
    system@ANBOB> !rm /oracle/oradata/anbob/control*.ctl
    system@ANBOB> !ls /oracle/oradata/anbob/
    redo01.log redo03.log system01.dbf undotbs01.dbf users01.dbf
    redo02.log sysaux01.dbf temp01.dbf undotbs2.dbf
    system@ANBOB> select open_mode from v$database;
    select open_mode from v$database
    ERROR at line 1:
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: '/oracle/oradata/anbob/control01.ctl'
    ORA-27041: unable to open file
    Linux Error: 2: No such file or directory
    Additional information: 3
    system@ANBOB> select status from v$instance;
    STATUS
    OPEN
    sys@ANBOB> conn anbob/anbob
    Connected.
    anbob@ANBOB> select * from testdelctl;
    ID
    999
    anbob@ANBOB> insert into testdelctl values(0);
    1 row created.
    anbob@ANBOB> commit;
    Commit complete.
    anbob@ANBOB> conn / as sysdba
    Connected.
    sys@ANBOB> alter systme checkpoint;
    alter systme checkpoint
    ERROR at line 1:
    ORA-00940: invalid ALTER command
    sys@ANBOB> alter system checkpoint;
    System altered.
    sys@ANBOB> select status from v$instance;
    STATUS
    OPEN
    sys@ANBOB> select * from v$version where rownum=1
    2 ;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    sys@ANBOB> shutdown immediate
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: '/oracle/oradata/anbob/control01.ctl'
    ORA-27041: unable to open file
    Linux Error: 2: No such file or directory
    Additional information: 3
    sys@ANBOB> shutdown abort
    ORACLE instance shut down.
    sys@ANBOB> startup
    ORACLE instance started.
    Total System Global Area 167772160 bytes
    Fixed Size 1218316 bytes
    Variable Size 96471284 bytes
    Database Buffers 67108864 bytes
    Redo Buffers 2973696 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    sys@ANBOB> select status from v$instance;
    STATUS
    STARTED
    [oracle@aix ~]$ rman target/
    Recovery Manager: Release 10.2.0.1.0 - Production on Thu Jul 14 22:32:12 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: anbob (not mounted)
    RMAN> restore controlfile;
    Starting restore at 14-JUL-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 07/14/2011 22:32:27
    RMAN-06563: control file or SPFILE must be restored using FROM AUTOBACKUP
    RMAN> restore controlfile from autobackup;
    Starting restore at 14-JUL-11
    using channel ORA_DISK_1
    recovery area destination: /oracle/flash_recovery_area
    database name (or database unique name) used for search: ANBOB
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: /oracle/flash_recovery_area/ANBOB/autobackup/2011_07_14/o1_mf_s_756511643_71xy4xjm_.bkp
    channel ORA_DISK_1: control file restore from autobackup complete
    output filename=/oracle/oradata/anbob/control01.ctl
    output filename=/oracle/oradata/anbob/control02.ctl
    output filename=/oracle/oradata/anbob/control03.ctl
    Finished restore at 14-JUL-11
    RMAN> alter database open;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 07/14/2011 22:32:52
    ORA-01507: database not mounted
    RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    RMAN> alter database open;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 07/14/2011 22:33:12
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    RMAN> alter database open resetlogs;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 07/14/2011 22:33:19
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/oracle/oradata/anbob/system01.dbf'
    RMAN> recover database;
    Starting recover at 14-JUL-11
    Starting implicit crosscheck backup at 14-JUL-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    Crosschecked 3 objects
    Finished implicit crosscheck backup at 14-JUL-11
    Starting implicit crosscheck copy at 14-JUL-11
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 14-JUL-11
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: /oracle/flash_recovery_area/ANBOB/autobackup/2011_07_14/o1_mf_s_756511643_71xy4xjm_.bkp
    using channel ORA_DISK_1
    starting media recovery
    archive log thread 1 sequence 19 is already on disk as file /oracle/oradata/anbob/redo03.log
    archive log thread 1 sequence 20 is already on disk as file /oracle/oradata/anbob/redo01.log
    archive log filename=/oracle/oradata/anbob/redo03.log thread=1 sequence=19
    archive log filename=/oracle/oradata/anbob/redo01.log thread=1 sequence=20
    media recovery complete, elapsed time: 00:00:03
    Finished recover at 14-JUL-11
    RMAN> alter database open resetlogs;
    database opened
    RMAN> exit
    Recovery Manager complete.
    o[oracle@aix ~]$ ora
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jul 14 22:34:23 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    sys@ANBOB> !ls /oracle/oradata/anbob/
    control01.ctl control03.ctl redo02.log sysaux01.dbf temp01.dbf undotbs2.dbf
    control02.ctl redo01.log redo03.log system01.dbf undotbs01.dbf users01.dbfconn anbob
    sys@ANBOB> conn anbob
    Enter password:
    Connected.
    anbob@ANBOB> select * from tab;
    TNAME TABTYPE CLUSTERID
    TESTCHAR TABLE
    TT TABLE
    TESTTRUN TABLE
    TESTADDM TABLE
    TEST TABLE
    TESTFUNIDX TABLE
    TEAM TABLE
    MEMB TABLE
    TESTENC TABLE
    TESTREC TABLE
    BIN$p/SuvHy7sn7gQKjA9QF/dQ==$0 TABLE
    DETP TABLE
    TESTDELCTL TABLE
    DEPT TABLE
    TESTFLS TABLE
    15 rows selected.
    anbob@ANBOB> select * from testdelctl;
    ID
    999
    0
    why,loss of all controlfile,the database not abort?

    Satish Kandi wrote:
    The files, which are in use by a process, are not actually deleted when one issues rm command.
    Its only when the process terminates that the locks are released and file is actually deleted at operating system level.I concur!
    This behavior is *NIX only.
    Windows explicitly prevents open files from being deleted.
    Edited by: sb92075 on Jul 14, 2011 9:18 PM

  • How to let database(10.2) auto startup when linux reboot?

    Hi all,
    I installed oracle database 10.2 in linux (x86),and created a database.
    I can startup the database manually. But database can not be started up automatic when linux starts up.
    How to let database startup automatic when OS starts up?
    the details shell scripts for auto startup would be appreciated!
    Thanks

    I don't know LINUX but I know Solaris. In Solaris, you have a startup and shutdown script in $ORACLE_HOME/bin. Setting the field to Y in oratab means you startup/shutdown the instance when executing the scripts. However, it does not mean the startup script will be
    executed upon reboot. In solaris, we place a script in /etc/rc3.d. Then the script will be executed upon reboot. Guess you have similar features in Linux.

  • The observer only reinstate the old primary database after startup it twice

    I use Oracle 11g r2 configure a data guard and fast_start fail over (using data guard broker) environment on linux.
    The data guard works fine, and the fail over too.
    The problem is that after fail over, the observer can't reinstate the old primary database to new standby database after start up it to mount, and what strange is that if shutdown (immediate) it again, and start up it to mount again, the reinstating can be completed automatically and successfully.
    I use 'shutdown abort' to simulate the database crash.
    Any one have some advice? Thanks in advance!
    Edited by: user1665703 on 2011-7-27 下午4:33

    There are some strange log in drcorcl.log,
    2011-07-27 16:30:57.702 RSM0: HEALTH CHECK ERROR: ORA-16808: primary database is not open
    2011-07-27 16:30:57.844 RSM Warning: cannot find the destination setting in v$archive_dest for database 'orclSt
    d'.
    2011-07-27 16:30:57.844 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property LogXptMode found
    ORA-16777 error
    2011-07-27 16:30:57.845 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standb
    y database in V$ARCHIVE_DEST
    2011-07-27 16:30:57.845 RSM Warning: cannot find the destination setting in v$archive_dest for database 'orclSt
    d'.
    2011-07-27 16:30:57.845 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property DelayMins found O
    RA-16777 error
    2011-07-27 16:30:57.845 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standb
    y database in V$ARCHIVE_DEST
    2011-07-27 16:30:57.846 RSM Warning: cannot find the destination setting in v$archive_dest for database 'orclSt
    d'.
    2011-07-27 16:30:57.846 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property Binding found ORA
    -16777 error
    2011-07-27 16:30:57.846 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standb
    y database in V$ARCHIVE_DEST
    2011-07-27 16:30:57.847 RSM Warning: cannot find the destination setting in v$archive_dest for database 'orclSt
    d'.
    2011-07-27 16:30:57.847 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property MaxFailure found
    ORA-16777 error
    2011-07-27 16:30:57.847 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standb
    y database in V$ARCHIVE_DEST
    2011-07-27 16:30:57.848 RSM Warning: cannot find the destination setting in v$archive_dest for database 'orclSt
    d'.
    2011-07-27 16:30:57.848 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property MaxConnections fo
    und ORA-16777 error
    2011-07-27 16:30:57.848 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standb
    y database in V$ARCHIVE_DEST
    2011-07-27 16:30:57.849 RSM Warning: cannot find the destination setting in v$archive_dest for database 'orclSt
    d'.
    2011-07-27 16:30:57.849 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property ReopenSecs found
    ORA-16777 error
    2011-07-27 16:30:57.849 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standb
    y database in V$ARCHIVE_DEST
    2011-07-27 16:30:57.849 RSM Warning: cannot find the destination setting in v$archive_dest for database 'orclSt
    d'.
    2011-07-27 16:30:57.850 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property NetTimeout found
    ORA-16777 error
    2011-07-27 16:30:57.850 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standb
    y database in V$ARCHIVE_DEST
    2011-07-27 16:30:57.850 RSM Warning: cannot find the destination setting in v$archive_dest for database 'orclSt
    d'.
    2011-07-27 16:30:57.850 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property RedoCompression f
    ound ORA-16777 error
    2011-07-27 16:30:57.851 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standb

  • How do the application servers connect the new database after failing over from primary DB to standby DB

    How do the application servers connect the new database after failing over from primary DB to standby DB?
    We have setup a DR environment with a standalone Primary server and a standalone Physical Standby server on RHEL Linux 6.4. Now our application team would like to know:
    When the primary DB server is crashed, the standy DB server will takeover the role of primary DB through the DataGuard fast failover. As the applications are connected by the primary DB IP before,currently the physical DB is used as a different IP or listener. If this is happened, they need to stop their application servers and re-configure their connection so the they coonect the new DB server, they cannot tolerate these workaround. 
    Whether does oracle have the better solution for this so that the application can automatically know the role's transition and change to the new IP without re-confige any connection and shutdown their application?
    Oracle support provides us the answer as following:
    ==================================================================
    Applications connected to a primary database can transparently failover to the new primary database upon an Oracle Data Guard role transition. Integration with Fast Application Notification (FAN) provides fast failover for integrated clients.
    After a failover, the broker publishes Fast Application Notification (FAN) events. These FAN events can be used in the following ways:
    Applications can use FAN without programmatic changes if they use one of these Oracle integrated database clients: Oracle Database JDBC, Oracle Database Oracle Call Interface (OCI), and Oracle Data Provider for .NET ( ODP.NET). These clients can be configured for Fast Connection Failover (FCF) to automatically connect to a new primary database after a failover.
    JAVA applications can use FAN programmatically by using the JDBC FAN application programming interface to subscribe to FAN events and to execute event handling actions upon the receipt of an event.
    FAN server-side callouts can be configured on the database tier.
    FAN events are published using Oracle Notification Services (ONS) and Oracle Streams Advanced Queuing (AQ).
    =======================================================================================
    Who has the experience and the related documentation or other solutions? we don't have the concept of about FAN.
    Thank very much in advance.

    Hi mesbeg,
    Thanks alot.
    For example, there is an application JBOSS server connecting the DB, we just added another datasource and put the standby IP into the configuration file except adding a service on DB side like this following:
            <subsystem xmlns="urn:jboss:domain:datasources:1.0">
            <datasources>
                    <datasource jta="false" jndi-name="java:/jdbc/idserverDatasource" pool-name="IDServerDataSource" enabled="true" use-java-context="true">
                        <connection-url>jdbc:oracle:thin:@<primay DB IP>:1521:testdb</connection-url>
                        <connection-url>jdbc:oracle:thin:@<standby DB IP>:1521:testdb</connection-url>
                        <driver>oracle</driver>
                        <pool>
                            <min-pool-size>2</min-pool-size>
                            <max-pool-size>10</max-pool-size>
                            <prefill>true</prefill>
                        </pool>
                        <security>
                            <user-name>TEST_USER</user-name>
                            <password>Password1</password>
                        </security>
                        <validation>
                            <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker"/>
                            <validate-on-match>false</validate-on-match>
                            <background-validation>false</background-validation>
                            <use-fast-fail>false</use-fast-fail>
                            <stale-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleStaleConnectionChecker"/>
                            <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleExceptionSorter"/>
                        </validation>
                    </datasource>
                    <drivers>
                        <driver name="oracle" module="com.oracle.jdbc">
                            <xa-datasource-class>oracle.jdbc.OracleDriver</xa-datasource-class>
                        </driver>
                    </drivers>
                </datasources>
            </subsystem>
    If the failover is occurred, the JBOSS will automatically be pointed to the standby DB. Additional actions are not needed.

  • Database is hang during shutdown abort (Urgent Production Issue)

    Hi Gurus
    In my production system while shutdown immediate , database was hang.
    When we logged in system and gave shutdown abort its again hang.
    Pls suggest me what could be the reason and how it can be solved
    Thanks

    Tue Oct 21 05:01:09 2008
    Shutting down instance: further logons disabled
    Tue Oct 21 05:45:19 2008
    ksvcreate: Process(q005) creation failed
    Tue Oct 21 05:45:30 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:45:42 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:45:54 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:46:06 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:46:18 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:46:30 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:46:42 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:46:54 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:47:06 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:47:18 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:47:30 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:47:42 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:47:54 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:48:06 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:48:18 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:48:30 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:48:42 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:48:54 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:49:06 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:49:18 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:49:24 2008
    Shutting down instance (abort)
    License high water mark = 26
    Termination issued to instance processes. Waiting for the processes to exit
    Tue Oct 21 05:49:35 2008
    Instance termination failed to kill one or more processes
    Tue Oct 21 06:06:43 2008
    Instance terminated by USER, pid = 20613

  • If shutdown immediate hangs database waits one hour for shutdown abort

    we have schedules cold backup for our 11g database on redhat 5.3.
    there is a shell script written with shutdown immediate command.
    If database hangs during shutdown immediate database waits one hour for auto shutdown abort.
    but this happens once or twice in a month
    can we do this auto shutdown abort earlier than one hour ??

    user13376823 wrote:
    we have schedules cold backup for our 11g database on redhat 5.3.
    Since you're shutting down the database for cold backup so ensure it should be shutdown properly by shutdown or shutdown immediate cmd not by abort cmd.
    Consistent backup:-
    A backup taken when the database is mounted (but not open) after a normal shutdown. The checkpoint SCNs in the datafile headers match the header information in the control file. None of the datafiles has changes beyond its checkpoint. Consistent backups can be restored without recovery.
    http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmconc1.htm#i1007616

Maybe you are looking for

  • Uc540 to Callmanager all working but no Voicemail from the Callamanger side

    I have created a connection between the UC540 and Cisco Callmanager 6.  I am using a H323 gateway connection and can call each site via 4 didgit dialing.   My issue is that the calls from the Callmanager side trying to go to the UC540 side can not he

  • COPA - Third Party Drop Ship Returns - Vendor Discounts

    Hello - This is challenging so I hope some of you can help me please! Can anyone explain to me how vendor discounts work in copa as they relate to third party drop ship returns?  We use net vendor invoices where discount is taken at time of vendor po

  • Stuck on "creating a secondary temporary file" in Disk Utility

    Hello - I am erasing free space on my Time Capsule, and it has been stuck on "creating a secondary temporary file" for over 14 hours now.  Is this normal?  If not, what can I do to safely solve the problem?  Any advice would be appreciated...thank yo

  • Using a script to rename a file from the file info cart Cut Num (ID)??

    Hi, Can any of you guys tell me if its poss to do a script to rename a wav with the file info, cart, Cut Num ID field....??? (Cart chunks) Example file at the moment is called {C5E5F0FE-57D9-4A9A-8DA1-58D1AE7017FD}.wav and I want to grab the info out

  • Uploading Word Docs and Images to DB

    Hi, I am fairly new to JDBC, but I am tryign to use a fileselector so you can select a word document or an image to get uploaded into a DB. I understand that it needs to be saved as a blob but does anyone know a link to an example of doing this with