How to Delete a Database on ASM

I am trying to delete a database which seems to be on ASM but I get the errors below. I have limited exposure on ASM so not sure how to proceed. Can someone help?
$ dbca -silent -deleteDatabase -responseFile dbca_response.rsp
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DATA/orcl/spfileorcl.ora'
ORA-17503: ksfdopn:2 Failed to open file +DATA/orcl/spfileorcl.ora
ORA-15077: could not locate ASM instance serving a required diskgroup

hi,
this may be reason..
ORA-01565: error in identifying file 'string'
Cause: An error occurred while trying to identify a file.
Action: Check the error stack for detailed information.
issue (Metalink Note 390591.1). We encountered similar issue in Linux RAC cluster and has been resoled by following this note.
Cause
=====
Installing the 10.2.0.2 patchset in a RAC installation on any Unix platform does not correctly update the libknlopt.a file on all nodes. The local node where the installer is run does update libknlopt.a but remote nodes do not get the updated file. This can lead to dumps or internal errors on the remote nodes if Oracle is subsequently relinked.
Solution
========
There are two solutions for this problem:
1) Manual copy of the "libknlopt.a" library to the offending nodes :
- ensure all instances are shut down
- manually copy $ORACLE_HOME/rdbms/lib/libknlopt.a from the local node to all remote nodes
- relink Oracle on all nodes :
make -f ins_rdbms.mk ioracle
2) Install the patchset on every node using the "-local" option:
On Unix:
runInstaller -updateNodeList -local ORACLE_HOME=$ORACLE_HOME CLUSTER_NODES=node1,node2,...
On Windows:
setup.exe -updateNodeList -local ORACLE_HOME=%ORACLE_HOME% CLUSTER_NODES=node1,node2,...
ORA-10577: Can not invoke test recovery for managed standby database recovery
Cause: Test recovery option is used for managed standby database recovery.
Action: Either remove the test recovery option or invoke manual test standby database recovery
regards,
Deepak
Edited by: Deepak_DBA on Oct 13, 2009 12:51 PM
Edited by: Deepak_DBA on Oct 13, 2009 12:54 PM

