Cloning a 10g Database using DBCA and templates

I have created a template from a 10G database (structure and data) and want to use this template and data to create a clone of the database on another server using the DBCA on the standby server. Where does DBCA ask for the names of the templates of my clone database? It seems to only have templates for its pre-existing databases (wharehouse, general purpose, custom, etc.).

Thanks. I figured this out on my own and seems work fine. My problem is I am connected over a Window network domain and the transfer speed is very slow. I finally had to kill the job and manually move the critical control, init, redo, and data files that DBCA missed. I also had to use the DBCA again to create the EM DBconsole server as well as copy over the, initPROD.ora file as well as the tnsnames.ora, listener.ora and sqlnet.ora files over to the $ORACLE_HOME/Network/Admin directory. SPFILE was create using create spfile command, I had to perform a recover database once in the initial startup of the database clone.
If I do this operation again I will move datafiles and DBCA template components from the server to a USB SCCI Drive connected locally to the source server then connect this remote disk to the target server rather than transfer files over a domain network.
Any other tips that anyone can over on cloning a database using DBCA in 10G please let me know any things to avoid, traps, bugs, best practices would be greatly appreciated.
RR.

Similar Messages

  • ORA-12547 tns lost contact while creating 11gr2 database using dbca

    Hi All,
    I am installing oracle 11gr2 rac on centos 4. Grid infrastrucure and oracle home is successfully installed.
    When i try to create database using dbca during that time i am getting an error that PRCR-1079: Failed to start resource ora.racdb.db
    ORA-12547: TNS lost contact.
    when i check the database on node 1, Its running fine.
    However its giving me an error on the second node.
    on Node 1
    [oracle@rac1 dbs]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 28 19:31:55 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL> select instance_name , host_name from v$instance;
    INSTANCE_NAME
    HOST_NAME
    racdb1
    rac1.oracle.com
    on node 2:
    [oracle@rac2 ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 28 19:33:05 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-12547: TNS:lost contact
    Enter user-name:
    I tried to installed to many a time but no luck.
    Please help me on this.
    Your assistance in this regards is much appreciated.
    Thanks in advance.

    Do you have a support.oracle.com User Account?
    If yes search there for TNS-12547 and you will get a huge list of possible root causes.
    Just to name a few (which you can check - also compare with your first node):
    Permission oracle executable
    Kernel Parameter
    Environment variables
    etc.etc.
    Regards
    Sebastian

  • Can use ASM only when creating database using dbca

    I have a problem. When i create a database using DBCA, i can only use ASM as the file sytem. why ?
    i just installed the 10gR2 with cluster and donno why i cannot use ocfs.
    Thanks.

    What were your reasons with going with OCFS rather than ASM?
    Thanks.

  • BLOB insertion in Oracle 10g database using ojdbc14 (10g drivers)

    Hello!
    I have a situation where I am trying to insert a blob data into oracle 10g database using oracle thin
    10g drivers, <b>ojdbc14.jar</b> in <b>weblogic 8.1 sp2</b>. I have the following error happening very intermittently.
    <u><b>java.sql.SQLException: OALL8 is in an inconsistent state.</b></u>
    And this is leading to the <u><b>"No more data to read from socket"</b></u> error when I am trying to
    insert the BLOB into the database. I have gone through the bug list of SP2 and have realised there is the
    following issue fixed in SP3.
    <b>CR124933</b>
    <b>An Oracle BLOB sometimes used a pooled connection after the connection pool determined that
    the connection was available for reassignment.
    Code was added to ensure the BLOB is completely processed before closing the pool connection or
    ending the transaction.</b>
    I believe the problem arises when we try to insert BLOB into database using a refreshed connection
    from the pool.We have upgraded weblogic 8.1 from SP2 to SP4 service pack inorder to come over the above problem.
    But this still continues to behave intermittently.
    We put ojdbc14.jar in our classpath and Weblogic startup classpath looks like the following :-
    WLS_CLASSPATH=${WLS_DOMAIN_DIR}/appslib/server.jar:$PRE_CLASSPATH:${WLS_WEBLOGIC_HOME}/server/lib/weblogic.jar:
    ${WLS_WEBLOGIC_HOME}/server/lib/ojdbc14.jar:${WLS_WEBLOGIC_HOME}/server/lib:${WLS_JAVA_HOME}/lib/tools.jar:
    ${WLS_JAVA_HOME}/jre/lib/rt.jar:${WLS_WEBLOGIC_HOME}/server/lib/webservices.jar:${WLS_CONFIG_DIR}:
    ${WLS_CUSTLIB_DIR}:${WLS_BIN_DIR}:$POST_CLASSPATH
    export WLS_CLASSPATH
    CLASSPATH=${WLS_CLASSPATH}:${APP_CLASSPATH}
    export CLASSPATH
    After upgrade to SP4, there are new ojdbc14_g.jar(debug jar) and orai18n.jar jars in the ${WLS_WEBLOGIC_HOME}/server/ext/jdbc/oracle/10g directory added.
    Please let me know if I need to update classpath with the new 10g jars in the ext/lib directory or any suggestions
    to insert BLOB using the ojdbc14 10G drivers, Weblogic 8.1 environment would be appreciated.
    Following is the stack trace of the errors that I recieve:
    <Oct 6, 2005 1:29:36 PM EDT> <Error> <JDBC> <BEA-001112> <Test "select count(*) from DUAL" set up for pool
    "MHUBPoolStage" failed with exception: "java.sql.SQLException: OALL8 is in an inconsistent state".>
    <Oct 6, 2005 1:29:36 PM EDT> <Info> <JDBC> <BEA-001128> <Connection for pool "MHUBPoolStage" closed.>
    <Oct 6, 2005 1:29:36 PM EDT> <Info> <JDBC> <BEA-001067> <Connection for pool "MHUBPoolStage" refreshed.>
    <Oct 6, 2005 1:29:36 PM EDT> <Info> <EJB> <BEA-010051>
    java.rmi.RemoteException: TransactionRequestManager.requestTransaction():
    Caught PersistnceException com.mortgagehub.busobj.PersistenceException: -5258: No more data to read from socket
    Please let me know if there is anything that I am missing.
    Thanks
    Pradeep G

    pradeep g wrote:
    Hello!
    I have a situation where I am trying to insert a blob data into oracle 10g database using oracle thin
    10g drivers, <b>ojdbc14.jar</b> in <b>weblogic 8.1 sp2</b>. I have the following error happening very intermittently.
    > <u><b>java.sql.SQLException: OALL8 is in an inconsistent state.</b></u>
    And this is leading to the <u><b>"No more data to read from socket"</b></u> error when I am trying to
    insert the BLOB into the database. I have gone through the bug list of SP2 and have realised there is the
    following issue fixed in SP3.
    > <b>CR124933</b>
    <b>An Oracle BLOB sometimes used a pooled connection after the connection pool determined that
    the connection was available for reassignment.
    Code was added to ensure the BLOB is completely processed before closing the pool connection or
    ending the transaction.</b>
    > I believe the problem arises when we try to insert BLOB into database using a refreshed connection
    from the pool.We have upgraded weblogic 8.1 from SP2 to SP4 service pack inorder to come over the above problem.
    But this still continues to behave intermittently.
    We put ojdbc14.jar in our classpath and Weblogic startup classpath looks like the following :-
    > WLS_CLASSPATH=${WLS_DOMAIN_DIR}/appslib/server.jar:$PRE_CLASSPATH:${WLS_WEBLOGIC_HOME}/server/lib/weblogic.jar:
    ${WLS_WEBLOGIC_HOME}/server/lib/ojdbc14.jar:${WLS_WEBLOGIC_HOME}/server/lib:${WLS_JAVA_HOME}/lib/tools.jar:
    ${WLS_JAVA_HOME}/jre/lib/rt.jar:${WLS_WEBLOGIC_HOME}/server/lib/webservices.jar:${WLS_CONFIG_DIR}:
    ${WLS_CUSTLIB_DIR}:${WLS_BIN_DIR}:$POST_CLASSPATH
    export WLS_CLASSPATH
    CLASSPATH=${WLS_CLASSPATH}:${APP_CLASSPATH}
    export CLASSPATH
    > After upgrade to SP4, there are new ojdbc14_g.jar(debug jar) and orai18n.jar jars in the ${WLS_WEBLOGIC_HOME}/server/ext/jdbc/oracle/10g directory added.
    > Please let me know if I need to update classpath with the new 10g jars in the ext/lib directory or any suggestions
    to insert BLOB using the ojdbc14 10G drivers, Weblogic 8.1 environment would be appreciated.
    > Following is the stack trace of the errors that I recieve:
    > <Oct 6, 2005 1:29:36 PM EDT> <Error> <JDBC> <BEA-001112> <Test "select count(*) from DUAL" set up for pool
    "MHUBPoolStage" failed with exception: "java.sql.SQLException: OALL8 is in an inconsistent state".>
    <Oct 6, 2005 1:29:36 PM EDT> <Info> <JDBC> <BEA-001128> <Connection for pool "MHUBPoolStage" closed.>
    <Oct 6, 2005 1:29:36 PM EDT> <Info> <JDBC> <BEA-001067> <Connection for pool "MHUBPoolStage" refreshed.>
    <Oct 6, 2005 1:29:36 PM EDT> <Info> <EJB> <BEA-010051>
    java.rmi.RemoteException: TransactionRequestManager.requestTransaction():
    Caught PersistnceException com.mortgagehub.busobj.PersistenceException: -5258: No more data to read from socket
    Please let me know if there is anything that I am missing.
    > Thanks
    > Pradeep GHi. This is something we'd like to diagnose. How is your application
    getting using and closing pool connections? The initial symptom
    seems to be an internal oracle problem... Are you using standard
    JDBC or oracle-specific calls?
    Joe

  • How to use dbca and netca

    hi
    everyone , I have just installed the software of oracle on RHEL4U4,but when I click ok .and wanted to configure a new database . (using dbca) ,I met an error ,just as follows
    [oracle@LinuxOracle install]$ dbca
    bash: dbca: command not found
    so I looked up in the the documents B19306 , it says that:
    "If you chose an installation type that runs Database Configuration Assistant and Oracle Net Configuration Assistant (NetCA) in interactive mode, you must provide detailed information about configuring the database and network.
    If you need assistance when using the Database Configuration Assistant or NetCA in interactive mode, then click Help on the screen.
    Note:
    If you chose a default installation, the Database Configuration Assistant and NetCA run in noninteractive mode."
    It's appear to be not well configured .
    so how to configure ,or any other solutions to solve this problem .
    many thanks .
    best
    carl

    Are you sure you did setup of Oracle enviroment?
    Execute following command:
    echo $ORACLE_HOMEIf there is no output then your enviroment is not set.
    In that case edit /home/oracle/.bash_profile and add following lines:
    ORACLE_BASE=<oracle base path>
    ORACLE_HOME=$ORACLE_BASE/<oracle home directory>
    ORACLE_SID=<oracle SID>
    LD_LIBRARY_PATH=$ORACLE_HOME/lib
    PATH=$PATH:$ORACLE_HOME/bin
    export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATHSave the file and execute following command:
    . /home/oracle/.bash_profileNow try to execute dbca.

  • 9.0.1 create database using dbca fails

    Solaris 8, 64-bit SPARC, 528mb RAM, 2 SCSI 9gig. Development box with no other users/processes running except Sendmail.
    Installed Oracle 9.0.1 on machine from CDs with no problems, Attempting to create database using Database Configuration Assistant.
    Creating 'general purpose' database using dbca with generally default parameters. Progress bar gets to 50% done, "creating & starting instance" is checked in progress window.
    CPU utilization goes to 100% and nothing happens for hours. Eventually have to cancel dbca. No control files or init.ora created, (pfile directory is empty) there are a bunch of oracle processes left running which have to be killed.
    I've tried this several times, moved stuff to different drives and/or filesystems, no luck. Have 5 gig available on /u01 where the database should install, and 8 gig available on /u02 where the .dbf's go.
    If I had any hair left, I'd pull it out. Any help would be greatly appreciated.
    Thanks in advance!

    I am getting this same problem: The DBCA gets to the point where it is installing the database and starting the instance (it says 51% of the way through), and then it just sits there doing nothing. I noticed when I installed Oracle (9.2.0) when it got to the point of the configuration assistants, there was mention of a listener not being able to start and the installer assuming it was already started (the listener that is). When the DBCA started right after, it stalled out at 51%.
    I aleady had the Sun JDK installed, but am assuming this is not the issue since the install got that far. Can someone please advise a course of action so that I can trouble shoot this? I am very very new to this side of Oracle. Any assistance is greatly appreciated and will be passed along to others in turn.
    Thanks,
    BillR

  • How to create general purpose database using dbca

    Hi,
    I have installed oracle 10g on AIX .
    and now i have to create a database/instance for the firsttime whch must to be general using dbca.
    I want to create database silently. could any one please tell me the command to create a database silently

    Hello,
    So as to do a completely silent installation you may use a responsefile as follow:
    $ORACLE_HOME/bin/dbca -silent -cloneTemplate *<General Purpose option>* -datafileDestination */datafilepath* -responseFile */local_dir/dbca.rsp*Where dbca.rsp is a response file template that you may edit so as to supply administrative password,...
    Else, about the reason why your command got stuck. You may check the exact options with the statement below:
    dbca -hIt may change from one release to another.
    Hope this help.
    Best regards,
    Jean-Valentin

  • How to change COMPATIBLE parameter while creating the database using DBCA

    I have installed 10.2.01.0 on centos 4.7
    Now i want to create database with COMAPTIBLE parameter 9.2.0.1
    I m trying to create database through DBCA, changed the initialization parameter COMAPTIBLE to 9.2.0.1.
    But gives me error
    ORA-19583: conversation termintated to error
    ORA-19870: error reading backup peice /opt/oracle/assistants/dbca/templates/Seed_Database.dfb
    ORA-00600: internal error code,arguments: [krbrckhr_compressed],[opt/oracle/assistants/dbca/templates/Seed_Database.dfb],[29],[30],[11420],[],[],[]
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 5149
    ORA-06512: at line 16
    if i dont change the value of COMPATIBLE parameter then its running perfactly...
    But i have to set compatible parameter as 9.2.0.1....
    Can anybody tell me how to create database using 10g R2- 10.2.0.1.0 with compatible parameter 9.2.0.1

    Thank you for your response.
    I have tried that opting.
    After creating the database with COMAPTIBLE parameter 10.2.0.1.0 changed that parameter in init.ora file to 9.2.0 and start the database.
    But at that time getting
    ORA-00201: contorl file version 10.2.01.0 incompatible with ORACLE version 9.2.0.0
    ORA-00202: control file '/opt/oracle/oradata/ORCL/control01.ctl'

  • Creating database using DBCA stuck at 85% for about 7minutes~

    when i create DB using DBCA , it stuck in 85% for a long time ,and the a waring appears
    it says :
    EM configuration failed due to the following error
    -error starting database control
    refer to the log file at emConfig.log for more details
    so i checked the log file,and i find this:
    Mar 10, 2009 5:02:50 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /u01/app/oracle/oracle/product/10.2.0/db_1/bin/emctl start dbconsole
    Mar 10, 2009 5:09:56 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 1
    Mar 10, 2009 5:09:56 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://myoracle.localhost.com:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ............................................................................
    ................. failed.
    starting emctl dbconsole takes about 7 minutes. and it still failed
    some guy say it might a bug ,and can fix it using a patch.
    in order to use the patch wizard ,i must login to the em. but i cant open it. and also , i dont have metalink account.
    also ,there is another error , when i use emctl start dbconsole ,
    it says an instance fo oem 10g Database Control is already running
    then i use emctl status dbconsole
    but it says EM daemon is not running .
    my os is RHEL 5.3
    and oracle version is Oracle Database 10g Release 2 (10.2.0.1.0) for Linux x86
    so i was totally confused....
    so ~ if possible give me a reply~ really appreciate~

    hello,
    You can just create database without EM dbconsole and later you can create EM repository manually. Now if you have already configured it and you don't want to repeat the process then you can do this
    To Create
    $ emca -config dbcontrol db -repos create
    To drop
    $ emca -deconfig dbcontrol db -repos drop
    To recreate
    $ emca -config dbcontrol db -repos recreateRegards
    Edited by: OrionNet on Mar 12, 2009 9:48 AM

  • 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

  • Error while creating database using DBCA

    Hi,
    I installed Oracle10gR2 on my windows machine.Now am creating a database with dbca but just after i click the finish button it gives me the error -
    Cannot create directory "F:\oracle\cfgtoollogs\dbca\ora10g" where F:\oracle is the directory where i have installed Oracle 10g and ora10g is the database name.
    I have full permission on the folders.Can anyone please let me know what is the problem here.
    Regards,
    Somd

    Hi OrionNet,
    At last i could create the database successfully.But these are the issues I faced and am listing down the solution so that it can help others too.
    1.I could not find the Administrative Tools-> Local security Policy --> Local Policies --> User Right Assignment in the Windows Vista Home Premium.I went and checked many blogs and forums on where is it located.It seems it is not included in the home premium and people are having a tough time working out the round abouts.
    2.The problem was that my UAC (User Account Control) in the Windows Security Center was turned on which was not allowing me to create the database.I turned it off,and it created the db smoothly.
    Thanks a lot for your help..I really appreciate it :)
    Regards,
    Somd

  • 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

  • Cloning a 10G database

    I have a database we created on Windows 2003 Server Oracle 10.2.0.3.
    I want to create a clone or copy this instance to another server with the same sid name if possible. What is the best way to do this? I have a full backup of the source database using RMAN. I understand there is a way to clone the database using the DBCU. I would like to avoid having to go through all the steps I went through creating the existing 10G database: install, patch, create database, tablespsaces, accounts, roles, import data, tune/configure.
    I assume I will have to install the 10G product and patch to 10.2.0.3 but that's not an iusse. Once I have the 10.2 product installed on the new host server what is the best way to copy my existing 10G database over to that new host??

    Is it possible to use a full system backup of the server using a backup created by the WIndows OS and restore this backup to the new server assuming the OS is the same? May have to make network setting adjustments but this may be the easiest solutions and I remeber some shops create clone database servers this way.

  • Problem while creating database using dbca

    Hi all,
    I am getting following error when I try to create a database (fresh installation) using dbca on linux ES4, oracle 10.2.0.1 (Rev2). Any help much appreciated.
    ORA-19624: operation failed, retry possible,
    ORA-19870: error reading backup piece /u01/app/product/10.2.0/db_1/assistants/dbca/templates/Seed_Database_8k.dbf
    ORA-19505: failed to identify file /u01/app/product/10.2.0/db_1/assistants/dbca/templates/Seed_Database_8k.dbf
    ORA-27037: unable to obtain file staus.
    Thanks,

    Hi,
    You saw if this file /u01/app/product/10.2.0/db_1/assistants/dbca/templates/Seed_Database_8k.dbf exists ?
    See if this link help you:
    database 10gR2 configuration assistant error
    Cheers

  • Get "Creation Script" of the existing table ( in SQL database) using C# and without using SMO dlls

    Hi All,
    I need to get the "Creation Script" of the existing table using c# and without using SMO dlls (is it possible? I don't know).
    I.e. In SQL Management Studio -> right click on any table -> Script table as -> Create To  - > open in the new query editor window. This will give you the schema of the table with the constraints of the table.
    For E.g. In Northwind database, for the table "Categories", I would like to get it as show below
    USE [Northwind]
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[Categories](
        [CategoryID] [int] IDENTITY(1,1) NOT NULL,
        [CategoryName] [nvarchar](15) NOT NULL,
        [Description] [ntext] NULL,
        [Picture] [image] NULL,
     CONSTRAINT [PK_Categories] PRIMARY KEY CLUSTERED
        [CategoryID] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    GO
    I would like to get the same schema using c#. Please help.
    Thanks & Regards,
    Kalai.

    SMO is the easiest way to get this. This is what Management Studio uses. If you can't use SMO, get a Profiler trace of the queries that SMO executes when generating the script and execute the same using ADO.NET.
    Regards,
    Farooq Mahmud
    Support Escalation Engineer 
    •  Microsoft Health Solutions Group

Maybe you are looking for

  • Not working at all - nothing I can do! Blank screen, won't charge, won't connect, can't reset!

    Iphone 4 will not charge or turn on, the lock button is broken so I cannot reset and I have tried connecting it to iTunes, just getting a blank screen.

  • Advice on external back up drive

    Hi, I've just purchased an external LaCie 500GB quadra HD to back up my internal drives (40GB and 120GB both partitioned in half with OS9 and OSX) and just wanted some advice as to how I should set up the external drive and what would be the best sof

  • Photo diaplay in Infotype 0002

    Dear Gurus, We have stored the photos in DMS. Now the user wants to dispaly the photo info type 0002 or in TCode PA20. I got many documents which talks about the archive link. But I am not sure about linking photo stored in DMS with IT0002. Thanks fo

  • Workspace URL without port number?

    Hello, Is there a way to config the Workspace URL to not use the port number for LCES with Webpshere 6.1 environment (e.g." http://localhost:/workspace/" instead of "http://localhost:9080/workspace/") due to the firewall configuration? Thanks, Han Da

  • How can I get adobe reader to recognize new nook device

    How can I get my adobe reader to recognize my new nook glowlight reader so I can download library books?  I already have adobe reader installed.