How to Edit an Existing Oracle Database 11g Template

I fat fingered a file specification in an Oracle 11g database creation template on Solaris 10. Is there a way to edit the template without deleting it and starting over?
Also, is there a way to import an existing template into a different $ORACLE_HOME?

Actually, I have both in mine, but the .dbt files I have are the ones that I saved (at the end of using the dbca when it ask you to save your template and give it a file name). I think the .dbt stands for database template.
e.g., (this is Oracle 11.1)
$ <none> /oracle/product/11.1/assistants/dbca/templates>ls -lastr
total 205948
  12 -rw-r--r--    1 oracle   dba           11653 Jun 21 2007  New_Database.dbt
   8 -rw-r--r--    1 oracle   dba            5286 Sep 26 2008  Data_Warehouse.dbc
   8 -rw-r--r--    1 oracle   dba            5166 Sep 26 2008  General_Purpose.dbc
183860 -rwxr-xr-x    1 oracle   dba       188268544 Oct 03 2008  Seed_Database.dfb*
1128 -rwxr-xr-x    1 oracle   dba         1155072 Oct 04 2008  example.dmp*
20728 -rwxr-xr-x    1 oracle   dba        21225472 Oct 04 2008  example01.dfb*
   0 drwxr-xr-x    6 oracle   dba             256 Jul 23 15:48 ../
  20 -rw-r-----    1 oracle   dba           17237 Aug 19 14:40 psprod.dbt
  20 -rw-r-----    1 oracle   dba           17339 Sep 24 09:52 pspay.dbt
  20 -rw-r-----    1 oracle   dba           17338 Oct 26 15:52 psben.dbt
  20 -rw-r-----    1 oracle   dba           17251 Oct 27 09:21 pscmp.dbt
  20 -rw-r-----    1 oracle   dba           17232 Oct 27 13:07 psrec.dbt
  20 -rw-r-----    1 oracle   dba           17232 Oct 27 16:12 psdev.dbt
  20 -rw-r-----    1 oracle   dba           17251 Oct 28 09:48 psdmo.dbt
  20 -rw-r-----    1 oracle   dba           17232 Oct 28 20:31 pssrc.dbt
   4 drwxr-xr-x    2 oracle   dba            4096 Oct 28 20:31 ./
  20 -rw-r-----    1 oracle   dba           17239 Apr 11 2026  pssrc_20090908.dbt
  20 -rw-r-----    1 oracle   dba           17242 Apr 11 2026  pstst_20090908.dbt

