Problem using DBCA: impossible to delete an oracle DB

Hi,
as the subject say it, i've deleting Database problem.
I'm not very experiment in Oracle DB Management, certainly not a DBA.
If someone can help...
So i describe:
Laptop: Probook 4530s
RAM: 8 Go
HDD: 500 Go
Chip: Intel(R) Core(TM) i5-2430M CPU @ 2.40 GHz
OS: Windows 7 x64
DB: Oracle 11gR2 (11.2.0.1.0) x64
Note 1:
OWB 11gR2 (11.2.0.3.0) installed as Standalone Client
Note 2:
2 oracle DB running as independant instances
1 containing very great amount data
1. I've created a DB instance activating the Archive option.
2. I import some tables from an other DB (populate those tables dured so much time that i wanted not to calculate them again)
3. One of the table count more as 32 million lignes
4. the export of those table taking to many time i broke the export process
5. after that i remark there is no more place to archive
6. after to consulting the Web about how to find a solution,
i've remove some Archive from the location where there are stored (C:\Oracle_DB\fast_recovery_area\<MYDB>\ARCHIVELOG\2012_04_04) to another location
7. i've succeeded to reconnect with sqlplus to the instance
8. i wanted to shutdown the DB with SHUTDOWN
My intention was then to do STARTUP MOUNT and then ALTER DATABASE NOARCHIVELOG;
10. after a long moment without response, i've reboot the laptop
11. the problem begin: impossible to connect to the DB get the message
"ORA-12514: TNS:listener does not currently know of service requested in connect descriptor."
12. i consult the "Application Log" in "Windows EventViewer"
It shows the following events:
Instance <MYDB> has been terminated.
Initializing PGA for process ARC3 in instance <MYDB>.
Initializing PGA for process ARC2 in instance <MYDB>.
Initializing PGA for process ARC1 in instance <MYDB>.
Initializing PGA for process ARC0 in instance <MYDB>.
Audit trail: LENGTH: '169' ACTION :[7] 'CONNECT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSDBA' CLIENT USER:[19] 'AUTORITE NT\Système' CLIENT TERMINAL:[9] '<LAPTOP>' STATUS:[1] '0' DBID:[0] '' .
Audit trail: LENGTH: '172' ACTION :[7] 'STARTUP' DATABASE USER:[1] '/' PRIVILEGE :[4] 'NONE' CLIENT USER:[19] 'AUTORITE NT\Système' CLIENT TERMINAL:[13] 'Not Available' STATUS:[1] '0' DBID:[0] '' .
Initializing PGA for process MMNL in instance <MYDB>.
Initializing PGA for process MMON in instance <MYDB>.
Initializing PGA for process RECO in instance <MYDB>.
Initializing PGA for process SMON in instance <MYDB>.
Initializing PGA for process CKPT in instance <MYDB>.
Initializing PGA for process LGWR in instance <MYDB>.
Initializing PGA for process DBW0 in instance <MYDB>.
Initializing PGA for process MMAN in instance <MYDB>.
Initializing PGA for process DIA0 in instance <MYDB>.
Initializing PGA for process DBRM in instance <MYDB>.
Initializing PGA for process DIAG in instance <MYDB>.
Initializing PGA for process GEN0 in instance <MYDB>.
Initializing PGA for process VKTM in instance <MYDB>.
Initializing PGA for process PSP0 in instance <MYDB>.
Initializing PGA for process PMON in instance <MYDB>.
Initializing SGA for instance <MYDB>.
Audit trail: LENGTH: '169' ACTION :[7] 'CONNECT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSDBA' CLIENT USER:[19] 'AUTORITE NT\Système' CLIENT TERMINAL:[9] '<LAPTOP>' STATUS:[1] '0' DBID:[0] '' .
12. opening the "tnsnames.ora" file the reference to the DB <MYDB> is present.
13. i try to start the instance with
"ORADIM -STARTUP -SID OracleService<MYDB>"
I get the following message:
"ORA-03113 end-of-file on communication channel"
14. at those step, because the place on laptop is limited, i wanted to delete the DB <MYDB> using DBCA
It show me a Dialog-Box saying that the DB is not started.
Note 1:
of course i tried to restart the Windows Oracle Services <MYDB> several times, and the listener
but it seems to do nothing.
Note 2:
of course i've replace the Archive files to the location where there are stored (C:\Oracle_DB\fast_recovery_area\<MYDB>\ARCHIVELOG\2012_04_04)
I don't know what i can doing
* either to recover/open/start the DB <MYDB>
* either to delete the DB <MYDB>
Have anybody some suggestions?
Thank you in advance.
JC

