How to create another instance on linux without using dbca?

I have an oracle database (or instance) named viton1 on my linux.
Now I want to create another instance (or database) named viton2 on my linux without using dbca.
I know I can create a database by runing a sql script : create database ......
But my problem is:
before I can run the script for create database, I must startup nomount database.
Before I can startup nomount the instance, I have to connect the instance.
So I do it:
$sqlplus /nolog
sql > conn sys/password as sysdba;
sql >
then I connected to viton1, that's not what I expected.
In order not to connect to viton1, I set ORACLE_SID=viton2. Then it show error: insufficient privilege.
Who can tell me the right way to create another database without using dbca?
Thanks in advance.

In $ORACLE_BASE/admin you should have a directory structure for the viton1 instance : create a similar directory structure for the viton2 instance.
In the pfile subdirectory create the initviton2.ora file : you can copy it from initviton1.ora file and change all occurrences of viton1 to viton2.
At OS prompt : export ORACLE_SID=viton2, then
sqlplus /nolog
conn / as sysdba
startup nomount pfile=$ORACLE_BASE/admin/viton2/pfile/initviton2.ora
then CREATE DATABASE.....

Similar Messages

  • How to create an instance for RemoteSession without using create() method

    How to create an instance for RemoteSession without using create() method?

    What's RemoteSession? Not in the JDK. And does the question have anything to do with concurrency?

  • How to create new Custom XML Report without using Form Builder

    Hi,
    What are the steps to create new Custom XML Report without using Report Builder ?
    Thanks and Regards,
    Abhi

    Hi,
    Steps we now follow
    1)Create Data Model in Reports Builder
    2)Create xml
    3)Insert xml in Publisher to build Fomat
    4)FTp rdf
    5)Create Data Definition and Template
    6)Create executable and Concurrent Program
    Is there any way we can build reports without use of Report Builder ? By writing PL SQL Package for Before Report and After Report etc ...
    Thanks and Regards,
    Abhijit Rode

  • How to create an apple I'd without using credit card

    How can I download free aPps from iStore without entering my credit card information

    Select None in the Account Information window.
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card

  • Can anyone guide me how to create the databse with or without using the GUI

    I need to create the Database from SQL prompt can any body tell me the links where i can find some sample scripts to do that....Thanks

    Hi,
    I would like to mention few stuffs too..
    for manually.
    1. startup nomount pfile=path of the pfile.
    2. run the create datbase script.
    3. run catalog.sql, catproc.sql script.
    that was the brief idea,but you need to create your sample pfile,setting up your dir locations,setting envrmnts variables.
    for gui envrmnts you have DBCA , use it and forget about all the cavtes.
    thanks
    Alok.

  • Create a Multiple-Line JButton Without Using HTML format

    I used html format for multiple-line JButton and it took a long time to load that button up (about 5 seconds more). Does anyone know how to create a multiple-line JButton without using html?
    Any suggestion or sample code will be appreciated.
    javamesser

    Hello,
    You could try using the following:
    -give your button some layout (e.g.: BoxLayout.Y_AXIS, or BorderLayout).
    -create the wrapped text in separate JLabels (one line in each label)
    -add your labels to the button
    Advantage:
    this solution does not affect the laf classes
    Disadvantage:
    focus rectangle is not calculated accurately
    Regards,
    G

  • How to start another instance in oracle database 10g

    Hi,
    i have created another database on linux Enterprise Server 5 with SID name "rmann". after database is created the address is "http://linux:5500/em"
    Now after that i run the address link it works fine. but when i restarted the computer run the address link http://linux:5500/em doen't run.
    So how i can run the new address link
    Thanks
    Sohail

    Sohail wrote:
    Hi,
    i have created another database on linux Enterprise Server 5 with SID name "rmann". after database is created the address is "http://linux:5500/em"
    Now after that i run the address link it works fine. but when i restarted the computer run the address link http://linux:5500/em doen't run.
    So how i can run the new address link You mean that after the restart of teh machine, EM doesn't work? Did you check that whether the service of the EM is running or not?
    emctl status dbconsoleIf it shows that the EM is not running then you must start teh service using,
    emctl start dbconsoleAnd also check that you are not using DHCP, in case of which EM would keep on crashing since the IP would be changed all the time. For this, you must ensure that you configured EM using a static IP only.
    HTH
    Aman....

  • How to create multiple instance on same database

    Hi ,
    I would like to know how to create multiple instance on same database . I know that some people use database configuration assistant to do this but i could not figure out how they did it.
    Any how if some one can help me with this and can give me links of this it would be great help for me.
    Thank you for reading my problem and helping me !
    Amil
    please if possible mail me on [email protected]

    How to create multiple instance?????Do you mean multiple instances on the same database, or multiple databases on the same machine ?
    I m new to this field....
    Willin to learn a lot about oracle....Then it wouldn't be bad reading a bit of Database Concepts

  • How do I create a webpage in Dreamweaver WITHOUT using layers?

    I'm reading a lot about how we should not use layers and
    tables when creating a website in Dreamweaver because of something
    called "absolute placement" (or something), which is the reason the
    text in my website is constantly misaligned or overlapping when
    opened up in Firefox. Although, I've never had this problem before
    for the past three years I've been using Dreamweaver to create my
    sites, which is what's most frustrating I think.
    So, I guess I'm wondering how, then, do I create a webpage in
    Dreamweaver WITHOUT using layers and tables? The only thing I've
    been able to do w/o layers/tables is to literally hit "enter" and
    "tab" continuously until the cursor is somewhere close to where I
    want it to be on the page. But that seems a little old-school (for
    lack of a better term) to really be the way to do it.
    Also, if I've used a lot of layers/tables already in my
    website, is the general recommendation for be to rebuild my site
    completely w/o layers/tables, or is it feasible for me to have
    someone who knows HTML just come in and fix the actual HTML code
    for me to make it all work?
    Ideally, I just want something to help me fix this problem
    w/o having to hire someone else to come in, cause I've been working
    this site for about a year now and am just now finally getting it
    up online only to find that the way it looks online is not the way
    it looks in Dreamweaver. I'd really really appreciate any
    suggestions/advice.
    Thank you so much!

    Hello,
    The first bit of advice, which you may already be doing, it
    to learn HTML
    and CSS.
    CSS is used to style and position elements.
    Instead of adding numerous   to add spacing, for
    example, you can use
    CSS to add margins or padding to elements to move them away
    from other
    elements.
    Also, IMHO there is nothing wrong with using tables,
    specially as you learn.
    You can also use <divs> and CSS to position them (a
    table-less layout).
    There are a number of threads in this forum comparing them
    and giving many
    designer's views.
    It's Dreamweaver's "Layout Mode" you should stay away
    from.Use "Standard
    Mode"
    It creates tables with rowspanss and colspans that are very
    fragile.
    Something as simple as a user having a different text size
    setting in their
    browser than what you had in yours when you designed can make
    the page break
    apart.
    More info:
    http://apptools.com/rants/spans.php
    Also, "Layers" are an older DW term for AP Divs (Absolutely
    Positioned).
    They can cause you a lot of frustration.
    More info:
    http://apptools.com:80/examples/pagelayout101.php
    I would strongly suggest you take a couple of hours to do
    these tutorials.
    They are a great introduction to using CSS, making a
    stylesheet and using
    DW's "wizards".
    They are very well written, illustrated and easy to follow.
    I promise you will walk away with a different outlook on how
    you can design
    a page.
    They are not intended to replace learning HTML or CSS in any
    way, I just
    think it will benefit you greatly seeing what you can do.
    http://projectseven.com/tutorials/css/css_td/index.htm
    http://projectseven.com/tutorials/css/qdmacfly/index.htm
    I hope that helps.
    Take care,
    Tim
    "darkpwca" <[email protected]> wrote in
    message
    news:[email protected]...
    > I'm reading a lot about how we should not use layers and
    tables when
    > creating a
    > website in Dreamweaver because of something called
    "absolute placement"
    > (or
    > something), which is the reason the text in my website
    is constantly
    > misaligned
    > or overlapping when opened up in Firefox. Although, I've
    never had this
    > problem
    > before for the past three years I've been using
    Dreamweaver to create my
    > sites,
    > which is what's most frustrating I think.
    >
    > So, I guess I'm wondering how, then, do I create a
    webpage in Dreamweaver
    > WITHOUT using layers and tables? The only thing I've
    been able to do w/o
    > layers/tables is to literally hit "enter" and "tab"
    continuously until the
    > cursor is somewhere close to where I want it to be on
    the page. But that
    > seems
    > a little old-school (for lack of a better term) to
    really be the way to do
    > it.
    >
    > Also, if I've used a lot of layers/tables already in my
    website, is the
    > general recommendation for be to rebuild my site
    completely w/o
    > layers/tables,
    > or is it feasible for me to have someone who knows HTML
    just come in and
    > fix
    > the actual HTML code for me to make it all work?
    >
    > Ideally, I just want something to help me fix this
    problem w/o having to
    > hire
    > someone else to come in, cause I've been working this
    site for about a
    > year now
    > and am just now finally getting it up online only to
    find that the way it
    > looks
    > online is not the way it looks in Dreamweaver. I'd
    really really
    > appreciate any
    > suggestions/advice.
    >
    > Thank you so much!
    >

  • How to create iTune or App Store without credit card for my existing Apple ID without create new Apple ID or email?

    I got 2 Apple ID and the first time to I use it to iTune or App Store, a box will pop out and telling me this:
    "This Apple ID has not yet been used with the i Tunes Store. Please review your account information."
    Then, I click on the button, "Review". Bla bla... but ended up, I must provide a credit card in order to complete it.
    I do not have credit card, so I search 'How to create iTune or App Store without credit card', same link and same tactic only valid for New Apple ID.
    So, it seem no other option to create iTune or App Store without credit card for existing Apple ID, right?

    The same thing is happening to me!

  • I have all my pictures in an external drive, how do i create a library in iphoto without using my internal drive space?

    i have all my pictures in an external drive (around 1tb), how do i create a library in iphoto without using my internal drive space? thanks!

    In iPhoto use the command "File > Switch to Library" and then click "Create New" in the Library Chooser panel.
    Select a folder on your external drive as the destination.
    You can also get to this panel by holding down the alt/options key when you launch iPhoto.

  • HT2731 how to create a free apple id without puttin in the cridit card info?

    how to create a free apple id without puttin in the cridit card info?
    Card type "None" option is not available

    Welcome to the Apple Community.
    To be able to download free apps without a recognised method of payment or gift card.
    Open iTunes and navigate to the app store. Select a free app to download. A simple way to do this is to scroll down to the top free apps box on the right hand side, hover your mouse over the first item and click on the free button that appears when you hover over it.
    A pop up will open asking you to sign in with your Apple ID click "create new account", click continue to create your account. Check the box to accept the store terms and conditions and click continue.
    Enter your email address, password, security question, and date of birth, click continue. Now, you will be asked to provide a payment method. Note now that the last option says "none".

  • How to create an instance of a protected class outside the enclosing packag

    Hi all,
    I have a piece of code like this:
    package test;
    public class A {
    protected class B { }
    How to create an instance of B outside the package test ? Could you please give me an example ?
    Thanks
    Ha Chau

    Thank WirajR for your reply, but in your solution,
    you have to create an instance of B inside class A
    and pass it outside. I would like to know whetherwe
    can create an instance of class B outside thepackage
    test. That means I want the instance creation
    expression of B appears outside the package test.Can
    we do that?
    If you want to use a class this way then it shouldn't
    be marked protected. I can't see why you don't
    just declare it public if that's what it is.
    Wouldn't be much point to haveing a protected
    modifier if it had no effect, would there?I think there is use for it if you use an interface to filter out the parts you want to give public access to, and keep the part you want to keep protected, protected

  • How to create an instance of the database

    No that won't work. I have to set it up independant from each other because I can't get to Uni until Monday and I want to have this done over the weekend really.
    The main issue seems to be now how to create an instance of the database

    To create a database:
    you first connect as internal (user) with the passeword 'oracle'
    the syntax is: connect internal/oracle
    You type in this script:
    STARTUP NOMOUNT PFILE=$PFILE
    CREATE DATABASE db01
    LOGFILE
    GROUP 1 ('c/oracle/oradata/db01/redo_01a.log',
    'c/oracle/oradata/db01/redo_01b.log'
    ) size 100k,
    GROUP 2 ('c/oracle/oradata/db01/redo_02a.log',
    'c/oracle/oradata/db01/redo_02b.log'
    ) size 100k
    MAXLOGFILES 32
    MAXLOGMEMBERS 2
    MAXLOGHISTORY 1
    DATAFILE 'c/oracle/oradata/db01/system01.dbf'
    size 7M
    MAXDATAFILES 254
    MAXINSTANCES 1;
    This script could be modified to reflect the features you want for your database.
    db01 = the name you can give to your database
    Good luck,
    Henri

  • How to create objects to paint itselfs without specifiy the location

    How to create objects to paint itselfs without specifiy the location using Java 2D

    shot in the dark: pass in the Graphics2D context to the method ?

Maybe you are looking for

  • In Mail, how do I view both notes and emails at same time?

    Is it possible to view the notes pane and the email pane at the same time?  I keep notes about each project I'm working on so it helps to have them up as I'm replying to emails and setting todo's.  If this is not possible, can I move notes out of Mai

  • Album sort order missing

    I want to use 'Recently Added' in album view while hiding all rated albums. I do not understand why the new 'album' sort order is restricted to only a few fields, while the 'songs' sort order doesn't have the two-level; sorting that the album sort or

  • ECC 6-  Table that gets updated when Currency Translation to Group Currency

    Hi All, I would like to know which table gets updated with the Values when we execute tcode "FAGL_FC_TRANS"? I would like to see the values that system posted during April 09, May09 etc for each GL that was Translated into Group Currency using the tc

  • Mac OSX cannot be upgraded to v.10.5 on your computer

    I have a Macbook Pro that is 3 months old running 10.4.11. I am trying to upgrade to leopard and repeatedly get the error: Mac OSX cannot be upgraded to v.10.5 on your computer. / Mac OSX v.10.4 or later could not be found on your computer. Then when

  • CD performance

    I have looked where I know to look, however I am unable to degtermine what the read/write specifications are for the SD card slot on my W520. I want to get the appropriate SD cards. Any pointer where I may find this spec? Thanks in advance.... Mike