Delete database using DBCA
Hello,
We have two database one is the old one we want to delete, I'm using the DBCA to delete the old database, but when I've selected the old one to delete, I'm getting the error message ORA-01092, and I've seen the oracle instance service for this database is running.
My question is:
should be run the instance oracle service from the database I want to delete?
can be the oracle error ora-01092 because when we did the change to the new database, at the same time we did the upgrade from oracle 10.2.0.3. to 10.2.0.4, and now the old database should be upgraded too although I want to delete it. Because we only did the startup upgrade from the new one.
Regards,
Bea.
user641364 wrote:
Hello,
We have two database one is the old one we want to delete, I'm using the DBCA to delete the old database, but when I've selected the old one to delete, I'm getting the error message ORA-01092, and I've seen the oracle instance service for this database is running.
My question is:
should be run the instance oracle service from the database I want to delete?
can be the oracle error ora-01092 because when we did the change to the new database, at the same time we did the upgrade from oracle 10.2.0.3. to 10.2.0.4, and now the old database should be upgraded too although I want to delete it. Because we only did the startup upgrade from the new one.
Regards,
Bea.You fail to mention your OS, but since you talk about "instance service" I assume you are on Windows, and you are talking about the Windows service that supports the instance.
Have you actually followed through on the usual problem resolution for the reported error? Don't just guess at what causes it in relation to your situation. It's still a well-documented error and the usual possibilities are still in play.
BTW, just because the Windows service is running doesn't mean the database instance is running. In windows, the service is necessary but not sufficient. Go to an OS command prompt. Set ORACLE_SID to the correct value for the instance you want to drop. Do a "sqlplus / as sysdba" and see what you get. Just as a learning experience, once there do a 'shutdown immediate'. When that completes go back to the services control panel and look at the stats of the service. It should still be running.
Similar Messages
-
ORA-12547 tns lost contact while creating 11gr2 database using dbca
Hi All,
I am installing oracle 11gr2 rac on centos 4. Grid infrastrucure and oracle home is successfully installed.
When i try to create database using dbca during that time i am getting an error that PRCR-1079: Failed to start resource ora.racdb.db
ORA-12547: TNS lost contact.
when i check the database on node 1, Its running fine.
However its giving me an error on the second node.
on Node 1
[oracle@rac1 dbs]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 28 19:31:55 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> select instance_name , host_name from v$instance;
INSTANCE_NAME
HOST_NAME
racdb1
rac1.oracle.com
on node 2:
[oracle@rac2 ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 28 19:33:05 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-12547: TNS:lost contact
Enter user-name:
I tried to installed to many a time but no luck.
Please help me on this.
Your assistance in this regards is much appreciated.
Thanks in advance.Do you have a support.oracle.com User Account?
If yes search there for TNS-12547 and you will get a huge list of possible root causes.
Just to name a few (which you can check - also compare with your first node):
Permission oracle executable
Kernel Parameter
Environment variables
etc.etc.
Regards
Sebastian -
Can use ASM only when creating database using dbca
I have a problem. When i create a database using DBCA, i can only use ASM as the file sytem. why ?
i just installed the 10gR2 with cluster and donno why i cannot use ocfs.
Thanks.What were your reasons with going with OCFS rather than ASM?
Thanks. -
How to delete database using sql
I have to delete some databases from oracle 8i. I tried it using the Database Configuration Assistant and I get stuck indefinately as the message always says connecting but nothing happens.
How can I delete databases using sql not thru the DCA?
Thanksfiles related to the database and follow these steps:
1.- shutdown the database
2.- Delete all files ( Control Files, .dbf, Redo's, Archive�s, parameter file, password file )
3.- Delete the entrance of this database from
listener.ora and from tnsnames.ora files.
and that's it.
Joel P�rez -
Cloning a 10g Database using DBCA and templates
I have created a template from a 10G database (structure and data) and want to use this template and data to create a clone of the database on another server using the DBCA on the standby server. Where does DBCA ask for the names of the templates of my clone database? It seems to only have templates for its pre-existing databases (wharehouse, general purpose, custom, etc.).
Thanks. I figured this out on my own and seems work fine. My problem is I am connected over a Window network domain and the transfer speed is very slow. I finally had to kill the job and manually move the critical control, init, redo, and data files that DBCA missed. I also had to use the DBCA again to create the EM DBconsole server as well as copy over the, initPROD.ora file as well as the tnsnames.ora, listener.ora and sqlnet.ora files over to the $ORACLE_HOME/Network/Admin directory. SPFILE was create using create spfile command, I had to perform a recover database once in the initial startup of the database clone.
If I do this operation again I will move datafiles and DBCA template components from the server to a USB SCCI Drive connected locally to the source server then connect this remote disk to the target server rather than transfer files over a domain network.
Any other tips that anyone can over on cloning a database using DBCA in 10G please let me know any things to avoid, traps, bugs, best practices would be greatly appreciated.
RR. -
9.0.1 create database using dbca fails
Solaris 8, 64-bit SPARC, 528mb RAM, 2 SCSI 9gig. Development box with no other users/processes running except Sendmail.
Installed Oracle 9.0.1 on machine from CDs with no problems, Attempting to create database using Database Configuration Assistant.
Creating 'general purpose' database using dbca with generally default parameters. Progress bar gets to 50% done, "creating & starting instance" is checked in progress window.
CPU utilization goes to 100% and nothing happens for hours. Eventually have to cancel dbca. No control files or init.ora created, (pfile directory is empty) there are a bunch of oracle processes left running which have to be killed.
I've tried this several times, moved stuff to different drives and/or filesystems, no luck. Have 5 gig available on /u01 where the database should install, and 8 gig available on /u02 where the .dbf's go.
If I had any hair left, I'd pull it out. Any help would be greatly appreciated.
Thanks in advance!I am getting this same problem: The DBCA gets to the point where it is installing the database and starting the instance (it says 51% of the way through), and then it just sits there doing nothing. I noticed when I installed Oracle (9.2.0) when it got to the point of the configuration assistants, there was mention of a listener not being able to start and the installer assuming it was already started (the listener that is). When the DBCA started right after, it stalled out at 51%.
I aleady had the Sun JDK installed, but am assuming this is not the issue since the install got that far. Can someone please advise a course of action so that I can trouble shoot this? I am very very new to this side of Oracle. Any assistance is greatly appreciated and will be passed along to others in turn.
Thanks,
BillR -
DB:11.2.0.2
OS:Linux
I have 2 node RAC database and i want to drop it using DBCA but the "Delete Database" options is disabled. Please Suggest.Your answer is here
deleting db disabled in DBCA -
How secured is deleting db using DBCA
Dear all,
Am planning to convert a single node DB to RAC..
in the note,it is mentioned to create a DBCA template of the single node DB (with data and structure) and delete the existing DB using DBCA and create a RAC DB using DBCA and using the template created earlier ?
Can I rely on this ?
Please suggest
KaiHello,
DBCA takes care of everything while deleting instance whereas in manually you have to run several steps. I also like using drop database which generally take care of everything too (little skeptical about deleting datafiles but I think it deletes datafiles) as well.
See following links how to use drop database and database should be in restrict mode before dropping it
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_8009.htm#SQLRF01513
Regards
Edited by: OrionNet on Mar 14, 2009 11:40 AM -
Paraller Query Server Error while creating the database using DBCA on UNIX
Hi All,
I am try to create the database on UNIX PLATFORM database 11g R1.
At the end of database creation using DBCA i got the errors:
ORA-12801:error signaled in parallel query server P077
ORA-00018: maximun number of sessions exceeded
ORA-06512:at"SYS.UTL_RECOMP",line 760
ORA-06512:at"SYS.UTL_RECOMP",line 773
ORA-06512:at line 1
Please suggest what can i do to remove this issue.
Regards
Girish Sharmauser12104101 wrote:
Hi All,
I am try to create the database on UNIX PLATFORM database 11g R1.
At the end of database creation using DBCA i got the errors:
ORA-12801:error signaled in parallel query server P077
ORA-00018: maximun number of sessions exceeded
ORA-06512:at"SYS.UTL_RECOMP",line 760
ORA-06512:at"SYS.UTL_RECOMP",line 773
ORA-06512:at line 1
Please suggest what can i do to remove this issue.
Regards
Girish SharmaIncrease value of SESSIONS(also processes) parameter as
sqlplus "/as sysdba"
show parameter sessions
alter system set sessions =<new big value> scope=spfile;
shutdown immediate;
startup; -
Creating database using DBCA stuck at 85% for about 7minutes~
when i create DB using DBCA , it stuck in 85% for a long time ,and the a waring appears
it says :
EM configuration failed due to the following error
-error starting database control
refer to the log file at emConfig.log for more details
so i checked the log file,and i find this:
Mar 10, 2009 5:02:50 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /u01/app/oracle/oracle/product/10.2.0/db_1/bin/emctl start dbconsole
Mar 10, 2009 5:09:56 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 1
Mar 10, 2009 5:09:56 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://myoracle.localhost.com:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ............................................................................
................. failed.
starting emctl dbconsole takes about 7 minutes. and it still failed
some guy say it might a bug ,and can fix it using a patch.
in order to use the patch wizard ,i must login to the em. but i cant open it. and also , i dont have metalink account.
also ,there is another error , when i use emctl start dbconsole ,
it says an instance fo oem 10g Database Control is already running
then i use emctl status dbconsole
but it says EM daemon is not running .
my os is RHEL 5.3
and oracle version is Oracle Database 10g Release 2 (10.2.0.1.0) for Linux x86
so i was totally confused....
so ~ if possible give me a reply~ really appreciate~hello,
You can just create database without EM dbconsole and later you can create EM repository manually. Now if you have already configured it and you don't want to repeat the process then you can do this
To Create
$ emca -config dbcontrol db -repos create
To drop
$ emca -deconfig dbcontrol db -repos drop
To recreate
$ emca -config dbcontrol db -repos recreateRegards
Edited by: OrionNet on Mar 12, 2009 9:48 AM -
How to create general purpose database using dbca
Hi,
I have installed oracle 10g on AIX .
and now i have to create a database/instance for the firsttime whch must to be general using dbca.
I want to create database silently. could any one please tell me the command to create a database silentlyHello,
So as to do a completely silent installation you may use a responsefile as follow:
$ORACLE_HOME/bin/dbca -silent -cloneTemplate *<General Purpose option>* -datafileDestination */datafilepath* -responseFile */local_dir/dbca.rsp*Where dbca.rsp is a response file template that you may edit so as to supply administrative password,...
Else, about the reason why your command got stuck. You may check the exact options with the statement below:
dbca -hIt may change from one release to another.
Hope this help.
Best regards,
Jean-Valentin -
Problem in create database use dbca in RAC
i setup a two-nodes RAC, and use dbca to create db
here is the output of dbca
[oracle@rac1 ~]$ dbca -silent -responseFile /home/oracle/dbca.rsp
Copying database files
1% complete
3% complete
9% complete
15% complete
21% complete
27% complete
30% complete
Creating and starting Oracle instance
32% complete
36% complete
40% complete
44% complete
45% complete
48% complete
50% complete
Creating cluster database views
52% complete
70% complete
Completing Database Creation
73% complete
76% complete
79% complete
80% complete
81% complete
90% complete
99% complete
100% complete
Look at the log file "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb/mydb.log" for further details.
and here is the log output:
Failed to retrieve network listener resources required for the Real Application Clusters high
availability extensions configurations on the following nodes: [rac1, rac2].
Do you want listeners on port 1521 with prefix LISTENER to be created on nodes [rac1, rac2]
automatically? If you would like to configure the listener with different properties, run NetCA
before continuing.
PRKS-1009 : Failed to start ASM instance "+ASM1" on node "rac1", [CRS-0215: Could not start
resource 'ora.rac1.ASM1.asm'.]
PRKS-1009 : Failed to start ASM instance "+ASM2" on node "rac2", [CRS-0215: Could not start
resource 'ora.rac2.ASM2.asm'.]
Could not mount the diskgroup on node: rac2. The ASM instance on node rac2 is not started.
Could not mount the diskgroup on node: rac2. The ASM instance on node rac2 is not started.
Copying database files
DBCA_PROGRESS : 1%
DBCA_PROGRESS : 3%
DBCA_PROGRESS : 9%
DBCA_PROGRESS : 15%
DBCA_PROGRESS : 21%
DBCA_PROGRESS : 27%
DBCA_PROGRESS : 30%
Creating and starting Oracle instance
DBCA_PROGRESS : 32%
DBCA_PROGRESS : 36%
DBCA_PROGRESS : 40%
DBCA_PROGRESS : 44%
DBCA_PROGRESS : 45%
DBCA_PROGRESS : 48%
DBCA_PROGRESS : 50%
Creating cluster database views
DBCA_PROGRESS : 52%
DBCA_PROGRESS : 70%
Completing Database Creation
Failed to start listeners on nodes "[rac1, rac2]" of cluster database "mydb", "CRS-1028: Dependency
analysis failed because of:
CRS-0223: Resource 'ora.rac2.LISTENER_RAC2.lsnr' has placement error.".
DBCA_PROGRESS : 73%
DBCA_PROGRESS : 76%
DBCA_PROGRESS : 79%
ORA-01078: failure in processing system parameters
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+ORADG/mydb/spfilemydb.ora'
ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-15056: additional error message
ORA-17503: ksfdopn:DGOpenFile05 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-15173: entry 'spfilemydb.ora' does not exist in directory 'mydb'
ORA-06512: at line 4
ORA-01034: ORACLE not available
DBCA_PROGRESS : 80%
ORA-01034: ORACLE not available
ORA-01034: ORACLE not available
ORA-01034: ORACLE not available
DBCA_PROGRESS : 81%
ORA-01034: ORACLE not available
DBCA_PROGRESS : 90%
Enterprise manager configuration failed due to the following error -
Invalid username/password.
Refer to the log file at /opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb/emConfig.log for more
details.
You can retry configuring this database with Enterprise Manager later by manually running
/opt/ora/product/10.2.0/db_1/bin/emca script.
DBCA_PROGRESS : 99%
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
PRKP-1001 : Error starting instance mydb1 on node rac1
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.mydb.mydb1.inst' has placement error.
PRKP-1001 : Error starting instance mydb2 on node rac2
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.mydb.mydb2.inst' has placement error.
DBCA_PROGRESS : 100%
Database creation complete. Check the logfiles at
/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb for details.
Database Information:
Global Database Name:mydb
System Identifier(SID) Prefix:mydb
it should be run netca before running dbca?this time i run netca first,and then run dbca to configure the ASM,after that i run dbca to create database
listener and asm instance is online,but when i create DB ,still have error
Copying database files
DBCA_PROGRESS : 1%
DBCA_PROGRESS : 3%
DBCA_PROGRESS : 9%
DBCA_PROGRESS : 15%
DBCA_PROGRESS : 21%
DBCA_PROGRESS : 27%
DBCA_PROGRESS : 30%
Creating and starting Oracle instance
DBCA_PROGRESS : 32%
DBCA_PROGRESS : 36%
DBCA_PROGRESS : 40%
DBCA_PROGRESS : 44%
DBCA_PROGRESS : 45%
DBCA_PROGRESS : 48%
DBCA_PROGRESS : 50%
Creating cluster database views
DBCA_PROGRESS : 52%
DBCA_PROGRESS : 70%
Completing Database Creation
DBCA_PROGRESS : 73%
DBCA_PROGRESS : 76%
DBCA_PROGRESS : 79%
ORA-01078: failure in processing system parameters
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+ORADG/mydb/spfilemydb.ora'
ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-15056: additional error message
ORA-17503: ksfdopn:DGOpenFile05 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-15173: entry 'spfilemydb.ora' does not exist in directory 'mydb'
ORA-06512: at line 4
ORA-01034: ORACLE not available
DBCA_PROGRESS : 80%
ORA-01034: ORACLE not available
ORA-01034: ORACLE not available
DBCA_PROGRESS : 89%
DBCA_PROGRESS : 98%
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
PRKP-1001 : Error starting instance mydb1 on node rac1
CRS-0215: Could not start resource 'ora.mydb.mydb1.inst'.
PRKP-1001 : Error starting instance mydb2 on node rac2
CRS-0215: Could not start resource 'ora.mydb.mydb2.inst'.
DBCA_PROGRESS : 100%
following info from my template file
<MiscParams>
<databaseType>MULTIPURPOSE</databaseType>
<maxUserConn>20</maxUserConn>
<percentageMemTOSGA>40</percentageMemTOSGA>
<customSGA>false</customSGA>
<archiveLogMode>false</archiveLogMode>
<initParamFileName>+ORADG/admin/{DB_UNIQUE_NAME}/pfile/init.ora</initParamFileName>
</MiscParams>
<SPfile useSPFile="true">{ORACLE_HOME}/dbs/spfile{SID}.ora</SPfile>
</InitParamAttributes>
and dbca create +ORADG in /home/oracle dir (why??)
[oracle@rac1 ~]$ ls +ORADG/admin/mydb/pfile/init.ora.6132011173958
+ORADG/admin/mydb/pfile/init.ora.6132011173958
Edited by: 859340 on 2011-7-12 下午7:25 -
Listener pre-requisite for create database using dbca
Hello All:
Oracle binaries successfully installed using dbca (Advanced Installation, Custom, Install DB software only)
Now when i use dbca to create a database, i have noticed one of the screen prompts me to "Select the listeners for which you want to register the database".
Question:
Do we have to create the listener before we create the database so we can register the database.
Is this a standard step asking us to register the database with the listener or we can get along with the create database without having to create the listener ahead of the database creation.
Is this step asked because of the type of install i choose earlier for binaries using dbca (Advanced Installation, Custom, Install DB software only)
Thanks
San~sannidhi wrote:
The screen doesn't let me go on to the other screen without making a selection. That is the reason i was wondering if it has been tied up the the install options you choose when you install software only.
Thanks
San~I don't have dbca in front of me at the moment, but does it present you with a list from which to choose? If so, is one of the choices 'listener' or 'default'? If so, choose one of those. -
Problem while creating database using dbca
Hi all,
I am getting following error when I try to create a database (fresh installation) using dbca on linux ES4, oracle 10.2.0.1 (Rev2). Any help much appreciated.
ORA-19624: operation failed, retry possible,
ORA-19870: error reading backup piece /u01/app/product/10.2.0/db_1/assistants/dbca/templates/Seed_Database_8k.dbf
ORA-19505: failed to identify file /u01/app/product/10.2.0/db_1/assistants/dbca/templates/Seed_Database_8k.dbf
ORA-27037: unable to obtain file staus.
Thanks,Hi,
You saw if this file /u01/app/product/10.2.0/db_1/assistants/dbca/templates/Seed_Database_8k.dbf exists ?
See if this link help you:
database 10gR2 configuration assistant error
Cheers -
How to change COMPATIBLE parameter while creating the database using DBCA
I have installed 10.2.01.0 on centos 4.7
Now i want to create database with COMAPTIBLE parameter 9.2.0.1
I m trying to create database through DBCA, changed the initialization parameter COMAPTIBLE to 9.2.0.1.
But gives me error
ORA-19583: conversation termintated to error
ORA-19870: error reading backup peice /opt/oracle/assistants/dbca/templates/Seed_Database.dfb
ORA-00600: internal error code,arguments: [krbrckhr_compressed],[opt/oracle/assistants/dbca/templates/Seed_Database.dfb],[29],[30],[11420],[],[],[]
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 5149
ORA-06512: at line 16
if i dont change the value of COMPATIBLE parameter then its running perfactly...
But i have to set compatible parameter as 9.2.0.1....
Can anybody tell me how to create database using 10g R2- 10.2.0.1.0 with compatible parameter 9.2.0.1Thank you for your response.
I have tried that opting.
After creating the database with COMAPTIBLE parameter 10.2.0.1.0 changed that parameter in init.ora file to 9.2.0 and start the database.
But at that time getting
ORA-00201: contorl file version 10.2.01.0 incompatible with ORACLE version 9.2.0.0
ORA-00202: control file '/opt/oracle/oradata/ORCL/control01.ctl'
Maybe you are looking for
-
What does this message mean when i dial
What does this verizon message mean? 'your call cannot be completed as dialed' i got a number on my caller id from my ex's neighborhood 609-424-xxxx its not his (old, home) number, but i am concerned that he got a new number or maybe called from a pa
-
Terrible Service from BT - Can someone please help...
To make a long story short I have bullet pointed my current experience with BT; Hi purchased BT Infinity their top package at the time (Unlimited BT Infinity 2) on the 11/11/12 Order number #(REMOVED) BT Engineer came and installed BT Infinity on the
-
Hp 4580 wireless connection question
Can I connect this printer by usb To one pc, and ALSO connect it wirelessly to other computers on the wireless network in The house ?
-
Setting Overrides on all relevant Rules and Monitors
Can someone please help me with the following question? I was reading the post below (I believe written by Cameron Fuller) detailing some best practice around overrides. It stated if you override a 'parameter' for one rule/monitor (e.g. let's say a p
-
Need help writing modem driven application
Not sure where to start but this is what I would like to do: Write a java program to listen on a modem. The program should perform some task when someone dails in and enters a number via the phone. In other words, I would like to call my computer and