Thank you for your very reactive answers, Balazs Papp, *11g*,
the DB was shutdown and instance inactive
after a last search on the Web i find something interresting
i solved the problem so:
on 1 DOS Console:
C:\>set ORACLE_SID=<MYDB>
C:\>sqlplus sys/<sys password on MYDB> as sysdba
Then on the opened SQLPLUS session:
sql> STARTUP MOUNT
sql> ALTER DATABASE NOARCHIVELOG; (<- it is what i wanted to do)
sql> ALTER DATABASE OPEN;
After reflexion, it seems that wenn i do "SHUTDOWN" yesterday, i don't be patient enough... &reboot the laptop.
It seems that <MYDB> state was registered anywhere as "inactive" & "MYDB" as "unmounted" & "closed"...
So it could be "normal" that after reboot, the state of instance & DB are so.
Sorry, i'm not DBA (& learn every day), but those are the reflexions that came to me.
Thank you Balazs Papp for suggestions to consult the alertlog on "C:\Oracle_DB\diag\rdbms\<db_unique-name>\<instance_name>\trace\alert_<instance_name>.log" location.
I ignore that it is exists
But the location is empty...
How is it possible to activate/enable the tracing mode so that i've "alert_<instance_name>.log" file?
Thank you for your help.
Yours sincerelly,
JC

