Db creation with dbca template

I have created database creation template using dbca in oracle 9i, it created .dbc file. How to create the database using this file.can any one help me in resolving this issue.
thanks

You have to create these set of .SQL scripts first.
From the database creation wizard, when you have completed all the steps for specifying new database characteristics, at the last page, it will give you the option to create a set of .SQL scripts that you could run later to create the exact same database.

Similar Messages

  • Unablto to DB creation with DBCA

    Hi,
    My details
    Os: windows 7 professional, 32-bit
    Oracle:10.2.0.1.
    I was installed and created 1 database with installation and that is fine and running. I would like to create 1 more database cat with dbca, but @the end of final step its throwing error like
    can't create directory"E:\oracle\product\10.2.0\db_1\cfgtoollogs\dbca\cat".
    Pls help me out to create db
    regards
    Poorna
    Edited by: 873393 on Aug 21, 2011 2:29 PM
    Edited by: 873393 on Aug 22, 2011 9:21 AM

    pls findand i've given Full controle permissions to the folder.
    E:\oracle\product\10.2.0\db_1\assistants\dbca\logs>dir
    Volume in drive E has no label.
    Volume Serial Number is 2E26-8FE0
    Directory of E:\oracle\product\10.2.0\db_1\assistants\dbca\logs
    08/21/2011 11:40 AM <DIR> .
    08/21/2011 11:40 AM <DIR> ..
    0 File(s) 0 bytes
    2 Dir(s) 58,135,355,392 bytes free
    E:\oracle\product\10.2.0\db_1\assistants\dbca\logs>dir
    Volume in drive E has no label.
    Volume Serial Number is 2E26-8FE0
    Directory of E:\oracle\product\10.2.0\db_1\assistants\dbca\logs
    08/21/2011 11:40 AM <DIR> .
    08/21/2011 11:40 AM <DIR> ..
    0 File(s) 0 bytes
    2 Dir(s) 58,135,355,392 bytes free
    E:\oracle\product\10.2.0\db_1\assistants\dbca\logs>
    pls suggest me, thank you for your support.

  • Creating databases with dbca templates after upgrades and patches

    I have a 10.2.0.1 base release Oracle Home. Over time it has been upgraded to 10.2.0.3 and quarterly security patches have been applied. Now I want to create a new database using a dbca (database configuration assistant) template.
    During the 10.2.0.3 install did the templates also upgraded to include all the 10.2.0.3 stuff? Or are they still back at 10.2.0.1?
    What about the quarterly CPU patches? Do they need to be applied to the new db after it is created?
    Thanks,
    Rob

    I opened a Service Request. Here is the official answer from Oracle support.
    QUESTION
    =========
    After applying the latest CPU(JAN2008CPU) I have created a new database using DBCA's seed template (General). Do I need to run the catcpu
    .sql on the newly created database? Are the seed templates already updated with
    the CPU?
    ANSWER
    =======
    No, as these templates are not containing the Oracle binaries that is updated by the CPU.
    Please let me know if you need further assistance regarding this issue and I will be glad to assist you further.
    Otherwise please close this SR from MetaLink.
    Thanks!
    Greetings from Oracle,
    Oracle Support Services

  • Setting dpdump location during Oracle 11g DB creation with DBCA....

    I'm hoping someone can point me to an init parameter or environment variable I can set to change the default location of the Data Pump DATA_PUMP_DIR directory.
    I'm running Solaris 10 and KSH so I tried setting it as an environment... no luck.
    export ORACLE_SID=DXA1
    export ORACLE_BASE=/oracle/$ORACLE_SID
    export ORACLE_HOME=$ORACLE_BASE/112_64
    export DATA_PUMP_DIR=/oracle/DXA1/oratrace/dpdump
    dbca -silent -createDatabase -gdbName $ORACLE_SID -templateName /group/oracle/install/11201_General_Purpose.dbc -sysPassword test1234 -systemPassword test1234
    Copying database files
    1% complete
    Creating and starting Oracle instance
    40% complete
    62% complete
    Completing Database Creation
    66% complete
    100% complete
    Look at the log file "/oracle/DXA1/cfgtoollogs/dbca/DXA1/DXA1.log" for further details.
    SQL> select * from dba_directories where directory_name = 'DATA_PUMP_DIR';
    OWNER DIRECTORY_NAME DIRECTORY_PATH
    SYS DATA_PUMP_DIR /oracle/DXA1/admin/DXA1/dpdump/
    I'd prefer to set this up front so I don't have to re-configure it for each new database installation. It's not a big deal... I just want it where I want it :-)
    Thanks in advance!
    Regards,
    Rich

    Modify your template and add the following:
    --- etc ---
       <Variables/>
       <CustomScripts Execute="true">
          <CustomScript script="/oracle/scripts/chg_dpdump_dir.sh"/>
       </CustomScripts>
       <InitParamAttributes>
    --- etc ---Where "chg_dpdump_dir.sh" is your script to change the location of datapump dir:
    #!/usr/bin/ksh
    # +-------------------------------------------------
    # +
    # + chg_dpdump_dir.sh
    # +
    # + Change the Oracle datapump directory
    # +
    # +-------------------------------------------------
    export ORACLE_SID=DXA1
    export ORACLE_BASE=/oracle/$ORACLE_SID
    export ORACLE_HOME=$ORACLE_BASE/112_64
    export DATA_PUMP_DIR=/oracle/DXA1/oratrace/dpdump
    export SYSPWD='ThePasswordYouWillEnterInDbca'
    sqlplus -s /nolog <<EOF
    connect sys/$SYSPWD as sysdba
    Create Or Replace Directory Data_Pump_Dir As '$DATA_PUMP_DIR';
    exit
    EOF:p

  • Virtual desktop template creation with UR1 - two issues

    There are two new issues affecting Virtual Desktop template creation with WMS 2012 with UR1.
    Issue #1: Some systems fail to create a new or customized virtual desktop template with UR1 applied. UR1 includes an updated MultiPoint Connector which is compatible with a UR1 host. The Connector gets included in the Virtual Desktop template
    so that the virtual desktops can be managed by MultiPoint Dashboard. On some systems installation of the UR1 Connector will require a reboot that takes too long to complete and template creation will timeout.
    If you try to create a template without doing the following update to the unattend-t.xml file, and if the Connector reboot takes too long, the template creation process will never complete, appearing stuck at 80% until the timeout. If you check the running
    Virtual Machine Connection, you will see an error message that Windows could not complete the installation.
    To correct this:
    From MultiPoint Manager or Hyper-V Manager, shutdown the running template VM.
    Delete the template .vhd stored in Public Documents\Hyper-V\Virtual hard disks
     3. a) Make a backup copy of
    C:\Program Files\Windows MultiPoint Server\Unattend-t.xml
               e.g. rename it .bak
    b) open
    C:\Program Files\Windows MultiPoint Server\Unattend-t.xml in your favorite text editor.
    b) find “connector” in the file
    c) replace this string (starts with <Path> and ends with </Path>)
    <Path>powershell -Command &quot;try { $process = Start-Process -FilePath &apos;%Windir%\Temp\Connector\WmsConnector.Exe&apos; -ArgumentList &apos;/Quiet&apos; -PassThru -Wait; } catch { throw &apos;WmsConnector
    Install Failed&apos;}; exit $process.ExitCode&quot;</Path>
    with this string
    <Path>powershell -Command &quot;try {
    $p = Start-Process -FilePath &apos;%Windir%\Temp\Connector\WmsConnector.Exe&apos; -ArgumentList &apos;/Quiet
    /NoRestart&apos; -PassThru -Wait; } catch { throw &apos;WmsConnector Install Failed&apos;}; exit $p.ExitCode&quot;</Path>
    then save the file again as Unattend-t.xml  
    d) Proceed with Create and Customize virtual desktop template, and Create virtual desktop station as described on our blog at
    Virtual Desktop Templates – Part
    1 & Part 2
    We continue to investigate why this issue occurs on some machines and not others
    Issue #2: UR1 was intended to fix an issue creating virtual desktop templates on true UEFI systems, i.e. systems that don’t fall back to legacy support for earlier BIOS services. UR1 did not solve the issue. For now we are recommending
    doing template creation on systems that do fall back to legacy BIOS services. To check: from Device Manager under Disk Drives select your system hard drive. Double click and go to the Volumes tab and click Populate. The Partition Style entry should
    be Master Boot Record (MBR).  If it is GPT you have a UEFI system.
    We continue to investigate fixing this for UEFI systems.

    Any word on a UEFI fix?  My instructions on the other thread seem to work for me.
    Also, I imagine this won't be an issue on the next version of MultiPoint Server since the next Hyper-V in Server 2012 R2 now has those native UEFI VM's.  Have you guys played around with that yet?  Also, FWIW, I'm not sure why the pre-release docs
    mention that UEFI is only supported on Windows 8 VM's.  Why not x64 Windows 7 and Vista SP1 VM's?  I thought those already support full UEFI boot.  Is it because Hyper-V has mandatory restrictions to have Secure Boot turned on for UEFI VM's?

  • DBCA templates - PGA and SGA using "percentageMemTOSGA" parameter

    Hi all,
    I am trying to configure a DBCA template to perform silent database creations on servers at our client sites. The amount of RAM could vary from server to server. For this reason, I am specifying the following parameters:
    customSGA=false
    percentageMemTOSGA=70In principle, this works pretty well - my DB is created with a suitable value for SGA_TARGET based on the RAM available on the server. However, the value that it uses for PGA_AGGREGATE_TARGET is too small for our needs. From experience, we can get by with a smaller SGA, but we need a relatively large PGA.
    I have tried specifying the parameter "pga_aggregate_target" in the template (and thus trying to "override" the decision of DBCA) but DBCA ignores my "hard-coded" value for this and sets pga_aggregate_target according to (presumably) some calculation based on:
    - The amount of RAM available
    - The value of "percentageMemTOSGA"
    - Some "other" value which tells DBCA how to divide up the %age memory it will take between SGA and PGA
    So, my question is:
    Does anybody know how to effectively use both "percentageMemTOSGA", and:
    EITHER:
    * tell DBCA how to split the memory that it will use from RAM (in this case 70%) between pga_aggregate_target and sga_target (some parameter maybe like "percent_to_pga" and "percent_to_sga")
    OR (not as useful but better than no control):
    * specify explicitly a value (or percentage) for pga_aggregate_target, but leave the value of sga_target to be decided based on the percentageMemTOSGA
    I hope I've explained that well enough...
    Regards,
    Ados

    I've checked the help for dbca (I'm currently running from the command prompt in "silent" mode) and don't see anything about recording the creation - how would I do that? Or are you referring to using the GUI, creating a database, and then saving the template? If it's that, that's what I did first, then editing the template for my tests - I don't see the parameter(s) that I'm looking for in the template.Ados,
    I did the same what you did. Run dbca in GUI mode and generate template only now in template file I see there is a parameter to set these value. For your reference I am posting the content of that file:
    <?xml version = '1.0'?>
    <DatabaseTemplate name="orcl" description="" version="10.2.0.3.0">
    <CommonAttributes>
    <option name="ISEARCH" value="false"/>
    <option name="OMS" value="false"/>
    <option name="JSERVER" value="true"/>
    <option name="SPATIAL" value="true"/>
    <option name="ODM" value="true">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="IMEDIA" value="true"/>
    <option name="XDB_PROTOCOLS" value="true">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="ORACLE_TEXT" value="true">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="SAMPLE_SCHEMA" value="true"/>
    <option name="CWMLITE" value="true">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="EM_REPOSITORY" value="true">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="HTMLDB" value="false"/>
    </CommonAttributes>
    <Variables/>
    <CustomScripts Execute="false"/>
    <InitParamAttributes>
    <InitParams>
    *<initParam name="pga_aggregate_target" value="808" unit="MB"/>*
    <initParam name="processes" value="150"/>
    <initParam name="db_recovery_file_dest_size" value="1024" unit="MB"/>
    <initParam name="control_files" value="(&quot;{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/control01.ctl&quot;, &quot;{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/control02.ctl&quot;, &quot;{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/control03.ctl&quot;)"/>
    <initParam name="sga_target" value="1536" unit="MB"/>
    <initParam name="compatible" value="10.2.0.3.0"/>
    <initParam name="background_dump_dest" value="{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/bdump"/>
    <initParam name="job_queue_processes" value="10"/>
    <initParam name="db_name" value="orcl"/>
    <initParam name="user_dump_dest" value="{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/udump"/>
    <initParam name="dispatchers" value="(PROTOCOL=TCP) (SERVICE={SID}XDB)"/>
    <initParam name="audit_file_dest" value="{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/adump"/>
    <initParam name="db_domain" value=""/>
    <initParam name="open_cursors" value="300"/>
    <initParam name="db_block_size" value="8" unit="KB"/>
    <initParam name="db_recovery_file_dest" value="{ORACLE_BASE}/flash_recovery_area"/>
    <initParam name="undo_tablespace" value="UNDOTBS1"/>
    <initParam name="core_dump_dest" value="{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/cdump"/>
    <initParam name="remote_login_passwordfile" value="EXCLUSIVE"/>
    <initParam name="undo_management" value="AUTO"/>
    <initParam name="db_file_multiblock_read_count" value="16"/>
    </InitParams>
    <MiscParams>
    <databaseType>MULTIPURPOSE</databaseType>
    <maxUserConn>20</maxUserConn>
    <percentageMemTOSGA>40</percentageMemTOSGA>
    <customSGA>true</customSGA>
    <archiveLogMode>false</archiveLogMode>
    <initParamFileName>{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/pfile/init.ora</initParamFileName>
    </MiscParams>
    <SPfile useSPFile="true">{ORACLE_HOME}/dbs/spfile{SID}.ora</SPfile>
    </InitParamAttributes>
    <StorageAttributes>
    <DataFiles>
    <Location>{ORACLE_HOME}/assistants/dbca/templates/Seed_Database.dfb</Location>
    <SourceDBName>seeddata</SourceDBName>
    <Name id="1" Tablespace="SYSTEM" Contents="PERMANENT" Size="480" autoextend="true" blocksize="8192">{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/system01.dbf</Name>
    <Name id="2" Tablespace="UNDOTBS1" Contents="UNDO" Size="25" autoextend="true" blocksize="8192">{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/undotbs01.dbf</Name>
    <Name id="3" Tablespace="SYSAUX" Contents="PERMANENT" Size="240" autoextend="true" blocksize="8192">{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/sysaux01.dbf</Name>
    <Name id="4" Tablespace="USERS" Contents="PERMANENT" Size="5" autoextend="true" blocksize="8192">{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/users01.dbf</Name>
    </DataFiles>
    <TempFiles>
    <Name id="1" Tablespace="TEMP" Contents="TEMPORARY" Size="20">{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/temp01.dbf</Name>
    </TempFiles>
    <ControlfileAttributes id="Controlfile">
    <maxDatafiles>100</maxDatafiles>
    <maxLogfiles>16</maxLogfiles>
    <maxLogMembers>3</maxLogMembers>
    <maxLogHistory>1</maxLogHistory>
    <maxInstances>8</maxInstances>
    <image name="control01.ctl" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
    <image name="control02.ctl" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
    <image name="control03.ctl" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
    </ControlfileAttributes>
    <RedoLogGroupAttributes id="1">
    <reuse>false</reuse>
    <fileSize unit="KB">51200</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="redo01.log" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
    </RedoLogGroupAttributes>
    <RedoLogGroupAttributes id="2">
    <reuse>false</reuse>
    <fileSize unit="KB">51200</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="redo02.log" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
    </RedoLogGroupAttributes>
    <RedoLogGroupAttributes id="3">
    <reuse>false</reuse>
    <fileSize unit="KB">51200</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="redo03.log" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
    </RedoLogGroupAttributes>
    </StorageAttributes>
    </DatabaseTemplate>
    Regards.

  • ORA-19624 while creating a DB with dbca on Oracle 10.2.0.1 on Fedora Core 4

    Hi,
    I have big problems creating a database with the Database Configuration Assistant on Oracle 10.2.0.1, on a -     Fedora Core release 4 (Stentz).
    Running the dbca tool, I select the following options:
    - Create a Database
    - General Purpose
    - Then all defaults options
    And I get many errors.
    The first one is the following:
    ORA-19624: operation failed, retry possible
    ORA-19870: error reading backup piece /opt/app/oracle/product/10.2.0.1/assistants/dbca/templates/General_Purpose.dbc
    ORA-19505: failed to identify file "/opt/app/oracle/product/10.2.0.1/assistants/dbca/templates/General_Purpose.dbc"
    ORA-27046: file size is not a multiple of logical block size.
    Can someone help me solving this problem?
    What are the log files you need to solve it?
    Thank you very much.

    Is the file "General_Purpose.dbc" available under "/opt/app/oracle/product/10.2.0.1/assistants/dbca/templates/"?
    Could you post the directory listing?
    Also, can you check rights on above folder for oracle user?
    Finally check metalink document 370972.1

  • Event creation with status management

    Hello esteemed gurus ... it's your friendly workflow noob again
    It seems once people get a sniff that there is a someone who knows a bit about workflow in the company, everyone wants a piece of you!
    So... I have been asked to setup a workflow that will trigger when a user changes a user status on an SD contract. I've done some reading and I believe I'm nearly there but need a little help ...
    I have setup event creation with transaction BSVZ for object category VBK, specified my status profile, and business object BUS2034 and I'm using the event "CHANGED", within this I have set a status restriction to particular status of my user status profile.
    In my workflow definition I have specified the start event "CHANGED" for my business object BUS2034.
    The thing is, the workflow starts for every change to the contract, whereas I was expecting it to only start when the particular status I defined in my status management was set in the contract header.
    Are there any additional settings I need to make in order to restrict the starting conditions of the this workflow?
    Many thanks once again.
    Neil

    Hi Neil,
    There is two options to restrict the workflow.
    First one is start condition. You can check the workflow log. If your required field is populated in the Workflow container you can use start condition to restrict the workflow. In the Basic data of workflow template, Start condition is there. You can use the condition editor to set the condition.
    If your field is not populated by default, then you can use check function module for this. You need to create one FM, and in transaction swe2, the FM needs to be Configured. The concept is, based on the Sales document number you can get the required field and check the condition inside the FM. If the condition satisfied just leave it. The workflow will be triggered. If the condition is not satisfied raise a Exception. So that the Workflow will not be triggered.
    Thanks,
    Viji.

  • Best way to mix multiple songs with same template?

    From what I gathered, I know I can save a particualar session as a "user" template, that way I can mix another song retaining all the same EQ, comp... etc, as well as arrange layout. Is this the best way to accomplish what I aim for? I've finished one song, now i am using a song from the same recording session, (same mic placement, and track assignment). Now, I want to start fresh with another song, using different effects and such, but I'd like to keep the same basic EQ and such.......
    Let me know my Logic gifted friends!
    -Mike

    From the Manual 272:
    Channel Strip Settings Menu
    If you click on the word Insert on any channel strip, the Channel Strip Settings menu
    opens. This menu allows you to load and save the entire routing configuration of a
    single channel strip, including all loaded plug-ins and settings.
    The ability to save an entire routing configuration can be used in a number of ways,
    such as:
    • Setting up and storing complex multi-effect configurations—on any type of channel.
    • Similarly, the configuration of a particular routing configuration for use with multi-
    output software instruments.
    • Copying a routing or effect configuration between Projects.
    • The rapid creation of new Templates.
    The Channel Strip menu offers the following items:
    • Next/Previous Channel Strip Setting: Loads the next or previous Channel Strip
    Setting in the list.
    • Copy/Paste Channel Strip Setting: Allows to you to copy and paste Channel Strip
    Settings between channels or Projects.
    • Save Channel Strip Setting as: Saves the Channel Strip Setting, and allows you to
    name it.
    • Once you have created one or more Channel Strip Settings, a list of settings will be
    shown below the menu functions. The active Channel Strip Setting is denoted by a
    bullet.
    So it recalls all the inserts and settings in 1 convenient preset (as well as if the track is M or S) but where it is routed or sends info is not recalled - nor Pan or fader, though there is a gain plug.
    J

  • DBCA Template (.dbt) file SYNTAX?

    Hi!
    I am looking to customize a DBCA template file (.dbt) and have searched the 10G documentation and MetaLink with out success on how to do this. I am looking for the syntax / content of these files. Some examples would be great! I am especially interested in setting up my own variables for file locations, etc.
    Thanks in advance!
    Dave Venus

    Hi!
    Thanks for your help. Do you have a specific manual that would help? I can find descriptions of the templates that Oracle provides but nothing on the actual XML entries themselves and the values that can be entered, etc.
    I have looked at some information on response files but have yet to see how they are used to generate a template file.
    Thanks again for your time and help!
    Dave Venus

  • Dbca template migration between 10.2.0.1 and 10.2.0.3

    Hello Oracle experts,
    Question: Is there anyway I could upgrade my 10.2.0.1 dbca template to work with 10.2.0.3?
    Background:
    We have bunch of custom dbca seed templates created from 10.2.0.1, which allows rapid setup of database with per-defined data. Recently, the decision is to upgrade to 10.2.0.3.
    In 10.2.0.3, when trying to create database from 10.2.0.1 templates, dbca would always fail at 40%, and Oracle instance terminated with ORA-01092. The database is unable to open after restore. Metalink Doc. 556639.1 clearly suggested dbca templates between these two versions are incompatible.
    So is there any utility we could use to upgrade templates to new patchset? Otherwise the only alternative I could think of is create 10.2.0.1 database for each template, then upgrade to 10.2.0.3, and take another template. This is tons of work given the number of templates we have and their size.
    I truly appreciate any suggestion which would save me few weekends of work.
    Regards

    The difference is HUGE, thats more than 5 years of bugfixes.
    Fixes / enhancements which may cause a notable change in behaviour:
    Note:565424.1 CURSOR_SPACE_FOR_TIME Deprecated in 10.2.0.5 / 11.1.0.7 / 11.2.0.1
    10097176 Different date format in alert log of 10.2.0.5
    6459643 OS username (OS_USER) and hostname in audit records (or SYS_CONTEXT) are not consistent for database links
    6155146 Wrong results from query rewrite with pushed predicate
    6023472 Collection of changes to auditing
    Note:745407.1 Changes to DEFAULT roles
    6322324 OS audit trail should include length of attribute values
    6085625 Wrong child cursor may be executed which has mismatching bind information
    5483301 Cardinality of 1 when predicate value non-existent in frequency histogram
    5082178 Bind peeking may occur when it should not
    4954651 Wrong Results / Dumps from view with select list subquery 
    4279598 Change to default behaviour for keeping LDAP client connections open
    4871035 Disable "row shipping" by default in 10.2.0.2 onwards
    Regards
    Ed

  • 9iR2 database generating error with DBCA

    I am using WinXP Proffessional Edition and setting up Oracle 9iR2 Database Server Enterprise Edition with Software Only option(my previous trials always fail generating new database) When ever I am trying to generate a database with DBCA(Database Configuration Assistant), again it fails when "Creating and Starting Oracle instance", giving "CreateProcess: null -new -sid MYDB1 -startmode m error=2" and the error follows it "ora-12560: tns: protocol adapter error" and all operation fails...
    listener.ora content:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT =
    1521)))
    (ADDRESS_LIST =(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0)))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora92)
    (PROGRAM = extproc)
    sqlnet.ora content:
    NAMES.PREFERRED_SERVERS =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    Oracle services running during database creation
    -OracleMTSRecoveryService
    -OracleOraHome92Agent
    -OracleOraHome92HTTPServer
    -OracleOraHome92TNSListener
    Hey people, what would the solution be, how would I generate database without getting headache?

    Try this - create the new database with the name/SID of orcl and give it a try...

  • Problems when I try create a database with DBCA

    Hello,
    I have created a clonic template with the DBCA of one of my Databases.
    When I try create Database with the template the DBCA does not do anything.
    No error messages.
    My Oracle is 9i 9.2.0.6.
    Somebody can help me?

    Can you check the alert log/ trace file if you can see any error message there ??

  • 10g: Clone database with DBCA silent option

    Hello community,
    I have tried now for several times to make a clone of my existing database with DBCA and "-silent" option. I could improve my progress in cloning but now I always stick in the following error:
    But first, what I have done so far:
    1. Created a clone template of my Database with command:
    dbca -silent -createCloneTemplate -sourceSID DBORIGIN -templateName myTest.dbc -datafileJarLocation /tmp/oratest
    2. Create the clone-database by using the template from (1.) with command:
    dbca -silent -createDatabase -templateName myTest.dbc -cloneTemplate -gdbname DBCLONE -sid DBCLONE -datafileJarLocation /tmp/oratest -datafileDestination /oradata -responseFile NO_VALUE -characterset AL32UTF8
    Then the progress of execution is shown, it ends with a link to a log file. In this log file I can see the following contents:
    ==============================
    Copying database files
    DBCA_PROGRESS : 1%
    DBCA_PROGRESS : 3%
    DBCA_PROGRESS : 11%
    DBCA_PROGRESS : 18%
    DBCA_PROGRESS : 26%
    DBCA_PROGRESS : 33%
    DBCA_PROGRESS : 37%
    Creating and starting Oracle instance
    ORA-01503: CREATE CONTROLFILE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: '/oradata/DBCLONE/<OMF_CONTROL_0>'
    ORA-27040: file create error, unable to create file
    DBCA_PROGRESS : 38%
    ORA-00210: cannot open the specified control file
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4168
    ORA-06512: at line 1
    ORA-01507: database not mounted
    DBCA_PROGRESS : 40%
    DBCA_PROGRESS : 41%
    ORA-01503: CREATE CONTROLFILE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: '/oradata/DBCLONE/<OMF_CONTROL_0>'
    ORA-27040: file create error, unable to create file
    ORA-01507: database not mounted
    DBCA_PROGRESS : 46%
    DBCA_PROGRESS : 47%
    ORA-01219: database not open: queries allowed on fixed tables/views only
    ORA-01507: database not mounted
    DBCA_PROGRESS : 52%
    ORA-01219: database not open: queries allowed on fixed tables/views only
    ORA-01507: database not mounted
    DBCA_PROGRESS : 53%
    DBCA_PROGRESS : 58%
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'DBMS_DATAPUMP_UTL.REPLACE_DEFAULT_DIR' must be declared
    and so on
    =====================================================
    I have no idea where the "<OMF_CONTROL_0>" comes from. It is nowhere included in my myTest.dbc-file. In my eyes, it looks like that DBCA tries to create the file exactly with this filename - and this fails on Solaris, sure...
    Here is, what I have in my template file "myTest.dbc" regarding the control files:
    =======================
    <ControlfileAttributes id="Controlfile">
    <maxDatafiles>100</maxDatafiles>
    <maxLogfiles>16</maxLogfiles>
    <maxLogMembers>3</maxLogMembers>
    <maxLogHistory>1</maxLogHistory>
    <maxInstances>8</maxInstances>
    <image name="o1_mf_2k1zmdmp_.ctl" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
    <image name="o1_mf_2k1zmdvo_.ctl" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
    </ControlfileAttributes>
    ====================================
    To be honest, it is the first time that i try to use the DBCA with all these "special" options, especially the silent mode.
    Does anyone have an idea what is going wrong in my case described here? What do I or could I change to come to a success clone?
    Maybe, you can tell me where I can find some kind of "how to" for creating a clone using the silent-option.
    Thanks a lot in advance for helping a newbie! ;-)
    Regards
    FireFighter

    Hello,
    finally I was successful in installing the clone of my DB. :-)
    You remember that I had problems with the control files and these looked very strange:
    control_files=("/oradata/DBCLONE/<OMF_CONTROL_0>","/oradata/DBCLONE/<OMF_CONTROL_1>")
    The hint to check the permission in "/oradata" was a good one. The permissions were right all the time, but Oracle's DBCA was not able to create the sub-directory "DBCLONE". When I created it manually before installing the clone, the installation worked fine!
    I'm still wondering about this because all other subdirectories were created automatically during running "dbca" (e.g. all subdirectories "DBCLONE" needed below the $ORACLE_BASE/admin/-directory like adump,bdump and so on...).
    And i'm wondering about the names of the control files:
    I expected that these strange OMF-names would be replaced by a "normal" file name. But "dbca" was able to create the files exactly with the names "<OMF_CONTROL_0>" and "<OMF_CONTROL_0>"...
    As I had understood so far from OMF-concept, isn't the idea that Oracle takes care of file-naming instead of myself? I mean it can't be that I have to enter the template for DBCA and manually enter the control files names...
    I'm still close to the thought that it be a bug that isn't documented until now. Maybe, when I have some time left I will open a service request at metalink.
    If you are interested in this I will keep you informed on this topic. The other way round I stay interested in your opions and hints for using "dbca" to make and install a DB-clone.
    Thanks again for you effort to help me as a rookie in Oracle. :-)
    Regards
    FireFighter

  • Any different between the dbca templates

    i use dbca to create db on RAC, i see many different template file in $ORACLE_HOME/assistants/dbca/templates/
    like
    Data_Warehouse.dbc General_Purpose.dbc Seed_Database.dfb
    example01.dfb New_Database.dbt Transaction_Processing.dbc
    example.dmp Seed_Database.ctl
    i do not know .dfb ,.dmp , .ctl ,what 's these use for?

    859340 wrote:
    i use dbca to create db on RAC, i see many different template file in $ORACLE_HOME/assistants/dbca/templates/
    like
    Data_Warehouse.dbc General_Purpose.dbc Seed_Database.dfb
    example01.dfb New_Database.dbt Transaction_Processing.dbc
    example.dmp Seed_Database.ctl
    i do not know .dfb ,.dmp , .ctl ,what 's these use for?DBCA uses patterns, or otherwise called Templates, which create either a new database with existing patterns or a pattern itself based on an existing base. The following are the template files that DBCA can create:
    •.dbc - Database Clone (for a new database)
    •.dbt - Template Database (for an existing database)
    These templates, which are in the form of XML files, contain information about the database including database options, init.ora parameters, and storage attributes (datafiles, tablespaces, controlfiles and redologs).
    The demo templates such as Data_Warehouse.dbc, General_Purpose.dbc, Transaction_Processing.dbc, and New_Database.dbt are available at the following location:
    ORACLE_HOME/assistants/dbca/templates
    source:-http://download.oracle.com/docs/cd/B16240_01/doc/em.102/e14500/appdx_creating_db_templates.htm
    example.dmp -->It is a template for creating a Default Schema's with Data including the SYS
    refer:-Re: Issue extracting Oracle's example.dmp
    The datafiles for the seed database are stored in compressed RMAN backup format in a file with a .dfb extension. The seed database control file is stored in a file with .ctl extension. (This file is needed only when storing datafiles in Automatic Storage Management (ASM) disk groups or as Oracle managed files.) The .dbc file contains the location of the seed database datafiles and contains the source database name used to mount the control file.
    source:-http://download.oracle.com/docs/cd/B28359_01/server.111/b28301/install003.htm#BABEGFCG

Maybe you are looking for

  • Imac no longer sees Back up drive

    Hi there, Apologies if this topic has been covered already but I have been searching through related posts and have come to the conclusion that my back up hard drive is knackered. Can someone confirm this please? I am a photographer and keep all my i

  • Audigy Noise in Win XP

    Ever since I upgraded to XP Pro my I get extra noise when playing from any sound source, .WAV, MIDI file, mp3 or even a CD when is playing in the background. Noise usually happens on say moving a window or scolling i.e. just about all the time, proce

  • Weblogic as web server

    Is there any hints to get Weblogic up & running on port 80 as a web server? We have IIS working fine, but this is a development box that just needs to be viewed & doesn't need IIS. We're not using servlets either. Instead of pointing my client to htt

  • When I open iTunes the store won't connect.  It just keeps going as if it is trying to connect but never does.

    When I open iTunes it gets "stuck" trying to connect to the store. It just keeps trying and keeps trying. Can anyone help?

  • Clarification on packet data log

    I understand the Packet Data logs can remember upto last 30 days. What I don't understand is are they rotating logs or do they reset to zero every 30 days. To take an example: if I use exactly 1MB every day and my log setting is set to 30 days. After