Similar Messages

  • How to enable autoconfig for Oracle database 11g?

    Hi,
    I have a Oracle 11g database installed using runInstaller, and now I want to enable autoconfig feature in this database.
    Is it possible to do that?
    Please suggest me..
    Thanks,
    Prasad

    I do not believe you can run autoconfig for database server. Oracle apps database are configured with some specific table which are used by these adcfg pre clone scripts to store some information but you do will nto find these tables in normal databases. This is the reason I believe you cannot run autoconig on normal databases.
    You might be able to do something similar to autoconfig if you show some creativity by tweaking the scripts and creating the tables  but why to go this difficult route. You can instead create and automate script for duplicating database using RMAN.
    http://www.oracle-base.com/articles/11g/duplicate-database-using-rman-11gr2.php

  • Oracle Database 11g XE

    Exists Oracle Database 11g Express Edition?

    Given that the 11g download is 1.7 Gb (as opposed to
    the 2-CD size downloads for 10gR2), maybe the 'XE'
    download size is worth discussing.
    The impact on download size was remarked on as one of
    the reasons for leaving the JVM out of XE (and this
    is pretty much the only bit of functionality
    available in Standard Edition that isn't in XE).
    If the download size for an 11g XE would be bigger
    anyway, I'd be happier to have the JVM included.Since Oracle's JVM is a loadable add-on, I would be more than happy to see
    - XE base install (basically as it stands right now)
    - JVM & core packages as a separate download and install.
    After all, the steps to add JVM to database are described http://download.oracle.com/docs/cd/B19306_01/java.102/b14187/chfour.htm#BABCFGAB

  • How to install oracle database 11g express edition on Windows 7

    Hi Guys,
    i am trying to download and install Oracle database 11g express edition on windows7 and i can't seem to get it right. i did get the download but when i try to install, it keeps saying it appears to be an invalid archive.
    Please help..

    Action - Refer to the logs or contact OracleFinding the problem is the key. "Refer to the logs" is the only option, XE has no oracle support offerings.
    Which plugin failed, and why did it fail will be important clues. There should be error messages in the log that will be helpful.
    Otherwise, we don't have much help to offer. Fixing a problem means identifying the problem and performing steps to correct it, if there a fix is available.
    A MOS lookup on the ins-20802 error has snippets from one installer session, this one is from an x64 install. Not x86. To paraphrase the details:
    ... Created a new file <drive>:<OH path>\cfgtoollogs\configToolAllCommands
    SEVERE: java.io.IOException: Access is denied
    ...So from those symptoms, the user trying to run the installer does not have appropriate rights on that drive and/or folder. The fix for that particular problem is adding the user to the local administrators group. And rerunning the install. After running the deinstall steps to clean up the installation. As specified in the XE install guide for Windows.
    http://docs.oracle.com/cd/E17781_01/install.112/e18803/toc.htm
    Also note the System Requirements, it specifies a System architecture Intel x86, which is not X64. There is no X64 installer for XE on Windows. So it might work. Or it might not if your host is x64.
    So if that is your particular error, verify that your user is in the local admins group. Either use the local users and groups applet (Start/Run/lusrmgr.msc) and open up the Administrators group. Click the Add button. Find your user. If your OS user is a windows domain user, be sure you have authenticated to the domain.
    Try the `net ...` list of the adminis group, that should reveal whom is indeed in the local administrators group:
    net localgroup administrators
    Administrator
    <domain>\Domain Admins ... # ??? is the host in windows domain ???
    <domain>\Local Admins
    <domain>\<user1>
    <user2>
    <user3>
    echo %USERNAME%
    # if relevant:
    echo %USERDOMAIN%Like it also states in the Windows install guide, under Permission Required quote:
    ... must be a member of the Administrators group on Windows to install Oracle Database XE.

  • How to download oracle database 11g in macbook pro

    how to download oracle database 11g in macbook pro

    When i download oracle database 11g using any other download manager it always fail the download and displays the error " Certificate verification error for profile.oracle.com:,Unable to establish SSL connection ,plz tell me which download manager i used for downloading oracle database 11g
    Edited by: user10501953 on Dec 5, 2009 12:50 AM

  • Using php to connect to Oracle Database 11g Release 2 Enterprise Edition

    Greetings everyone!
    Please i dont know how to connect to Oracle Database 11g Release 2 Enterprise Edition with php even though i connected with php successfully with Oracle Database 11g Express Edition with the php code below. can someone help please...
    define('ORA_CON_UN', 'hr'); // User name
    define('ORA_CON_PW', 'Adlibs14$'); // Password
    define('ORA_CON_DB', '//localhost/XE'); // Connection identifier
    // use constants defined in anyco_cn.inc
    $conn = oci_pconnect(ORA_CON_UN, ORA_CON_PW, ORA_CON_DB);
    if (!$conn) {
    db_error(null, __FILE__, __LINE__);
    Edited by: user11273096 on Jul 14, 2011 3:41 PM

    Note that this forum is for XE Beta, not EE.
    Can you connect from some other client tool, such as sqlplus?
    There's a {forum:id=178} forum that may be more suitable, if basic connectivity outside php works (i.e. issue is only php specific).

  • Using php to connect to Oracle Database 11g Release 2 Enterprise Edition EE

    Greetings everyone!
    Please i dont know how to connect to Oracle Database 11g Release 2 Enterprise Edition with php even though i connected with php successfully with Oracle Database 11g Express Edition with the php code below. can someone help please...Note im referring to oracle EE not XE.
    define('ORA_CON_UN', 'hr'); // User name
    define('ORA_CON_PW', 'Adlibs14$'); // Password
    define('ORA_CON_DB', '//localhost/EE'); // Connection identifier
    // use constants defined in anyco_cn.inc
    $conn = oci_pconnect(ORA_CON_UN, ORA_CON_PW, ORA_CON_DB);
    if (!$conn) {
    db_error(null, __FILE__, __LINE__);
    Edited by: user11273096 on Jul 15, 2011 12:03 AM

    Find the hostname and service name of the database and use those values in the ORA_CON_DB constant.
    Use 'lsnrctl status' on the database host to find the service name.
    If you use a "tns" alias, you may need to create a tnsnames.ora file where PHP can access it.
    Set the environment variable TNS_ADMIN (on Linux) to the directory containing the file.
    See the section "Oracle Database Name Connection Identifiers" p 102 of the free book
    http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html

  • Error while opening Oracle Database 11g Express Edition after installation.

    After finishing the installation of Oracle database 11g Express Edition, when I tried to open it, it shows following error : windows cannot find `http://127.0.0.1:%HTTPPORT%/apex/f?p=4950`.Make sure you typed the name coorectly, and then try again.
    What the above error means? I followed the installation steps as given in the link.

    Hi,
    Follow thread may help you.
    <<Newbie on running Oracle 11g - Windows cannot find http:something
    Regards,

  • Oracle Database 11g Express Edition (11.2) Beta is now available!

    [url http://forums.oracle.com/forums/forum.jspa?forumID=1378]Forum Home » Database » Oracle Database 11g Express Edition Beta ばかりじゃなんなので、
    Forum Home » コミュニティ » OTNカフェ に [url http://forums.oracle.com/forums/thread.jspa?threadID=2201589]Thread: Oracle Database 11g Express Edition (11.2) Beta is now available! を作ったのですが、この Japanese Discussion Forums にも、めでたく この [url http://forums.oracle.com/forums/forum.jspa?forumID=1380]Forum Home » データベース » Oracle Database 11g Express Edition Beta ができましたので、OTNカフェの Thread をこの Threadへ引越しました。
    既に OTN Japan の [url http://www.oracle.com/technetwork/jp/database/express-edition/overview/index.html]Oracle Technology Network > Database Database > Express Edition > Overview にも載っていますが、[url  http://www.oracle.com/technetwork/database/express-edition/11gxe-beta-download-302519.html]http://www.oracle.com/technetwork/database/express-edition/11gxe-beta-download-302519.html から " Oracle Database 11g Express Edition Release 11.2.0.2.0 - Beta "がダウンロードできます。
    [url http://forums.oracle.com/forums/forum.jspa?forumID=1378]Forum Home » Database » Oracle Database 11g Express Edition Beta を見てみたり、コメントしてフィードバックするのを楽しんでます。
    【補足】
    現行リリース Oracle Database 10g Express Edition ( 俗称 Oracle Database XE や Oracle XE や OracleXE )関連 Oracle Technology Network (OTN) Japan - 掲示板 » コミュニティ » OTNカフェ のスレッドなど :
    [url http://otn.oracle.co.jp/forum/thread.jspa?threadID=5001436]Oracle 10g Express Editionに興味深々
    [url http://otn.oracle.co.jp/forum/thread.jspa?threadID=5001550]Oracle Database 10g Express Edition Beta 3
    [url http://otn.oracle.co.jp/forum/thread.jspa?threadID=35004868]OracleXEに関する座談会
    "Project XE" (Oracle Database XE in Japan) - S/N Ratio (by SATO Naoki) [url http://d.hatena.ne.jp/satonaoki/20081202/p1]http://d.hatena.ne.jp/satonaoki/20081202/p1
    Edited by: wmo6hash on Apr 24, 2011 3:45 AM Blogosphere は別の Message へ

    そうですね。Oracle Database 11g Express Edition BetaフォーラムなのでBetaのことだけ書いていました。

  • How to connect Java to oracle Database Express Edition?

    Anyone can help me?
    How to connect JAVA TO ORACLE DATABASE EXPRESS EDITION?

    I suggest you to read this article:
    http://wiki.oracle.com/page/JDBC
    Regards,
    Ricky

  • Problem in installing oracle database 11g express edition

    while installing oracle database 11g express edition during product specific prerequisite check, checking for oracle XE service instance is failed, what to do ?

    Hello, and welcome to the OTN forums,
    the prerequisites are documented quite well. I'm not sure about the actual error message, but from what you write it sounds like you already have another Oracle XE install on your machine, possible the Oracle 10g XE. As mentioned in the Installation Guide, you may have only one instance per server, so the installer fails.
    If that's not the reason, can you please post the exact error message you receive?
    -Udo

  • VSS for Oracle Database 11g Express Edition?

    I use Veeam to backup our servers.
    I have a Windows 2003 R2 Std edition. On it we have Oracle Database 11g Express Edition (upgraded from 10g).
    I would like to enable application-aware image processing (VSS)
    I do not have the Oracle VSS Writer Service installed, and the oravssw.exe is not in the oracle folder.
    1. Does Oracle Database 11g Express Edition support/include Oracle VSS Writer?
    2. If I get the oravssw.exe from another (not express) oracle database, can I copy it and use it on my 11g Express Edition to create the Oracle VSS Writer?
    Thanks in advance

    909351 wrote:
    Thanks. So I guess I will have to use 10g XE on my 32 bit Linux
    Its interesting 10g XE was for 64 bit and 11g XE is for 32 bit.The other way around. 10.2 is 32-bit and 11.2 is 64-bit. Seems like a logical or natural progression (haven't seen a 32-bit machine for some years now).

  • Oracle Database 11g Express Editionへの接続について

    Oracle Database 11g Express Editionを自PCにインストールし、SQLPLUS等の接続
    まで確認する事ができました。
    その後、VB2008で開発を行っている事から、VB2008で接続しようと考えていますが、
    どのような接続方法が最適なのでしょうか???
    当然、最終的にはクライアント/サーバ型にしたいと考えている為、クライアントからの接続
    も想定しています。
    ODBCは避けたく、他に方法を探していたところ、ODP.NETで接続できると記載が
    あった為、同自PCにインストールし、接続を行おうと記述したところ下記のようなエラー
    となってしまいます。
    《記述内容》
     'Connectionオブジェクトの生成
     Dim cnn As New OracleConnection
     Dim Command As OracleCommand
    'Oracleへのコネクションの確立
    cnn.ConnectionString = _
    "User Id=ABCD; Password=000000; Data Source=XE"
    cnn.Open()
    Command = cnn.CreateCommand
    'SQL初期化
    Command.CommandText = ""
    'データリーダーにデータ取得
    Command.CommandText = "SELECT COUNT(*) FROM T_東京"
    《エラー内容》
     ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    ”tnsping XE”は確認しており、問題なくとおります。
    そもそも私の考え方が間違っていて、ODP.NETは使用できない???
    記述の方法が間違っている???
    初歩的な質問で申し訳ありませんが、教えて頂きたいと思います。
    よろしくお願いします。

    .netアプリを作成しているならばODP.netでの接続がベストだと思います。
    ORA-12154が発生するのは参照しようとしているtnsnames.oraの中に"XE"という接続定義が見つからないためと思われます。
    tnspingでは問題なく疎通できる+ODP.netを追加インストールしたとのことから
    odp.netをインストールしたORACLE_HOME配下のtnsnames.oraにXEという定義がないのだと思います。
    (XEのORACLE_HOME配下のtnsnames.oraにのみXEの定義がされている)
    ちなみに、tnsnames.oraは以下にあります。
    %ORACLE_HOME%\NETWORK\admin\tnsnames.ora
    そもそも私の考え方が間違っていて、ODP.NETは使用できない???
    ORA-12154が発生するところまで進んでいるのでODP.net自体は使用できています。
    ODP.net自体が使用できない状態だと OracleConnectionオブジェクトの生成の時点でエラーになるはずなので。
    あと、tnsnames.oraを参照しないで接続できる簡易接続ネーミングという記載方法もあります。
    例)
    Data Source=localhost:1521/XE
    参考
    http://www.doppo1.net/oracle/beginner/network_connect_2.html

  • How to mail pdf file from oracle database 11g

    Hi,
    Using following code to send pdf file from oracle database.
    DECLARE
    v_From VARCHAR2(80) := '[email protected]';
    v_Recipient VARCHAR2(80) := '[email protected]';
    v_Subject VARCHAR2(80) := 'test subject';
    v_Mail_Host VARCHAR2(30) := '116.214.31.249';
    v_Mail_Conn sys.utl_smtp.Connection;
    crlf VARCHAR2(2) := chr(13)||chr(10);
    BEGIN
    v_Mail_Conn := sys.utl_smtp.Open_Connection(v_Mail_Host, 26);
    sys.utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
    sys.utl_smtp.Mail(v_Mail_Conn, v_From);
    sys.utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
    sys.utl_smtp.Data(v_Mail_Conn,
    'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
    'From: ' || v_From || crlf ||
    'Subject: '|| v_Subject || crlf ||
    'To: ' || v_Recipient || crlf ||
    'MIME-Version: 1.0'|| crlf ||     -- Use MIME mail standard
    'Content-Type: multipart/mixed;'|| crlf ||
    ' boundary="-----SECBOUND"'|| crlf ||
    crlf ||
    '-------SECBOUND'|| crlf ||
    'Content-Type: text/plain;'|| crlf ||
    'Content-Transfer_Encoding: 7bit'|| crlf ||
    crlf ||
    'some message text'|| crlf ||     -- Message body
    'more message text'|| crlf ||
    crlf ||
    '-------SECBOUND'|| crlf ||
    'Content-Type: file;'|| crlf ||
    ' name="D:\mail\pdfSample.pdf"'|| crlf ||
    'Content-Transfer_Encoding: 8bit'|| crlf ||
    'Content-Disposition: attachment;'|| crlf ||
    ' filename="D:\mail\pdfSample.pdf"'|| crlf ||
    crlf ||
    'CSV,file,attachement'|| crlf ||     -- Content of attachment
    crlf ||
    '-------SECBOUND--'               -- End MIME mail
    sys.utl_smtp.Quit(v_mail_conn);
    EXCEPTION
    WHEN sys.utl_smtp.Transient_Error OR sys.utl_smtp.Permanent_Error then
    raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
    END;
    Above code executed successfully and mail is send to recipient but file is corrupted.
    I think it doesn't pick file from specified location, attachment name is appearing like this 'D:mailpdfsample.pdf
    Oracle Database : 11g R2
    O.S : windows 7 Professional
    Thanks in Advance

    parapr wrote:
    sys.utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);The above violates RFC 5321 section 4.1.1.1
    '-------SECBOUND'|| crlf ||
    'Content-Type: file;'|| crlf ||
    ' name="D:\mail\pdfSample.pdf"'|| crlf ||
    'Content-Transfer_Encoding: 8bit'|| crlf ||
    'Content-Disposition: attachment;'|| crlf ||
    ' filename="D:\mail\pdfSample.pdf"'|| crlf ||Invalid Mime header above. Filename are logical. Not physical. Loose the drive and directory names. The filename is there to name the Mime body's content.
    crlf ||
    'CSV,file,attachement'|| crlf ||     -- Content of attachmentHow is the above PDF content? This is a string containing the text CSV,file,attachement. Which means when this is what is saved as a PDF file by the mail reader.
    EXCEPTION
    WHEN sys.utl_smtp.Transient_Error OR sys.utl_smtp.Permanent_Error then
    raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
    END;Silly. Why change meaningful exceptions into a generic meaningless exception?? That does not make any sense.

  • How to uninstall Oracle Database 11g release 2?

    Hi,
    I want to uninstall Oracle Database 11g release 2.
    Im executing the deinstall.bat that is on:
    C:\app\MachineName\product\11.2.0\dbhome_2\deinstall
    then in the command window, i get this message:
    Specify all Single Instance listeners that are to be de-configured [LISTENER]:
    What should i enter here?
    what is a listener?
    thanks..

    mseberg wrote:
    Generally the default ( return key ) is correct.
    The listener is the network feature that helps you connect. It listens for new connection attempts.
    I like to think of it as a traffic cop which allows a connection, but has nothing to do with afterwards.
    The Listener is a named process which runs on the Oracle Server, awaiting requests from Clients to connect to the Instance.
    The listener does not normally handle connections after the initial request has been done. The listener listens on a port the default is 1521.
    Best Regards
    msebergthanks a lot, i followed the steps and it is uninstalled now.

Maybe you are looking for

  • ME22N : Fast Creation of Confirmations of a purchase order

    Dear guru , I have many positions for a purchase order and I want to create a confirm for the same delivery date and quantity of every purchase order item . If i have many positions is too onerous the manual creation for every positions. Does exist a

  • IMovie no longer importing analog source correctly -- what's wrong?

    Hi all, I'm using iMovie '11 with a VCR deck connected via RCA to a ADVC-100 Canopus converter that is connected to my iMac via Firewire 800. This setup has served me well for many years, though I've recently taken on a big project to capture about 3

  • Upgrading my iPhone

    Hey! I am upgrading from my iPhone 4S to a 5S because of different reasons. I sold my 4S already but haven't given it yet to the buyer because I need to move everything to the new iPhone. Nonetheless, I still haven't got my 5S, and I won't until arou

  • Where is the background picture for a window stored?

    Greetings, Where is the background picture for a window stored? What is the file called? I am trying to find the image used on a DVD. Thanks

  • Lumia 610 doesn't display notification for Outlook...

    Hello, My Lumia 610 doesn't display notification (unread messages) for outlook when the screen is locked. However it does display the notification such as missed calls, text messages, face book messages, Gmails, Yahoo emails, Windows live emails. But