Create database on RAC environment - DBCA hangs on clone database creation

Hi, friends!
I have two vm´s (vmware 2) with OEL 5 installed.
I´ve installed OGI and database software sucessfully. So, my crs stack is working fine in both two nodes.
However, when i use DBCA to create a database in this RAC environment, it hangs when it gets on "clone database creation", about 52% of the progress bar.
My DBCA logs don´t point any error out. It just hangs on..
I wait about 4 hours and it doesn´t move on.
I searched and found many cases like that, including here in OTN. But it seems nobody could find a resolution to this issue.
Is there any bug about OEL 5 and database 11gR2??
More details:
I apllied the patch "p8670579_112010_LINUX" on both OGI installation (before root.sh) and databae software install (also before root.sh).
Everything worked fine.
Sorry for the grammar errors.

you can trace dbca, and you can found witch step is occurs problem.
can you paste here last 15-20 sentence of dbca trace file?
Mahir

Similar Messages

  • Need advice regarding physical standby databases in rac environment on orac

    need advice regarding physical standby databases in rac environment on oracle 10G r2
    I like to have have a Primary ( 10 node RAC cluster ) shipping to a physical standby ( 3 node RAC cluster ) shipping using LGWR .
    So I have a lot of questions
    1) What will be the performance overhead on the Primay if we are using LGWR SYNC option .
    2) Does the overhead depends on the physical distance between primary & physical
    3)Do you recommend a seperate private network for shipping logs between primary and standby.
    4) I know that DGMGRL supports RAC only from 10g. So are there any know issues are bugs using DGMGRL is RAC environments.
    Thanks in advance
    -Satish

    Generally you should have same CPU architecture and same operating system but it's not mandatory to have the exactly the same CPU model, the same number of CPU, the same RAM size etc.
    Actually starting with 11.1 you don't need to have the same hardware setup: it 's even possible to have primary and standby database on different platforms: http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/standby.htm#i72053.

  • Manually Setting up a Standby Database for RAC Environment

    Hi,
    I am a Junior DBA so apologies if this sounds like a silly question.
    We have production 11g Extended RAC environment setup. Management have asked for a separate single instance database be setup as a standby DB on a separate 'cold' server in case we lose complete connection to both sides of the RAC. I read up on Oracle Data Guard and presented this as a solution, but they seem adamant about manually going in and copying out the latest backup and archive logs over to the standby database.
    Can this be done? I mean, can ASM managed backup files and archive logs from one database be simply copied out of the backup directory and imported into a completely separate database as easy as that?
    We are using ASM to manage to data files on the RAC. My understanding is that we cant manually access the files on an OS level when using ASM, but maybe I am wrong. Any help or opinions on this would be greatly appreciated.
    Rgs,
    Rob

    Hi,
    Can this be done? I mean, can ASM managed backup files and archive logs from one database be simply copied out of the backup directory and imported into a completely separate >database as easy as that?Yes, but depends on DB version.
    what is the DB version.
    from 11g you have cp command so there is a possibility to copy generated archive logs to standby location, so that you can apply..
    In 10g there is no such option. you need to create a standby database. with automatic shipping
    Thanks

  • Oracle 9i installation hanging in "Clone Database Creation in Process"

    Hi all,
    I have been struggling in installing the 9i in my laptop.
    Here is my setup,
    OS: Windows Server 2003 Enterprise Edition SP2 in VMWare
    Database: Oracle 9i 9.2.0.1.0
    When it automatically comes to "Database Configuration Assistant", there are 4 steps.
    Copying Database files
    Initializing Database
    Creating and starting Oracle Instance
    Completing database creation
    The 1st 3 steps has been completed and the installation just hangs at the last step when the completion rate is 88%.
    Anyone got problem like this ?
    Here are the details I have so far for the DBCA during installation process,
    Listener Control complete.
    Listener start failed. Listener may already be running.
    Listener configuration complete.
    Default local naming configuration complete.
    Oracle Net Services configuration successful. The exit code is 0
    Since I am completely new to installing DB, please help me to get rid of this frustration.
    Thanks !
    Regards,
    Chris

    Capacity Planner 9.2.0.1.0
              Enterprise Manager Events 9.2.0.1.0
              Enterprise Manager Base Classes 9.2.0.1.0
              Required Support Files 9.2.0.1.0
              Enterprise Manager Installation Prerequisite Checks 9.2.0.1.0
              Utilities Common Files 9.2.0.1.0
              Enterprise Manager Quick Tours 9.2.0.1.0
              Oracle Display Fonts 9.0.2.0.0
              regexp 2.0.20.0.0
              Oracle OLAP Worksheet 9.2.0.1.0
              Oracle OLAP API 9.2.0.1.0
              Oracle Developer Server Forms Manager 9.2.0.1.0
              Oracle Intelligent Agent Base Component Files 9.2.0.1.0
              Oracle Internet Directory Client Common Files 9.2.0.1.0
              Sun JDK 1.3.1.0.1a
              Oracle Directory Manager 9.2.0.1.0
              Visigenics ORB 3.4.0.0.0
              Assistant Common Files 9.2.0.1.0
              Enterprise Manager Paging and OMS Common Files 9.2.0.1.0
              XML Parser for C 9.2.0.1.0
              Oracle Net Configuration Assistant 9.2.0.1.0
              Character Set Migration Utility 9.2.0.1.0
              Enterprise Manage Website Translated Files 9.2.0.1.0
              Oracle Net Manager 9.2.0.1.0
              Oracle Net 9.2.0.1.0
              Oracle Perl Interpreter 5.00503.0.0.0c
              Apache Web Server files 1.3.22.0.0a
              Oracle JDBC/OCI Driver for JDK 1.4 9.2.0.1.0
              Database Configuration Assistant 9.2.0.1.0
              Oracle JDBC/OCI Driver for JDK 1.2 9.2.0.1.0
              Oracle INTYPE File Assistant 9.2.0.1.0
              SQLJ Runtime 9.2.0.1.0
              Oracle JDBC/OCI Interfaces 9.2.0.1.0
              Advanced Queueing (AQ) API 9.2.0.1.0
              Oracle Caching Service for Java 2.1.0.0.0a
              Recovery Manager 9.2.0.1.0
              JSDK 2.0.0.0.0d
              Apache JServ 1.1.0.0.0g
              Oracle interMedia Java Client 9.2.0.1.0
              Oracle Java Layout Engine 2.0.1.0.0
              Oracle Administration Assistant for Windows NT 9.2.0.1.0
              Oracle XML SQL Utility 9.2.0.1.0
              SQLJ Translator 9.2.0.1.0
              Enterprise Login Assistant 9.2.0.1.0
              Oracle Services For Microsoft Transaction Server 9.2.0.1.0
              Enterprise Manager Paging Server 9.2.0.1.0
              Oracle Java Tools 9.2.0.1.0
              Oracle ODBC Driver 9.2.0.1.0
              Authentication and Encryption 9.2.0.1.0
              Oracle Wallet Manager 9.2.0.1.0
              Oracle Database User Interface 2.2.11.0.0
              Oracle SNMP Agent 9.2.0.1.0
              Oracle Provider for OLE DB 9.2.0.1.0
              Oracle Objects for OLE 9.2.0.4.4
              Oracle C++ Call Interface 9.2.0.1.0
              Oracle OLAP Cube Viewer 9.2.0.1.0
              Oracle OLAP CWM Lite 9.2.0.1.0
              Object Type Translator 9.2.0.1.0
              SQL*Plus 9.2.0.1.0
              Oracle Call Interface (OCI) 9.2.0.1.0
              SQL*Loader 9.2.0.1.0
              Secure Socket Layer 9.2.0.1.0
              Oracle Internet Directory Client 9.2.0.1.0
              Oracle Net Listener 9.2.0.1.0
              Advanced Replication 9.2.0.1.0
              Oracle Complete DSS Starter Database 9.2.0.1.0
              Oracle Complete OLTP Starter Database 9.2.0.1.0
              Oracle Starter Database 9.2.0.1.0
              Oracle Message Gateway Common Files 9.2.0.1.0
              Oracle Common Schema Demos 9.2.0.1.0
              Change Management Common Files 9.2.0.1.0
              Oracle UIX 2.0.20.0.0
              Oracle Help for the Web 1.0.7.0.0
              XML Class Generator for C++ 9.2.0.1.0
              XML Parser for C++ 9.2.0.1.0
              XML Parser for Oracle JVM 9.2.0.1.0
              XML Transx 9.2.0.1.0
              XML Transviewer Beans 9.2.0.1.0
              XML Class Generator for Java 9.2.0.1.0
              XSQL Servlet 9.2.0.1.0
              XML Parser for PL/SQL 9.2.0.1.0
              Oracle SQLJ 9.2.0.1.0
              Enterprise Manager Common Files 9.2.0.1.0
              Common Files For Generic Connectivity Using OLEDB 9.2.0.1.0
              Oracle SOAP Client 2.0.0.0.0a
              Oracle Workflow Manager 9.2.0.1.0
              Oracle Net Integration 9.2.0.1.0
              Oracle XML Runtime Components 9.2.0.1.0
              Enterprise Manager Database Applications 9.2.0.1.0
              Oracle SOAP Server 2.0.0.0.0a
              Oracle Database Demos 9.2.0.1.0
              Oracle Ultra Search Common Files 9.2.0.1.0
              Enterprise Manager Console 9.2.0.1.0
              Enterprise Manager Integrated Applications 9.2.0.1.0
              Enterprise Manager Client 9.2.0.1.0
              Database Workspace Manager 9.2.0.1.0
              Oracle interMedia Java Advanced Imaging 9.2.0.1.0
              Oracle interMedia Client Compatibility Files 9.2.0.1.0
              Oracle interMedia Java Media Framework Client 9.2.0.1.0
              Oracle interMedia Client Demos 9.2.0.1.0
              Oracle interMedia Web Client 9.2.0.1.0
              BC4J Runtime for Database 9.0.2.692.1
              Oracle Change Management Pack 9.2.0.1.0
              Oracle interMedia Annotator 9.2.0.1.0
              Data Management Services Common Files 9.2.0.1.0
              Oracle interMedia Common Files 9.2.0.1.0
              Oracle interMedia Image 9.2.0.1.0
              Oracle interMedia Audio 9.2.0.1.0
              Oracle interMedia Video 9.2.0.1.0
              Database Upgrade Assistant 9.2.0.1.0
              Oracle Intelligent Agent Config Tool 9.2.0.1.0
              Oracle Intelligent Agent 9.2.0.1.0
              PL/SQL Embedded Gateway 9.2.0.1.0
              Oracle HTTP Server Extensions 9.2.0.1.0
              Oracle eBusiness Management Extensions 9.2.0.1.0
              Oracle EMD Agent Extensions 9.2.0.1.0
              Oracle interMedia Client Option 9.2.0.1.0
              Oracle SOAP for JServ 2.0.0.0.0a
              MIcrosoft SQLServer(TM) Extensions 9.2.0.1.0
              Oracle Management Pack for Oracle Applications 9.2.0.1.0
              Oracle Windows Interfaces 9.2.0.1.0
              Export/Import 9.2.0.1.0
              Apache Configuration for Oracle XML Developer's Kit 9.2.0.1.0
              Oracle Tuning Pack 9.2.0.1.0
              Oracle Forms Extensions 9.2.0.1.0
              Oracle XML Developer's Kit 9.2.0.1.0
              Oracle Java Server Pages 1.1.3.1.0
              Oracle Diagnostics Pack 9.2.0.1.0
              Oracle Ultra Search Middle-Tier 9.2.0.1.0
              Oracle Dynamic Services Server 9.2.0.1.0
              Oracle Mod PL/SQL Gateway 3.0.9.8.3b
              Apache Configuration for Oracle Java Server Pages 1.1.2.3.0
              Oracle Text 9.2.0.1.0
              Generic Connectivity Common Files 9.2.0.1.0
              New Database ID 9.2.0.1.0
              Database SQL Scripts 9.2.0.1.0
              Generic Connectivity Using OLEDB - SQL 9.2.0.1.0
              Oracle HTTP Server 9.2.0.1.0
              XML 9.2.0.1.0
              Generic Connectivity Using OLEDB - FS 9.2.0.1.0
              iSQL*Plus 9.2.0.1.0
              Generic Connectivity Using ODBC 9.2.0.1.0
              Enterprise Manager Webserver Integration 9.2.0.1.0
              Reporting Framework 9.2.0.1.0
              Oracle interMedia Locator 9.2.0.1.0
              Oracle Management Server 9.2.0.1.0
              Oracle Ultra Search Server 9.2.0.1.0
              Oracle interMedia 9.2.0.1.0
              Oracle Trace 9.2.0.1.0
              Oracle9i Syndication Server 9.2.0.1.0
              Enterprise Manager Web Site 9.2.0.1.0
              Oracle Applications Extensions 9.2.0.1.0
              Oracle Intelligent Agent Extensions 9.2.0.1.0
              Oracle Programmer 9.2.0.1.0
              Migration Utility 9.2.0.1.0
              Oracle Enterprise Manager Products 9.2.0.1.0
              Oracle9i Development Kit 9.2.0.1.0
              Oracle Advanced Security 9.2.0.1.0
              Oracle JVM 9.2.0.1.0
              Database Verify Utility 9.2.0.1.0
              PL/SQL 9.2.0.1.0
              Oracle Database Utilities 9.2.0.1.0
              Oracle9i 9.2.0.1.0
              Oracle Net Services 9.2.0.1.0
              Oracle COM Automation Feature 9.2.0.1.0
              Oracle Data Mining 9.2.0.1.0
              Oracle OLAP 9.2.0.1.0
              Oracle Spatial 9.2.0.1.0
              Oracle Partitioning 9.2.0.1.0
              Enterprise Edition Options 9.2.0.1.0
              Oracle9i Database 9.2.0.1.0
    Starting to execute optional autolaunch configuration tools
    Launched configuration tool Oracle Net Configuration Assistant
    Command which is being spawned is C:\Program Files\Oracle\jre\1.1.8\bin/jrew.exe -Duser.dir=C:\oracle\ora92\network\jlib -classpath ";C:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;C:\oracle\ora92\jlib\ewt3.jar;C:\oracle\ora92\jlib\ewtcompat-3_3_15.jar;C:\oracle\ora92\network\jlib\NetCA.jar;C:\oracle\ora92\network\jlib\netcam.jar;C:\oracle\ora92\jlib\netcfg.jar;C:\oracle\ora92\jlib\help3.jar;C:\oracle\ora92\jlib\oracle_ice5.jar;C:\oracle\ora92\jlib\share.jar;C:\oracle\ora92\jlib\swingall-1_1_1.jar;C:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;C:\oracle\ora92\jlib\srvm.jar;C:\oracle\ora92\network\tools" oracle.net.ca.NetCA /orahome C:\oracle\ora92 /orahnam OraHome92 /instype typical /inscomp client,oraclenet,javavm,server,ano /insprtcl tcp,nmp,tcps /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile C:\oracle\ora92\network\install\netca_typ.rsp
    Configuration tool Oracle Net Configuration Assistant succeeded
    Result code for launching of configuration tool is 0
    Launched configuration tool Oracle Database Configuration Assistant
    Command which is being spawned is C:\Program Files\Oracle\jre\1.1.8\bin/jrew.exe -DORACLE_HOME="C:\oracle\ora92" -DJDBC_PROTOCOL="thin" -classpath ";C:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;C:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;C:\oracle\ora92\jlib\ewt3.jar;C:\oracle\ora92\jlib\kodiak.jar;C:\oracle\ora92\jlib\ewtcompat-3_3_15.jar;C:\oracle\ora92\lib\xmlparserv2.jar;C:\oracle\ora92\jdbc\lib\classes111.zip;C:\oracle\ora92\classes;C:\oracle\ora92\jlib\gss-1-1.zip;C:\oracle\ora92\jlib\oembase-9_2_0.jar;C:\oracle\ora92\jlib\srvm.jar;C:\oracle\ora92\assistants\jlib\assistantsCommon.jar;C:\oracle\ora92\jlib\share.jar;C:\oracle\ora92\jlib\swingall-1_1_1.jar;C:\oracle\ora92\assistants\dbca\jlib\dbca.jar;C:\oracle\ora92\jlib\help3.jar;C:\oracle\ora92\jlib\oracle_ice5.jar;C:\oracle\ora92\jlib\netcfg.jar;C:\oracle\ora92\lib\vbjorb.jar;C:\oracle\ora92\lib\vbjtools.jar;C:\oracle\ora92\lib\vbjapp.jar;" oracle.sysman.assistants.dbca.Dbca -progress_only -createDatabase -templateName General_Purpose.dbc -gdbName orcl -sid orcl -datafileJarLocation C:\oracle\ora92\assistants\dbca\templates -datafileDestination C:\oracle\oradata -responseFile NO_VALUE -characterset WE8MSWIN1252 -passwordDialog true Protected value, not to be logged

  • Install hangs in "Clone Database Creation"

    I try to install Oracle 11g on my computer. The installation pass all the checks and completes installing the files, then go to "Oracle Database COnfiguration Assistant".
    In the "Database Configuration Assistant" dialog, it displays the progress bar to 46% and said "clone database creation in progress", and then the whole progress hangs for 8 hours without any changes. So I think the installer is dead.
    I shutdown the installer and computer. Then restart. Then stop all the Oracle services, then call the deinstall to deinstall everything, remove all the registry entries and installed files.
    I then restart computer and reinstall Oracle, but the installation hangs on the same progress again. I repeat this for several times. But always cannot complete the installation.
    I think maybe there are some problems in cloning the database, so I check the log file, which is appended in this article. One problem is that the creating time of the log is about 8 am, but when I wait to 16 pm, the progress is still hangs and the creating/updating time of the log file is still 8 am, means Oracle does not update for about 8 hours.
    The computer environment: Lenovo T500 laptop with WIndows XP(SP3) installed.
    Log file:
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    SP2-0640: Not connected
    Database closed.
    SP2-0640: Not connected
    Database dismounted.
    ORA-28056: Writing audit records to Windows Event Log failed
    OSD-792246492: Message 792246492 not found; product=RDBMS; facility=SOSD
    O/S-Error: (OS 1502) ??????????????????
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    ERROR:
    ORA-28056: Writing audit records to Windows Event Log failed
    OSD-216442576: Message 216442576 not found; product=RDBMS; facility=SOSD
    O/S-Error: (OS 1502) ?????????????????? ORA-28056: Writing audit records to
    Windows Event Log failed
    OSD-216442576: Message 216442576 not found; product=RDBMS; facility=SOSD
    O/S-Error: (OS 1502) ??????????????????
    specify password for SYS as parameter 1:
    specify password for HR as parameter 2:
    specify password for OE as parameter 3:
    specify password for PM as parameter 4:
    specify password for IX as parameter 5:
    specify password for SH as parameter 6:
    specify password for BI as parameter 7:
    specify INPUT metadata import file as parameter 8:
    specify INPUT database backup file for tablespace EXAMPLE as parameter 9:
    specify OUTPUT database file for tablespace EXAMPLE as parameter 10:
    specify OUTPUT log directory as parameter 11:
    Sample Schemas are being plugged in ...
    ERROR:
    ORA-28056: Writing audit records to Windows Event Log failed
    OSD-216442576: Message 216442576 not found; product=RDBMS; facility=SOSD
    O/S-Error: (OS 1502) ?????????????????? ORA-28056: Writing audit records to
    Windows Event Log failed
    OSD-216442576: Message 216442576 not found; product=RDBMS; facility=SOSD
    O/S-Error: (OS 1502) ??????????????????
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    Edited by: 1006616 on 2013-5-18 下午3:08

    1006616 wrote:
    The event log problem is not fatal. It will popup a warning said cannot write into the event log, and I click "Ignore" to continue. But the installation still hangs at 46%. I try to purge the event log, and try again. The install will still hangs.
    ORA-28056: Writing audit records to Windows Event Log failed
    you are entitled to your opinion, regardless of how misguided it may be.
    You don't have to convince me, about your reality.
    If you want Oracle to install correctly, you need to make sure that NO errors get thrown.
    Only you can fix what is wrong on your system.

  • Getting error while creating index in RAC environment in 11g

    Hi All,
    I am new to RAC concept while creating index getting below error
    Error: AX_DISABLE_HIST - SQL Error. Error Position: 0
    Return: 12801 - ORA-12801: error signaled in parallel query server P146, instance
    ORA-12853: insufficient memory for PX buffers: current 425904K,
    max needed 11105280K ORA-04031: unable to allocate 32792 bytes of shared memory ("shared pool","unknow
    CREATE UNIQUE iNDEX PS_AX_DISABLE_HIST ON PS_AX_DISABLE_HIST (EMPLID) TABLESPACE PSINDEX STORAGE
    (INITIAL 40000 NEXT 65536 MAXEXTENTS UNLIMITED PCTINCREASE 0) PCTFREE 10 PARALLEL NOLOGGING
    am not able to understanding is this issue is related to index or sga memory. can any once help me on this.
    Thanks in advance
    Prabhakar
    Edited by: 889571 on May 16, 2013 7:41 AM

    Hi,
    Please read the below link for ORA-04031 (Insufficient Memory).
    http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/
    Thanks

  • In Oracle RAC environment which is OLTP database? load balancing advantage.

    In Oracle RAC environment which is a OLTP database? List the options for load balancing along with their advantages.

    You can use a software load balancer.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Software+AND+Load+AND+Balancer&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Installing and Configuring Web Cache 10g and Oracle E-Business Suite 12 [ID 380486.1]
    Thanks,
    Hussein

  • Flash back database in RAC

    HI, I have a question regarding using the flash back database feature nwhen in a rac environemt...I see in the documentation that when flashing back the database that you will need to us the open database with the resetlogs option in order to flashback. So does the open database resetlogs need to be done for each instance in order to get the instance database open?
    Thanks.

    See if MOS Doc 819905.1 (How to Enable Flashback for a RAC Database on ASM) helps.
    Also MOS Doc 416496.1 (ENABLE FLASHBACK DATABASE IN RAC ENVIRONMENT).
    HTH
    Srini

  • Upgrade database for RAC

    I have 11g standard edition database installed without RAC in a server environment. But, now I have needed to keep this database in RAC. Could I install or upgrade database with RAC environment without re-installation of oracle software/database from the scratch?

    depends
    you can relink the database home with RAC option on Linux/UNIX platforms: RAC Survival Kit: Rac On / Rac Off - Relinking the RAC Option [ID 211177.1]
    but not on Windows
    if you already have grid infrastructure (clusterware) configured as Oracle Restart, you can convert it to cluster configuration:
    http://docs.oracle.com/cd/E11882_01/install.112/e22489/rem_orcl.htm#CBHEEJAA
    otherwise you will have to install it (this can be higher version than your database home)

  • IllegalStateException: There are 2 open Databases in the Environment.

    Does anyone have any advice on properly handling these exceptions? I get this occasionally on an Environment.close call:
    SEVERE: Exception in thread "pool-11-thread-4"
    SEVERE: java.lang.IllegalStateException: There are 2 open Databases in the Environment.
    Closing the following databases:
    persist#Flow#com.sleepycat.persist.sequences persist#Flow#com.sleepycat.persist.formats
    at com.sleepycat.je.Environment.closeInternal(Environment.java:472)
    at com.sleepycat.je.Environment.close(Environment.java:321)
    at name.justinthomas.flower.analysis.persistence.FlowReceiver.closeEnvironment(FlowReceiver.java:67)
    at name.justinthomas.flower.analysis.persistence.FlowReceiver.addFlow(FlowReceiver.java:104)
    at name.justinthomas.flower.collector.FlowWorker.parseData(FlowWorker.java:379)
    at name.justinthomas.flower.collector.FlowWorker.v9(FlowWorker.java:112)
    at name.justinthomas.flower.collector.FlowWorker.run(FlowWorker.java:62)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    That is thrown on the "environment.close" line in this section:
    private void closeEnvironment() {
    if (environment != null) {
    try {
    environment.close();
    } catch (DatabaseException e) {
    System.err.println("Error closing environment: " + e.toString());
    ... which is called as a "finally" at the end of my insert function. Should I just catch these and ignore them? Or is there something I should be doing to prevent these from occurring?

    Hi Justin,
    JE data is stored via Database objects. When you using the DPL, your EntityStore opens and closes the Databases for you. If you don't call EntityStore.close, it won't close the Databases and you'll get this "warning exception" when you close the Environment. Note that if you open/construct an EntityStore more than once, you'll have to close each instance.
    If you only see this message occasionally, I suspect that you're getting an exception during your app processing, before you close your store. The exception causes you to skip your normal shutdown code, that closes the store, so the store is not closed. You're probably not catching this exception and logging it, and it is not thrown upward because of the exception thrown by Environment.close. To find out what's happening, you'll need to catch and log the exception.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Any major differences of exadata database, listener, processes than regular RAC environment?

    I would like to ask for any input regarding any major differences of exadata database, listener, processes than regular RAC environment.
    I know now the exadata not only have SCAN listener, but a lot other listeners. can expert here provide more details?
    Thanks

    We will use zfs to do backups, is that possible for the initiband listener to communicate with ZFS?  where I can find documents for zfs?
    The SDP (Infiniband) Listener is for client connections connecting to the database on Exadata over the SDP protocol on the Infiniband network. You should use the Infiniband network to connect the ZFS to Exadata and mount the ZFS shares to the Exadata compute nodes using DNFS; but this doesn't use the SDP listener because there is no database connection originating from the ZFS you are just backing up your databases to it. See the "Oracle ZFS Storage: FAQ: Exadata RMAN Backup with The Oracle ZFS Storage Appliance (Doc ID 1354980.1)" MOS note for good information and references regarding backing up from Exadata to ZFS.
    Plus how do I know we have exalogic?  I dont think we have one, but is there a way to check to be sure?
    Exalogic is another of Oracle's engineered systems. It contains integrated compute, network and storage - similar to Exadata - but is used for running application environments, specifically for fusion middleware (e.g. Weblogic) applications, instead of databases. It uses a ZFS storage appliance for the storage, as opposed to the storage cells on Exadata, and for virtualized environments uses the Exalogic Elastic Cloud software. You would know if you have one.
    So basically after oracle engineer installed onecommand and created sample database, as oracle dba, we can dbca to create a database just like regular RAC environment?  There is nothing specific on exadata perspective?
    Yes... Oracle on Exadata is still the same RDBMS - same Oracle Enterprise edition with the RAC option. The Exadata difference comes with the hardware integration and the storage cell software... the database software is the same.
    Another question is do I have to configure exadata specific parameters in order for all those features of smart scan, storage index, comrpession, etc work?
    Some Exadata features are mostly "black box" and work without any configuration others may take some configuration or tuning to take advantage of. For example, storage indexes are created dynamically on the storage cells... there is not much you can do to control them. For smart scans you need full table/index scans with direct path reads. So you need to tune for direct path reads. HCC requires setting up your tables/partitions to compress at one of the HCC compression levels and using direct path loads.

  • Are multiple PHYSICAL databases supported in one Oracle 10g RAC environment

    Hi alls,
    as of  Metalink 220970.1 Oracle RAC is also supporting different databases in one cluster installation. RAC handles any resource as a service and it doesn't matter if these services belongs to only one or to different databases. You install the Oracle Clusterware only once and you create any service you want to make high available.
    So is technically possible to install multiple databases on same Oracle Rac environment.
    My doubts are related to  SAP , does SAP certify such environments ?? we could have  one SAP R/3 database  and SAP BW database co-exist in a single Oracle RAC environment. or also co-exist SAP database with a non-SAP database (an already existing application) in the same Oracle Rac environment.
    Any comment would be higly appreciated.
    Silvio Brandani

    We have ECC, BI, PI and Portal running on same Oracle RAC environment.  We have one RAC for QA systems and one for PRD systems. We are not running any SAP applications along with Non-SAP applications on RAC.  Keeping SAP and non-SAP apps separate would be a way to go.
    Hope this helps.
    Thanks,
    Naveed

  • DBCA hangs with 'database not open'

    I've installed the Oracle 9i ver.2 Enterprise Edition software on a Tru64 Unix machine with 512MB of memory. The software was installed without any problems. However, while creating any database thru the Database Configuration Assistant it hangs on 46% on "Creating & starting Oracle instance" with errors of 'ORA-01109: database not open' in cloneDBCreation.log and 'ORA-1109 signalled during: ALTER DATABASE CLOSE NORMAL...' in alert_SID.log.
    I have also tried to create a DB via a script file but this hangs up in the 'CREATE DATABASE' command.
    Thanks,
    Robert Lieb

    I am giving up on dbca and will try to get a script to create a db. Included are a log file, and a trace file that shows the script process hanging on "Waiting for smon to enable cache recovery" during the execution of CreateDB.sql.
    Any ideas?
    ============= alert_oraCUP1.log ======================
    Tue Aug 10 13:24:30 2004
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 3
    Using log_archive_dest parameter default value
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.1.0.
    System parameters with non-default values:
    processes = 150
    timed_statistics = TRUE
    shared_pool_size = 33554432
    large_pool_size = 12582912
    java_pool_size = 0
    control_files = /oracle02/app/oracle/oradata/oraCUP1/control01.ctl, /oracle02/app/oracle/oradata/oraCUP1/control02.ctl, /oracle02/app/oracle/oradata/oraCUP1/control03.ctl
    db_block_size = 4096
    db_cache_size = 29360128
    compatible = 9.2.0.0.0
    db_file_multiblock_read_count= 8
    fast_start_mttr_target = 300
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 10800
    remote_login_passwordfile= EXCLUSIVE
    db_domain = TestAlpha.com
    instance_name = oraCUP1
    dispatchers = (PROTOCOL=TCP) (SERVICE=oraCUP1XDB)
    hash_join_enabled = TRUE
    background_dump_dest = /oracle01/app/oracle/admin/oraCUP1/bdump
    user_dump_dest = /oracle01/app/oracle/admin/oraCUP1/udump
    core_dump_dest = /oracle01/app/oracle/admin/oraCUP1/cdump
    sort_area_size = 524288
    db_name = oraCUP1
    open_cursors = 300
    star_transformation_enabled= FALSE
    query_rewrite_enabled = FALSE
    pga_aggregate_target = 20971520
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    Tue Aug 10 13:24:44 2004
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Tue Aug 10 13:24:58 2004
    CREATE DATABASE oraCUP1
    MAXINSTANCES 1
    MAXLOGHISTORY 1
    MAXLOGFILES 5
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    DATAFILE '/oracle02/app/oracle/oradata/oraCUP1/system01.dbf' SIZE 250M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL
    DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE '/oracle02/app/oracle/oradata/oraCUP1/temp01.dbf' SIZE 40M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
    UNDO TABLESPACE "UNDOTBS1" DATAFILE '/oracle02/app/oracle/oradata/oraCUP1/undotbs01.dbf' SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    CHARACTER SET WE8ISO8859P1
    NATIONAL CHARACTER SET AL16UTF16
    LOGFILE GROUP 1 ('/oracle02/app/oracle/oradata/oraCUP1/redo01.log') SIZE 1M,
    GROUP 2 ('/oracle02/app/oracle/oradata/oraCUP1/redo02.log') SIZE 1M,
    GROUP 3 ('/oracle02/app/oracle/oradata/oraCUP1/redo03.log') SIZE 1M
    Tue Aug 10 13:25:00 2004
    Database mounted in Exclusive Mode.
    Tue Aug 10 13:25:02 2004
    Successful mount of redo thread 1, with mount id 130099050.
    Assigning activation ID 130099050 (0x7c1276a)
    Thread 1 opened at log sequence 1
    Current log# 1 seq# 1 mem# 0: /oracle02/app/oracle/oradata/oraCUP1/redo01.log
    Successful open of redo thread 1.
    Tue Aug 10 13:30:10 2004
    Waiting for smon to enable cache recovery.
    ===================================
    ============= oracup1_ora_2364.trc ======================
    /oracle01/app/oracle/admin/oraCUP1/udump/oracup1_ora_2364.trc
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    ORACLE_HOME = /oracle01/app/oracle/product/9.2.0.1.0
    System name:     OSF1
    Node name:     TestAlpha.com
    Release:     V5.1
    Version:     1885
    Machine:     alpha
    Instance name: oraCUP1
    Redo thread mounted by this instance: 1
    Oracle process number: 10
    Unix process pid: 2364, image: [email protected] (TNS V1-V3)
    *** SESSION ID:(7.1) 2004-08-10 13:30:10.838
    Waiting for smon to enable cache recovery.
    *** 2004-08-10 13:35:20.268
    Waiting for smon to enable cache recovery.
    ===================================

  • How to create a wallet in oracle RAC environment

    How to create a wallet in oracle RAC environment.
    While running following command "alter system set encryption key identified by "thalesdata4";
    I am getting error message "cannot auto create wallet" or "failed to open wallet.
    Please suggest correct way to create a wallet in RAC environment.
    Thanks
    Sudhir

    hi,
    please refer for detailed explanation
    Master Note for SSL Configuration in Fusion Middleware 11g [ID 1218695.1]
    regards

  • How to create DIR/File on a raw device in RAC environment.

    Hi all,
    I use a shell script to create DIR and File on a raw device also it creates schema and tablespaces.
    I am facing problem in creating DIR and Files on raw device.
    One more thing, can multiple tablespaces be created on a raw device.
    Thanks & regards,
    Sanjeev

    Thanks for the response. Please help me further.
    About the Script - It asks for the path for creating DIR and uses shell command to create DIR. Later same path and DIR name is used to create Oracle DIR. Now in place of absolute path raw device name is passed. The same script is also used for creating tablespaces and schema.
    There is second script that is .sql script that creates external table in the newly created schema. All this has been working fine on single instance Oracle server. we have tested many times but fails in RAC environment when we use raw device.
    Question is - If I use filesystem will the external table's flat files and Directories be accessible to all the instances.
    I have one application written in java that would be clustered and running on these oracle servers. This application would be accessing those external tables and their flat files. Will there be a problem accessing these flat files accross the instances.
    Regards,
    Sanjeev.

Maybe you are looking for