Similar Messages

  • How to delete a Database view?

    HI Everyone,
    Created a Database in ECC to get the bank details from two tables BNKA and BKPF,
    but now I wanted to delete this View. Can someone tell me how to delete the Database view?
    Thanks
    Vandana

    Goto SE11 > select radio button for view > type view name > press delete icon in top menu (where you have icons for activate, check etc).
    Regards,
    Gaurav

  • How to delete unwanted databases that keep coming back?

    Hi,
    Besides the usual Google mail database I have somehow acquired 2 other databases that I want to get rid off because I don't trust them.
    The first is the one a lot of other people seem to have as well RLDGUID and the other one is from a blog I visited. It's called sql-evercookie.
    I know how to delete the databases but when i do that they just pop back up. I have tried a lot of things, there isn't much you can do, I delete all my cookies, cache and history, rebooted the iPad. Nothing works. There must be a way to get rid of them right?
    I especially upset about the sql one. It's from a friend's blog who hired a company to design her a ' professional' blog. Why that has to include putiing databases on people's devices I don't know but I sure will ask. In the mean time I want it gone.
    Anyone has any ideas?

    So you never received a response to this?  Did you ever get an answer. I just found some on my original...not ipad2.
    Thanks!

  • DELETE DATAFILE (database) FROM ASM not using dbca

    Hi All
    I have RAC(2 node) on Windows 2003 EE, Oracle 10g R2
    How i can delete file from my asm instance?
    For example, i create database manualy then i want delete this database? how i can delete file from asm? dbca dont see this instance.
    a long time ago, i have also TEST db, i delete this db using dbca but in ASM (EM console) i still see this db, there are no file but i see "word" TEST how i can delete that?
    thanks in advice

    http://www.oracle.com/technology/products/database/asm/pdf/asm_10gr2_bestpractices%2009-07.pdf
    page 26
    SELECT concat('+'||gname, sys_connect_by_path(aname, '/')) full_alias_path FROM
    (SELECT g.name gname, a.parent_index pindex, a.name aname,
    a.reference_index rindex FROM v$asm_alias a, v$asm_diskgroup g
    WHERE a.group_number = g.group_number)
    START WITH (mod(pindex, power(2, 24))) = 0
    CONNECT BY PRIOR rindex = pindex;
    :)

  • How to create second database at ASM in 4 node RAC system

    Hi Experts,
    we use 4 nodes RAC (11.0.1) with 10.2.0. 4 database in red hat5.0
    we want to add second database at ASM in RAC system based on manager decision.
    how do I add second database in ASM with exist database?
    Do I need to created new ASM insatnce?
    how to create two new diskgroup? is it under existing ASM instance or new ASM instance?
    how to reset ASM properity to support ( or new) ASM instance and two database?
    Do I need to configure AMS again after added more space into ASM?
    I could not find ducument that add seconf database into ASM in RAC system.
    I want add second database by dbca. any experience for add second database in ASM RAC ?
    Thanks for help!
    JIm

    Hi... I'm in the same situation.
    I need to add a new second database on a RAC installation based on already available ASM instance.
    I'm using 11gR2.
    I read your suggested documentation. Then I typed asmca and analyzed my asm configuration:
    As you can see I have a DISK GROUP NAME with several FREE space.
    !http://img522.yfrog.com/img522/8405/dbca20100203173248.jpg!
    If I select Volumes tab the following is my current configuration:
    !http://img682.yfrog.com/img682/562/dbca20100203173343.jpg!
    Selecting Create button, I can insert some values as you can see:
    !http://img403.yfrog.com/img403/9889/dbca20100203173403.jpg!
    First question:
    Is this the right way to create space for a new database ? Consider that running dbca.. no DISK GROUP NAME is available.
    Second question:
    When I created my first database on this DISK GROUP NAME no volumes were created. Why now I have to do it ? Is this necessary to really separate datafiles coming from different databases ?

  • How to delete a database record by using EJB entity beans

    Hi, All,
    Does anyone know how to use entity bean to delete a database record? I have all the EJB entity beans created, including access beans to each. I can successfully create records, find and update records, however, I haven't find a way to delete records yet.
    Your response is appreciated.
    Cathy

    Please see EJB Forums for continue discussion on this subject.
    Reference titile: "how to delete database record by using CMP entity beans "

  • How to delete the database table

    hi all
    i want to delete the data  from the custrmize table so if u can heilp me to do that....not the internal table ..i write the code but that using that code i can delete only one raw.. but i want to delete all raw in my table..
    ZLAB_SUBMIT-SHADE = '1'.
    ZLAB_SUBMIT-SUBMIT = '1'.
    ZLAB_SUBMIT-RM = 'RINGS'.
    ZLAB_SUBMIT-REMARKS = 'Approved'.
    ZLAB_SUBMIT-AP = ''.
    ZLAB_SUBMIT-USNAM = 'INDIKAF'.
    ZLAB_SUBMIT-CPUDT = '05.10.2006'.
    ZLAB_SUBMIT-CDATE = '05.10.2006'.
    ZLAB_SUBMIT-CPUTM = '21:29:19'.
    DELETE  ZLAB_SUBMIT.
    regard
    nawa
    this is my code....

    Hi,
    data itab type standard table of zlab_submit.
    select * from zlab_summit into table itab.
    delete zlab_summit from table itab.
    Kindly reward points by clicking the star on the left of reply,if it helps.

  • Delete a database from a server in Business Process Architect

    Hi Friends,
    Does anybody know how to delete a database from a server in Business Process Architect? I don't see any option to perform delete. I am using version 10.1.3.4.
    Thanks
    Tridib

    Thanks for reply
    Actually i want to delete the jobs from the Url below
    http://xyz:7778/reports/rwservlet/showjobs?server=testreport which gives all the jobs when u click on anyone job it open the pdf file which is stored in cache i want this job to be deleted including the file.
    I think there is a target.xml file which show the job in IAS OEM for a report server if the report server is added in target.xml from oem we can delete the jobid and file.
    where should i go to see the report server in oem?
    Regards

  • Delete the database

    Hello frnds
    In my test server I have to delete my database including all tablespaces and datafiles everything and create the new database with new character set which i need ,
    So i just need a sujjestion which is best method to delete a old database ...
    simply delete all the files from Operating system or is there any safe method to delete database
    environment:
    OS: Sunsolaris 10
    database:10g R2
    your sujjestions will be valuable for me
    thanks

    Hi!
    It's completely up to you how you delete a database. You may do it with OS rm command without any problems. Another way that is as safe as the rm command is the database configuration assistant that is also able to delete your DB. It is also possible to delete your DB with the DROP DATABASE commando from SQL*Plus. As I know there is no big difference in all three ways. My favorite way to drop a database is the DBCA because it is easy to use.
    yours sincerely
    Florian W.

  • Delete oracle database

    how to delete oracle database from OEM?
    regards
    wire

    You can't delete the database from OEM.
    You can do it either manually or using DBCA (database configuration assistant) utility supplied by oracle.
    I believe 10g has drop database command.
    Jaffar

  • How to delete archive log files from ASM through Grid Control

    Hi
    Anybody suggest me how to delete archive log files from ASM through Grid Control.
    Thanks

    It is important to specify both, the oracle version and os version when posting, so confusions can be avoided.
    In this particular case, since you are referring to asm and grid control you could be talking about either 10gR1, 10gR2 or 11gR1; but I strongly suggest you to avoid us to be guessing. In either case, you sould go to the maintenance tab of the target database and program a scheduled 'delete noprompt obsolete;' procedure. This will purge the information stored at the Flash recovery area, which I assume you have declared inside the ASM.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • How to delete client from oracle 10g ASM

    Hi,
    I would like to know how to delete client from oracle 10g ASM, while configuring Dataguard in same windows os i have by mistake created the standby in ASM.
    However later i have corrected the datafile destination. My Primary database is in ASM and the standby in disk.
    Could anyone please tell me how do i delete the client from ASM. On view from asmcmd it shows db_unknown and from v$asm_client
    GROUP_NUMBER INSTANCE_NAME
    DB_NAME STATUS
    SOFTWARE_VERSION
    COMPATIBLE_VERSION
    1 stby
    stby CONNECTED
    10.2.0.1.0
    10.2.0.1.0
    Thanks and regards,
    shaan

    Hi Deepak,
    Pls see the result from the view, i wanted to delete stby
    SQL> select * from v$asm_client;
    GROUP_NUMBER INSTANCE_NAME
    DB_NAME STATUS
    SOFTWARE_VERSION
    COMPATIBLE_VERSION
    1 prim
    prim CONNECTED
    10.2.0.1.0
    10.2.0.1.0
    2 prim
    prim CONNECTED
    10.2.0.1.0
    10.2.0.1.0
    1 stby
    stby CONNECTED
    10.2.0.1.0
    10.2.0.1.0
    regards,
    shaan

  • How to delete archivelog file at standby database

    Hi All,
    I'm running Physical Standby Database on ASM. At standby database, I can see all logs using asmcmd:
    ASMCMD> ls
    thread_1_seq_14.330.625772527
    thread_1_seq_15.346.625772527
    thread_1_seq_16.329.625772527
    thread_1_seq_17.327.625772559
    thread_1_seq_18.324.625772599
    thread_1_seq_19.341.625772367
    thread_1_seq_2.325.625772329
    But when I run RMAN to delete all these archivelogs, its give me error:
    oradr:/u01/app/oracle$rman rcvcat rman/rman@rman target /
    Recovery Manager: Release 10.2.0.3.0 - Production on Thu Jun 28 13:50:41 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: AIXDB (DBID=2438430915, not open)
    connected to recovery catalog database
    RMAN> delete archivelog all;
    Starting implicit crosscheck backup at 28-JUN-07:01:50:56
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 06/28/2007 13:50:56
    RMAN-12010: automatic channel allocation initialization failed
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20001: target database not found in recovery catalog
    RMAN> register database;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of register command at 06/28/2007 13:51:06
    RMAN-08040: full resync skipped, control file is not current or backup
    Even it is not registering it. So how to delete archivelog file at standby database.
    Thanks in Advance
    Rakesh

    This appears related to Bug 3298797 that was supposed to be fixed in 10.2.0.1. The workaround is to switch over to the standby, register the standby and then switch back.

  • Reg:How to delete the column in table control also from database table.

    Hi Experts,
    Once again thank u all for giving the responses.
    one more doubt is how to delete the columns of table control and also the record shold delete from ztable.
    With Regards,
    Saroja.P.

    Hi,
    If you want to delete the rows in the table control and simultaneously delete it from the database table, then you can implement a 'DELETE' functionality specific to your table control. Have a MARK field (you will find that in the screen attributes of the table control -> give a name for the MARK field, you will find an additional MARK column at the beginning of your table control). You can check whatever rows you want to delete from the table control, call the delete module.
    "This portion of code inside the LOOP...ENDLOOP.
    IF sy-ucomm eq 'F_DELETE'.
       gt_itab2-check = mark.  " Store the MARK field status into your internal table's correspoding field 'check'
      MODIFY gt_itab INDEX tabcontrol-current_line.
    ENDIF.
    iF sy-ucomm eq 'DELETE1'.
      DELETE gt_itab WHERE check eq 'X'. "Your internal table does not have rows that you want to delete
    ENDIF.
    Now you can modify your database table using the MODIFY statement.
    MODIFY ZDB FROM TABLE gt_itab.

  • How to delete the complete contents of database table ? should be empty !!

    Hi Guys,
    I have requirement where i have delete the contents of database table..i have make it empty (no records at all) and then i have to fill it with the records from the excel sheet.
    I can upload data from the excel sheet.
    Please tell me how to delete the complete contents of the database table ??
    Regards
    Rahul

    hi ,
    just write like this,
    delete from <database table>.
    commit work.
    sample code, here edpar is database table.
    delete from edpar." FROM TABLE g_tab_delete.
      call function 'DB_COMMIT'.
      loop at g_tab_edpar into g_wa_edpar.
        insert into edpar values g_wa_edpar.
        if sy-subrc  eq 0.
          move-corresponding g_wa_edpar to g_wa_edpar1.
          append g_wa_edpar1 to g_tab_edpar1.
        else.
          move-corresponding g_wa_edpar to g_wa_edpar2.
          append g_wa_edpar2 to g_tab_edpar2.
        endif.
      endloop.
    that's all it works.
    reward points if helpful.
    regards,
    seshu.

Maybe you are looking for