Similar Messages

  • Problem using template in database configuration assistant Oracle 10g

    Hi,
    I created a database using the database configuration assistant for Oracle 10g on a Windows Server 2003 box. The database I created worked perfectly, and I had saved it as a template so I could save some time when creating similar databases (which I have to do on occasion)
    When I try to use the template though, I get an error (at about 4% through the database creation) saying:
    ORA-01501: CREATE DATABASE failed
    ORA-09314: sltln: error translating logical name
    I'm creating this new database on the same server as the one I created my previous database on and NOTHING has changed on it, I did this just minutes apart and can duplicate it at will (just try and use a template)
    Heres the template file contents (KM1.dbt)
    <DatabaseTemplate name="KM1" description="" version="10.1.0.2.0">
    <CommonAttributes>
    <option name="ISEARCH" value="false"/>
    <option name="OMS" value="false"/>
    <option name="JSERVER" value="false"/>
    <option name="SPATIAL" value="false"/>
    <option name="ODM" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="IMEDIA" value="false"/>
    <option name="XDB_PROTOCOLS" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="ORACLE_TEXT" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="SAMPLE_SCHEMA" value="false"/>
    <option name="CWMLITE" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="EM_REPOSITORY" value="true">
    <tablespace id="SYSAUX"/>
    </option>
    </CommonAttributes>
    <Variables/>
    <CustomScripts Execute="false"/>
    <InitParamAttributes>
    <InitParams>
    <initParam name="O7_DICTIONARY_ACCESSIBILITY" value="TRUE"/>
    <initParam name="background_dump_dest" value="{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\bdump"/>
    <initParam name="compatible" value="10.1.0.2.0"/>
    <initParam name="core_dump_dest" value="{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\cdump"/>
    <initParam name="db_block_size" value="8" unit="KB"/>
    <initParam name="db_cache_size" value="24" unit="MB"/>
    <initParam name="db_create_file_dest" value="E:\oradata"/>
    <initParam name="db_create_online_log_dest_1" value="C:\Oradata"/>
    <initParam name="db_create_online_log_dest_2" value="D:\Oradata"/>
    <initParam name="db_create_online_log_dest_3" value="E:\Oradata"/>
    <initParam name="db_domain" value="JACOBSONCO.COM"/>
    <initParam name="db_file_multiblock_read_count" value="16"/>
    <initParam name="db_name" value="UDC7"/>
    <initParam name="db_recovery_file_dest" value="E:\UDC7\flash_recovery_area"/>
    <initParam name="db_recovery_file_dest_size" value="2048" unit="MB"/>
    <initParam name="java_pool_size" value="0" unit="MB"/>
    <initParam name="job_queue_processes" value="10"/>
    <initParam name="large_pool_size" value="8" unit="MB"/>
    <initParam name="open_cursors" value="1000"/>
    <initParam name="pga_aggregate_target" value="24" unit="MB"/>
    <initParam name="processes" value="150"/>
    <initParam name="remote_login_passwordfile" value="EXCLUSIVE"/>
    <initParam name="shared_pool_size" value="80" unit="MB"/>
    <initParam name="sort_area_size" value="65536"/>
    <initParam name="undo_management" value="AUTO"/>
    <initParam name="undo_tablespace" value="UNDOTBS1"/>
    <initParam name="user_dump_dest" value="{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\udump"/>
    </InitParams>
    <MiscParams>
    <databaseType>MULTIPURPOSE</databaseType>
    <maxUserConn>20</maxUserConn>
    <percentageMemTOSGA>40</percentageMemTOSGA>
    <customSGA>true</customSGA>
    <characterSet>WE8MSWIN1252</characterSet>
    <nationalCharacterSet>AL16UTF16</nationalCharacterSet>
    <archiveLogMode>false</archiveLogMode>
    <initParamFileName>{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\pfile\init.ora</initParamFileName>
    </MiscParams>
    <SPfile useSPFile="true">{ORACLE_HOME}\database\spfile{SID}.ora</SPfile>
    </InitParamAttributes>
    <StorageAttributes>
    <ControlfileAttributes id="Controlfile">
    <maxDatafiles>100</maxDatafiles>
    <maxLogfiles>16</maxLogfiles>
    <maxLogMembers>3</maxLogMembers>
    <maxLogHistory>1</maxLogHistory>
    <maxInstances>8</maxInstances>
    <image name="&lt;OMF_CONTROL_0>" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    <image name="&lt;OMF_CONTROL_1>" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    <image name="&lt;OMF_CONTROL_2>" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    </ControlfileAttributes>
    <DatafileAttributes id="&lt;OMF_SNIKEB_DATAFILE_0>">
    <tablespace>SNIKEB</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">300</size>
    <reuse>false</reuse>
    <autoExtend>false</autoExtend>
    <increment unit="KB">-2</increment>
    <maxSize unit="KB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="&lt;OMF_SYSAUX_DATAFILE_0>">
    <tablespace>SYSAUX</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">120</size>
    <reuse>true</reuse>
    <autoExtend>true</autoExtend>
    <increment unit="KB">10240</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="&lt;OMF_SYSTEM_DATAFILE_0>">
    <tablespace>SYSTEM</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">300</size>
    <reuse>true</reuse>
    <autoExtend>true</autoExtend>
    <increment unit="KB">10240</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="&lt;OMF_TEMP_DATAFILE_0>">
    <tablespace>TEMP</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">20</size>
    <reuse>true</reuse>
    <autoExtend>true</autoExtend>
    <increment unit="KB">640</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="&lt;OMF_UNDOTBS1_DATAFILE_0>">
    <tablespace>UNDOTBS1</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">200</size>
    <reuse>true</reuse>
    <autoExtend>true</autoExtend>
    <increment unit="KB">5120</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="&lt;OMF_USERS_DATAFILE_0>">
    <tablespace>USER_DATA</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">5</size>
    <reuse>true</reuse>
    <autoExtend>true</autoExtend>
    <increment unit="KB">1280</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <TablespaceAttributes id="SNIKEB">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">-1</initSize>
    <increment unit="KB">-1</increment>
    <incrementPercent>-1</incrementPercent>
    <minExtends>-1</minExtends>
    <maxExtends>-2</maxExtends>
    <minExtendsSize unit="KB">-1</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="&lt;OMF_SNIKEB_DATAFILE_0>">
    <id>1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="SYSAUX">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">64</initSize>
    <increment unit="KB">64</increment>
    <incrementPercent>50</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>4096</maxExtends>
    <minExtendsSize unit="KB">64</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="&lt;OMF_SYSAUX_DATAFILE_0>">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="SYSTEM">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>3</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">64</initSize>
    <increment unit="KB">64</increment>
    <incrementPercent>50</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>-1</maxExtends>
    <minExtendsSize unit="KB">64</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="&lt;OMF_SYSTEM_DATAFILE_0>">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="TEMP">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>true</temporary>
    <defaultTemp>true</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">64</initSize>
    <increment unit="KB">64</increment>
    <incrementPercent>0</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>0</maxExtends>
    <minExtendsSize unit="KB">64</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="&lt;OMF_TEMP_DATAFILE_0>">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="UNDOTBS1">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>true</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">512</initSize>
    <increment unit="KB">512</increment>
    <incrementPercent>50</incrementPercent>
    <minExtends>8</minExtends>
    <maxExtends>4096</maxExtends>
    <minExtendsSize unit="KB">512</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="&lt;OMF_UNDOTBS1_DATAFILE_0>">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="USER_DATA">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">128</initSize>
    <increment unit="KB">128</increment>
    <incrementPercent>0</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>4096</maxExtends>
    <minExtendsSize unit="KB">128</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="&lt;OMF_USERS_DATAFILE_0>">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <RedoLogGroupAttributes id="1">
    <reuse>false</reuse>
    <fileSize unit="KB">10240</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="OMF_1_REDOLOG_MEMBER_0" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    </RedoLogGroupAttributes>
    <RedoLogGroupAttributes id="2">
    <reuse>false</reuse>
    <fileSize unit="KB">10240</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="OMF_2_REDOLOG_MEMBER_0" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    </RedoLogGroupAttributes>
    <RedoLogGroupAttributes id="3">
    <reuse>false</reuse>
    <fileSize unit="KB">10240</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="OMF_3_REDOLOG_MEMBER_0" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    </RedoLogGroupAttributes>
    </StorageAttributes>
    </DatabaseTemplate>
    can anyone explain why I keep getting this error?
    Thanks

    Error:     ORA-9314
    Text:     sltln: error translating logical name
    Cause:     Internal buffer may have overflowed
    Action:     See OSD error accompanying this message
    Check alertlog and trace files.
    Message was edited by:
    FeNiCrC_Neil

  • Problem using views containing xpath expressions with Oracle Forms

    Mark,
    Nice to see you back on the forum answering questions.
    This example is based on the standard purchaseorder schema.
    i registered the schema, created a relational table and then created
    a view using xpath.everything works well and i am able to select the data
    using sql*plus. Now this views is like any other view, when i describe the
    view, i can see the all the data types are valid for the columns and also the lengths.
    Now when i try to base a data block in oracle forms using this view, i get error
    "ORA-24324 - service handle not initialized."
    Whereas if i create another view on top of the first view and then base the data block on this view, it works for me. i described the second view from sql*plus and everything seems to be same for me.
    this is the same behaviour from database 9i r2 and it exists in 10g r1 also.
    Any hints as what might be the problem or you would like me to file a tar for this.
    create or replace view purchaseorder_header_xml
    as
    select  id
           ,extractvalue(xml_data, '/PurchaseOrder/Reference') reference
           ,extractvalue(xml_data, '/PurchaseOrder/Requestor') requestor
           ,extractvalue(xml_data, '/PurchaseOrder/User')      po_user
           ,extractvalue(xml_data, '/PurchaseOrder/CostCenter') costcenter
           ,extractvalue(xml_data, '/PurchaseOrder/SpecialInstructions') spl_instructions
    from tab_xmldata
    create or replace view purchaseorder_header
    as select * from purchaseorder_header_xml
    /Raghu

    Not used Forms for years. However I suspect that Forms is trying to poke around behind the view and not understanding what it sees. I expect you'll need to open a Forms Tar to get to the bottom of this. It also appears that you a workaround which is to create a view on the view by the sound of it..

  • Query using connectionpool impossible on oracle instance

    Hi,
    I have a question for a system that was to be released in production mode april
    1st, 2003, but could not be because of this problem:
    When connecting to a Oracle 8.1.7r3 DB using WL 6.1SP3, I have a problem using
    connection pooling with both the oracle jdbc drivers as well as the oci drivers.
    Switching of the connection pool makes the application work but that defies the
    whole purpose of configuring connection pools.
    1. start up of the runserver with connection pooling enables does NOT return any
    errors
    2. the query to be executed is correct and checked on multiple ways (including
    sqlnet, jdbc, oci, all without transaction pooling)
    3. the username/password used is correct and works but only if connection pooling
    disabled, no typos were made
    4. the user has been granted DBA rights and still the connection pooling does
    not work.
    5. the table accessed in the query executed is available and a public synonym
    exists; the user has select rights on the table
    6. the connection pool is assigned a JNDI datasource and lookup succeeds
    7. obtaining a connection from the pool works.
    8. executing of the query WITH connection pooling returns SQLException with error
    message:
    java.sql.SQLException: ORA-00942: table or view does not exist
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:643)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1674)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1870)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:538)
    at org.mmbase.module.database.MultiStatement.executeQuery(Unknown Source)
    at org.mmbase.module.core.ClusterBuilder.searchMultiLevelVector(Unknown
    Source)
    at org.mmbase.bridge.implementation.BasicCloud.getList(Unknown Source)
    at org.mmbase.bridge.jsp.taglib.ListTag.doStartTag(Unknown Source)
    at org.mmbase.bridge.jsp.taglib.macro.RelatedTag.doStartTag(Unknown Source)
    at jsp_servlet.__1_4_digitaaljournaal._jspService(__1_4_digitaaljournaal.java:888)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:482)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:308)
    at nl.vodafone.iris.net.http.HTTPServletRedirectBean.redirect(HTTPServletRedirectBean.java:49)
    at nl.vodafone.dealersite2.menu.MenuControlServlet.forwardMenu(MenuControlServlet.java:130)
    at nl.vodafone.dealersite2.menu.MenuControlServlet.doGet(MenuControlServlet.java:37)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2546)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2260)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Is there possibly a certain (additional) install on Oracle required for the connection
    pooling on WL6.1SP3 to run? We have the problem only on one DB instance. Do you
    have any other suggestions for the issue? Is there a way to see all sql statements
    use by the connections in the connection pool?
    Roger Stoffers
    Vodafone NL

    Hi Roger,
    Could you please show us the 30-line program that does work?
    Regards,
    Slava Imeshev
    "Roger Stoffers" <[email protected]> wrote in message
    news:[email protected]...
    >
    Hello Joseph,
    I have tried many things (wrote numerous tests) now, but the problem seemsto
    occur only USING pooling with the weblogic OCI driver, or the weblogicoracle
    thin driver.
    Moving the data to another DB solved my problem; however I'm still curiousas
    to what causes this behaviour.
    The 30-line programme works fine, sqlplus works fine, TOAD works fine,weblogic
    withour pooling works fine, weblogic with pooling fails.... sigh....
    Kind regards,
    Roger Stoffers
    Joseph Weinstein <[email protected]_this> wrote:
    Roger Stoffers wrote:
    Hi Joseph,
    The pool definition is taken from config.xml:
    <JDBCConnectionPool DriverName="weblogic.jdbc.oci.Driver"
    InitialCapacity="1" MaxCapacity="1" Name="ddsireConnectionPool"
    Password="{3DES}XXXXX=" Properties="user=hint"
    RefreshMinutes="5" ShrinkingEnabled="false"
    Targets="rogerServer" TestConnectionsOnRelease="true"
    TestTableName="dual" URL="jdbc:weblogic:oracle:CIMA"/>
    <JDBCDataSource JNDIName="ddsireDataSource" Name="DDSire
    DataSource"
    PoolName="ddsireConnectionPool" Targets="rogerServer"/>
    Furthermore, I managed to include an incorrect part of the log file;here's the
    correct one. Does this tell you more? (In the weblogic.log file itis stated that
    the connection was obtained)
    java.sql.SQLException: ORA-00942: table or view does not exist
    at
    weblogic.db.oci.OciCursor.getCDAException(OciCursor.java:240)
    atweblogic.jdbc.oci.Statement.private_parse(Statement.java:826)
    atweblogic.jdbc.oci.Connection.prepareStatement(Connection.java:732)
    atweblogic.jdbc.pool.Connection.prepareStatement(Connection.java:303)
    >>
    Hi. Ok, this shows that you did successfully create a pool, which did
    make connections,
    and using it, you did get the same error. However, there is a bigquestion:
    Why did
    you also get that same exception with the Oracle driver directly? This
    was shown with
    the first stack trace you sent. Until we explain that first stacktrace,
    it seems like an all-
    oracle problem. Can you make a small 30-line standalone java program
    that makes
    a direct connection to the DBMS, using our driver and that user name
    and password,
    and runs that same query?
    thanks,
    Joe
    at
    weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.ja
    va:135)
    atweblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:78
    atnl.vodafone.cd.dataservices.jdbc.JDBCHelper.callSql(JDBCHelper.java:93)
    atnl.vodafone.cd.dataservices.jdbc.JDBCHelper.performQuery(JDBCHelper.java:64)
    atnl.vodafone.cd.dataservices.jdbc.JDBCDDSireHintDescriptionService.getHint(JD
    BCDDSireHintDescriptionService.java:48)
    atnl.vodafone.cd.presentation.MainPageAction.perform(MainPageAction.java:109)
    atnl.vodafone.cd.presentation.CheckClientAddressInfoAction.perform(CheckClient
    AddressInfoAction.java:181)
    atnl.vodafone.cd.presentation.ActionServlet.doPost(ActionServlet.java:309)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2546)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2260)
    atweblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Joseph Weinstein <[email protected]_this> wrote:
    Roger Stoffers wrote:
    Hi,
    I have a question for a system that was to be released in productionmode april
    1st, 2003, but could not be because of this problem:
    When connecting to a Oracle 8.1.7r3 DB using WL 6.1SP3, I have a
    problem
    using
    connection pooling with both the oracle jdbc drivers as well as
    the
    oci drivers.
    Switching of the connection pool makes the application work but
    that
    defies the
    whole purpose of configuring connection pools.
    1. start up of the runserver with connection pooling enables does
    NOT
    return any
    errorsPlease show me the whole pool definition...
    2. the query to be executed is correct and checked on multiple ways(including
    sqlnet, jdbc, oci, all without transaction pooling)
    3. the username/password used is correct and works but only if
    connection
    pooling
    disabled, no typos were madeWhat is the failure mode when this user/password is used for a pool?
    4. the user has been granted DBA rights and still the connection
    pooling
    does
    not work.
    5. the table accessed in the query executed is available and a
    public
    synonym
    exists; the user has select rights on the table
    6. the connection pool is assigned a JNDI datasource and lookup
    succeeds
    7. obtaining a connection from the pool works.
    8. executing of the query WITH connection pooling returns
    SQLException
    with error
    message:
    java.sql.SQLException: ORA-00942: table or view does not exist
    at
    oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
    atoracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
    atoracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:643)
    atoracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1674)
    atoracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
    :1870)
    atoracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:538)
    atorg.mmbase.module.database.MultiStatement.executeQuery(Unknown
    Source)
    Here is some big info above. You are getting this exception withoutusing
    our
    pooling at all. You are getting a direct JDBC connection to Oracle,using
    Oracle's driver,
    and suffering the problem.
    Joe Weinstein at BEA
    at
    org.mmbase.module.core.ClusterBuilder.searchMultiLevelVector(Unknown
    Source)
    atorg.mmbase.bridge.implementation.BasicCloud.getList(Unknown
    Source)
    at org.mmbase.bridge.jsp.taglib.ListTag.doStartTag(UnknownSource)
    at
    org.mmbase.bridge.jsp.taglib.macro.RelatedTag.doStartTag(Unknown
    Source)
    at
    jsp_servlet.__1_4_digitaaljournaal._jspService(__1_4_digitaaljournaal.java:8
    88)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:482)
    atweblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:308)
    atnl.vodafone.iris.net.http.HTTPServletRedirectBean.redirect(HTTPServletRedire
    ctBean.java:49)
    atnl.vodafone.dealersite2.menu.MenuControlServlet.forwardMenu(MenuControlServl
    et.java:130)
    atnl.vodafone.dealersite2.menu.MenuControlServlet.doGet(MenuControlServlet.jav
    a:37)
    atjavax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    atjavax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2546)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2260)
    atweblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Is there possibly a certain (additional) install on Oracle requiredfor the connection
    pooling on WL6.1SP3 to run? We have the problem only on one DB
    instance.
    Do you
    have any other suggestions for the issue? Is there a way to see
    all
    sql statements
    use by the connections in the connection pool?
    Roger Stoffers
    Vodafone NL

  • Drop database using DBCA

    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

  • Problems using CONNECT BY

    Hi. I'm having problems using the CONNECT BY feature in oracle 9.
    I need to check which codes are causing loop between parent and child. In 10G I could use CONNECT_BY_ISCYCLE, but it is not available in 9i; so what I did was the following (if there's a better solution please let me know).
    parent_id | child_id
    111 | 777
    777 | 111
    this should cause a loop and I should be able to tell the user that code 111 or 777 (either) is causing the problem.
    procedure check_for_loops(op_class_code OUT MY_TABLE.PARENT_ID%type)
    IS
    class_parent_id2 MY_TABLE.PARENT_ID%type;
    BEGIN
    for c1 in ( SELECT distinct parent_id FROM MY_TABLE )
    ->loop
    ->->SELECT parent_id
    ->->INTO class_parent_id2
    ->->FROM MY_TABLE
    ->->WHERE parent_id = c1.parent_id
    ->->CONNECT BY PRIOR parent_id = child_id
    ->->start with parent_id = c1.parent_id;
    ->end loop;
    ->exception
    ->when NO_DATA_FOUND then
    ->return;
    ->when others then
    ->if SQLCODE = -1436 THEN
    ->->for c2 in ( select distinct parent_id from MY_TABLE
    ->->where parent_id = c1.parent_id )
    ->->loop
    ->->->->op_class_code := c2.parent_id;
    ->->end loop;
    ->->else
    ->->->->raise;
    ->->end if;
    end check_for_loops;
    If there's a loop (the exception code is -1436), then I get the code and return it to the client.
    However, in some situations the exception thrown is the following:
    java.sql.SQLException: ORA-01422: exact fetch returns more than requested number of rows
    is the connect by used correctly? Is there any other better way to retrieve the offending code that is causing the circular loop?
    thanks

    The code is working ok at the moment. I have a similar problem. I have two tables:
    - stage_table (parent_id, child_id)
    - active_table (parent_id, child_id)
    (they both have the same structure)
    stage_table is populated with data that will eventually be stored in active_table, once the validations are succesful.
    What I'm trying to do is loop thru the stage table,and for every row I want to call the function to see if that row causes loop. my function is:
    ->FUNCTION check_for_loops_stage_table()
    ->RETURN EMPARRAY
    ->AS
    ->->l_codes EmpArray := EmpArray();
    ->->CURSOR c1 IS
    ->->->->select distinct parent_id
    ->->->->from stage_table
    ->->->->where my_iscycle( parent_id ) = 1;
    ->->BEGIN
    ->->->for rec in c1 LOOP
    ->->->->l_codes.extend;
    ->->->->l_codes(l_codes.last) := rec.parent_id;
    ->->->end loop;
    ->->RETURN l_codes;
    ->END check_for_loops_stage_table;
    the cursor c1 is basically
    (am I using EMPARRAY correctly?). As you can see, I want to put all the codes that are failing into an EMPARRAY, so I can later on retrieve that emparray from java and deal with it.
    the my_iscycle function is:
    FUNCTION my_iscycle(p_parent_id IN stage_table.parent_id%type)
    RETURN stage_table.parent_ID%type
    AS
    -> v_count NUMBER;
    ->BEGIN
    ->->SELECT COUNT (*)
    ->->INTO v_count
    ->->FROM (SELECT parent_id
    ->->->->FROM active_table
    ->->->->START WITH parent_id = p_parent_id
    ->->->->CONNECT BY PRIOR parent_id = child_id);
    ->->->RETURN 0;
    ->->EXCEPTION
    ->->->->WHEN OTHERS THEN
    ->->->->IF SQLCODE = -1436 THEN
    ->->->->->RETURN 1;
    ->->->->END IF;
    ->END my_iscycle
    If I have in my active_table
    parent_id | child_id
    111 | 777
    and then in my stage_table I have
    parent_id | child_id
    777 | 111
    the result I get from EMPARRAY is empty. So it doesn't seem to find the loop, don't know why. Any ideas?

  • 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 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
    Kai

    Hello,
    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

  • Error when attempting to add Oracle Text using DBCA

    Hi all -
    I'm trying to add Oracle Text to my 10gR1 database using DBCA. The Oracle Text option is available, but when I attempt to add it I get the error message: "A tablespace for the database option Oracle Text is not found. Cannot install this option in the database." I have a SYSAUX tablespace, which I believe is the default tablespace for Text, so I'm not sure what the problem could be. I also tried manually adding Oracle Text by running catctx.sql but received the error message:
    ERROR at line1:
    ORA-39705: component 'CONTEXT' not found in registry
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_REGISTRY", line 757
    ORA-06512: at line 2
    Any ideas or suggestions would be greatly appreciated. Thanks!

    Hi,
    this looks like a half way install, I think you should try to deinstall Oracle Text and then reinstall, have a look at note 280713.1 on Oracle Support
    Herald ten Dam
    http://htendam.wordpress.com

  • BUG? JDev 10.1.3.1.0 on MacBook Pro - problem using space and delete keys

    Is anyone using JDev 10.1.3.1.0 production release on a Macbook Pro? I am experiencing problems using the delete and space keys. The delete key no longer seems to work at all when using any of the key bindings including Default MacOS X. Using the spacebar also seems to have a conflict with the code completion feature. I am finding that the code completion always pops up when the space bar is used and no space is inserted with the editor. The space bar only works when used in conjuction with the shift key. Can anyone verify if they are able to use these keys in JDeveloper 10.1.3.1.0 on a Macbook Pro?
    Thanks,
    Richard

    This was from the dmg file.
    I found that in Preferences | Accelerators, Completion Insight lists 'Space' as an accelerator, right after 'CommandAIC'. Removing that fixed the problem, but I still can't fix the Delete issue.
    The Delete action is assigned to the 'Delete' key, which is recognizes as the key combination fn-Delete. I tried to assign the Delete Previous Char to just the delete key, but pressing the Delete key while in the New Accelerator field is not recognized - it just pretends as if I had not pressed a key.
    I'm looking at the the file:
    jdevhome/system/oracle.jdeveloper.10.1.3.39.84/Default_macosx.kdf
    trying to find entries for Delete and they are not in there - is there some other place I should be looking?
    Thanks,
    --ee                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Problem using Export in Oracle 8.1.6.

    Hi,
    I have a problem using export utility in oracle 8i.
    I got a message:
    EXP-00056: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    EXP-00000: Export terminated unsuccessfully
    I tried running CATPROC.sql and CATEXP.sql but it did not correct the problem.
    Please help me.
    Thanks

    You may want to try using the error lookup tool available here, http://otn.oracle.com/pls/tahiti/tahiti.homepage?remark=tahiti You may be able to find the answer even though the error lookup tools is for 8.1.7 version. Otherwise, you can search the db discussion forums to see if this issue has been discussed already.

  • Is there any known problem using Oracle SQL Developer 3.0.04 with Java 1.7?

    I'm new to Oracle. I have installed Oracle SQL Developer 3.0.04 and Java 1.7. When I run Oracle SQL Developer, I will get the window Running this product is supported with minimum Java version of 1.6.0_04 and a maximum version less than 1.7. This product will not be supported....
    Is there any known problem using Oracle SQL Developer 3.0.04 with Java 1.7?
    I have already downloaded Java 1.6 but don't know whether I need to uninstall Java 1.7 first. If don't need to uninstall Java 1.7, how can I set Oracle SQL Developer to run with Java 1.6?
    Thanks for any help.
    Edited by: 881656 on Aug 25, 2011 11:22 AM

    Hi,
    One prior post discussing the use of Java 7 is:
    SQL Developer 3.0  and Java SE 7?
    There is no need to uninstall any Java version (except if you have disk space constraints) and no problem switching between Java versions. This may be controlled in the sqldeveloper.conf file in your ...\sqldeveloper\sqldeveloper\bin directory via the SetJavaHome line. For example:
    #SetJavaHome ../../jdk
    SetJavaHome C:/Program Files/Java/jdk1.6.0_26
    #SetJavaHome C:/Program Files/Java/jdk1.7.0Regards,
    Gary Graham
    SQL Developer Team

  • Can't install Data Guard using DBCA in Oracle 11g Release 2

    I have installed Oracle database 11g Release 2 successfully. I have installed Label Security using DBCA, now when I am installing Database Vault using DBCA, it gives message "ORA-01017: invalid username/password; logon denied" and exists back to DBCA.
    What step I am missing? please suggest.
    Regards and thx,

    Hi,
    I had the same issue too. I installed it on my desktop (server class option). Everything else including EM is working fine. However I got around the issue to an extent by manually running the catalog scripts for database vault. It should be located under $ORACLE_HOME/rdbms/admin. You have to run the script catmac.sql. There is a catch though. You need to go through the contents of the script and execute the other scripts manually by supplying username and passwords (yes, it sucks!!) but I don't find any help on metalink for this issue.
    Currently I am trying to create the realms but I am denied permission due to lack of "OPERATOR TARGET" privileges.
    If someone can lead me to the correct place where I can look for what is missing, it would be great.
    Thank you
    Kumar Ramalingam

  • Problems using Oracle Sql Developer

    Hello.
    I am tryng to use the developer but I have serious problems using it. Lags, freeze, blocked screens, fatal errors without messages that make me close the application.
    It is running on Windows 2000.
    Somebody have this problems too?
    Is this tool operative or is in beta state?
    Thanks a lot.
    Miguel De Belliz.
    Argentina.

    I executed a query & need to cancel the operation. However the busy cursor won't let me click Cancel (X) icon. Why ?
    Also from time to time a simple operation of copy / paste freezes the screen and eventually comes back to life after 4/5 minutes. Why ?
    Platform : Windows
    Version : WinXP2002SP2
    SQL Dev Version : 1.0.0.13.43
    Build : MAIN-13.43
    Java : 1.5.0_05
    Oracle IDE : 1.0.0
    Regards

  • 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

Maybe you are looking for