Create another sid and "database"?

Hello,
I've just installed a Oracle 8.0.5 into a linux box and
making some tests using the SID (ora) I gave to the installer
prompt. This means I can make a connection to this
database using sqlplus, e.g sqlplus user/passwd@ora.
I'm missing some terminology here, but I'd like to create
another database/tablespace/instance/whatever to be something
for testing, e.g. sqlplus user/passwd@tdev.
This far I've managed to alter the files listener.ora and
tnsnames.ora, so that the listener now says:
./lsnrctl status
Services Summary...
extproc has 1 service handler(s)
ora has 1 service handler(s)
tdev has 1 service handler(s)
But what is the next step here? When I try to create a
database that corresponds with the SID "tdev" I get:
./svrmgrl
connect internal
shutdown
startup nomount
create database tdev <lots of parameters>
ORA-01501: CREATE DATABASE failed
ORA-01504: database name 'TDEV' does not match parameter db_name
'ora'
Yours,
Marko
null

Many thanks for your advice, now it almost works.
I was able to create the database tdev and
after after adding users in it, I'm able to
connect it as well.
However, if I now try to connect any other database
(those ones on the same machine or those ones that
are depicted in tnsnames.ora), I always get the message:
ORA-01034: ORACLE not available
tnsping to those databases works fine and lsnrctl start
command gives me:
Services Summary...
extproc has 1 service handler(s)
ora has 1 service handler(s)
tdev has 1 service handler(s)
The command completed successfully
Yours,
marko
Anstefan (guest) wrote:
: To create a new instance you have to do the following:
: * choose the name of the instance
: * set the environment variable ORACLE_SID to this value
: * go to the admin directory and create a new directory with
this
: name
: * copy the subdirectories from another database (for example
ORCL)
: * go to the new subdirectory pfile and rename the files
: config<SID>.ora and init<SID>.ora
: * change the necessary parameters (be careful that you don't
: overwrite files from a already existing instance)
: * create a link from the dbs directory to the pfile directory
: for the init<sid>.ora file.
: * start server manager
: * startup nomount pfile= (name of your init<sid>.ora file
: with fullpath)
: * create database command
: * create data dictionary
: * create additional tablespaces and rollback segments
: * insert database in the file /etc/oratab
: * insert new instance in listener configuration
: Stefan
: Have fun with your new instance.
null

Similar Messages

  • Can I transfer money to other accounts on my iPad with iOS 5.1.1? I created another account and put an iTunes gift card on it, but then I realized that all of my apps are on another account, so how do I move that money over?

    Can I transfer money to other accounts on my iPad with iOS 5.1.1? I created another account and put an iTunes gift card on it, but then I realized that all of my apps ere on another account, so when I recovered the password of my previous account, I had money on an account that I do not want to use. Can I transfer the money over?

    Not on your own. Click here and ask the iTunes Store staff to put it back onto the card; they'll only do this if none of the balance has been spent.
    (115868)

  • Create both onscreen and database storage JSP application

    Hi,
    My JSP application is a JSP form with name, address, phone number, etc. and a submit button. The output currently shows onscreen with no database connection. Can someone please tell me how I store this in the Oracle database and would it be possible to do both - show the output on screen and also store it in the database.
    TIA,
    Sassan
    Code:
    Create jsp form:
    <html>
    <head>
    <title>Create Form</title>
    </head>
    <body>
    <form action="/Create_Form_html/RetrieveFormData.jsp" method="post">
    <table align="center" cellspacing="2" cellpadding="2" border="1">
    <tr>
    <td colspan="3">
    <b>Company Name:</b>
    <%
    String company = request.getParameter("company");
    if ( company != null ) {
    %>
    <input type="text"
    name="company name"
    value="<%=company %>"
    size="40" maxlength="40">
    <%
    else {
    %>
    <input type="text"
    name="company name"
    size="40"
    maxlength="40">
    <%
    %>
    </td>
    <tr>
    <td colspan="3">
    <b>Street:</b>
    <input type="text"
    name="street"
    size="43"
    maxlength="43">
    </td>
    </tr>
    <tr>
    <td>
    <b>City:</b>
    <input type="text"
    name="city"
    size="20"
    maxlength="20">
    </td>
    <td>
    <b>State:</b>
    <input type="text"
    name="state"
    size="2"
    maxlength="2">
    </td>
    <td>
    <b>Zip:</b>
    <input type="text"
    name="zip"
    size="5"
    maxlength="5">
    </td>
    </tr>
    <tr>
    <td>
    <input type="Submit" value="Submit">
    </td>
    </tr>
    </table>
    </form>
    </body>
    </html>

    You can use JDeveloper's Data Web Beans - these are data-aware controls for JSPs.
    Start by creating a JSP from scratch using the Business Components JSP application wizard. Instructions are in the online documentation, under:
    User Guides
    ->Developing Applications
    ->Developing Web Applications
    ->Creating a JSP application
    Or you can learn how to do this by stepping through the Business Components tutorial. The tutorial is also in the online documentation, under Tutorials and Sample Applications.
    Once you're more familiar with data-aware JSPs, you can customize a data-aware JSP or create your own from scratch. Instructions for customizing JSPs are also in the online documentation, following the instructions for creating a JSP.
    Regards
    Blaise

  • Delete and Reload Vs Create another table and rename to original

    Hi
    I have a set of summary tables which I have to delete and re-load on a daily basis. Before I take a decision to go ahead with it, I wanted to know if its better to create a new table with the up-to-date summary data and then rename the new table to the existing one. Deleting and reloading might cause the table to be empty for a while, but would there be any issue if i go with the re-naming approach.
    Can I know the advantages and disadvantages of both
    Thanks in Advance
    -G

    >
    I have a set of summary tables which I have to delete and re-load on a daily basis
    >
    Partition Exchange is another technique that can be used effectively for this use case.
    This technique uses the standard table that you are using now and a new partitioned table.
    The partitioned table is a mirror (clone) of the standard and has just one partition (usually a MAX VALUES partition).
    The process is as follows:
    1. Assume your standard table already contains data and you are ready to replace all data with new data
    2. Truncate and load the partition of the partitioned table - the standard table data is available during this process
    3. Perform a partition exchange between the partitioned table and the standard table. This is a metadata (data dictionary) operation only and takes a mere fraction of a second. At the end of this operation the standard table now contains all of the data that you loaded into the partitioned table and the partitioned table contains the data that had previously been in the standard table. That is, the tables have 'exchanged' data.
    4. Repeat steps 2 and 3 each time you need to load new data.
    The partition exchange method allows the current data to be accessible at all times during the truncate and load of the new set of data. Then it becomes unavailable for the fraction of a second it takes to do the exchange. After the exchange it has the new data.
    As far as I know this is the fastest way to load new data and make it available without downtime for the existing data.
    See Exchanging Partitions in the VLDB and Partitioning Guide
    http://docs.oracle.com/cd/E11882_01/server.112/e25523/part_admin002.htm#i1107555

  • I can't get firefox to open. Try creating another profile as suggested in another answer, and it says that firefox has crashed, how do I get firefox working?

    I had to restore my computer to a previous restore point. When I tried opening firefox 4.0, nothing happened. Frustrated, I tried removing the program, but ran into the same problem: nothing happened. I went to Processes in Windows Task Manager, and firefox.exe was not running. Tried using the suggestions to create another profile, and entering the command into run brought up an error saying that firefox has crashed.

    OK - undo the changes you made to DEP.
    Open Firefox - take a screenshot of any message that appears and post back here

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

  • Different values on form and database

    hi all
    i have a field which counts the number of rows
    on the form which is showing a different value (which is correct)
    and in the database it is showing a different value (incorrect)
    i have issued commit
    i am not understanding why this is happening ..
    please help me
    Mandar

    listening for the first time but u r facing the problem, reconfirm that the query/properties are correct in form properties, check it by creating new form module for just checking weather it is showing correct in that form. and c if there is when_new_form_instance trigger or When_Validate_windows trigger used for some execution. and one more thing just check if u didnt change the column and create it again and database type is NO ( properties )

  • Creating another web page

    When I open I-web it opens my website (www.taffyproductions.com). I have been asked to create another web site. How do I create another website and be able to access either one down the road. I-web doesn't act like normal applications, in that it seems to only access one project at a time.
    Thanks for anyone that can help!
    G

    iWeb stores your website information in a domain file located in Home Folder/Library/Application Support/iWeb.
    A new site can be created on the same domain file by selecting New Site from the iWeb File menu.
    It is better to start your new site on a separate domain file so that you can load your sites in to iWeb, work on them and publish them individually.
    See this page for ways of doing it.....
    http://iwebfaq.org/site/iWebMultiplewebsites.html
    Once you have published your website you cannot import these files back into iWeb. Therefore it is essential to backup your domain file(s) regularly - preferably to an external drive.

  • How to create Pen-up and Pen-down option in X-Y graph ?

    Hi,
    I would like to create a basic digital version of XY plotter. I sorted out everything (scales, offsets, ranges, printing) except for Pen-up and Pen-down option. This application will be use to take multiple plots one after another. I need to print them on the same sheet. Basically when I run the test I plot one "line", then I take pen up, move it (with offset), put the pen down and draw another "line". Up to probably 6-8 "lines". My problem is that when I put the pen up and then down it connects old "line" withe the one that I just started to draw. (I assume that use of shift registers and a buffer needs to be involved??)
    I'm new to Labview and I would appreciate any help.
    Thx.
    Solved!
    Go to Solution.

    Hello again.
    Thx for all the replays. It works great.
    I would like to add another function to the plotter. The guy who is using it wants to write on the plot - I mean he draws a line and then he needs to mark it as A, then he draws another line and he wans to mark it as B, C and D. Then also he is reading some values from digital displays and he wants to be able to write it down on the plot while the plotter is running (then he prints it out).
    I think the only way to do that would be to use cursor name. Set as many cursors as I want (for now I would need 8), place them in the corner (for a start, so I wouldnt see them on the printput, only the name) and drag their name to wherever I want. 
    I wanted to do that but...I have a bit of a problem. When I'm setting property nodes for cursors (name visible, cursor visible, allow dragging, cursor name, cursor position) I'm only able to do that for one cursor. How can I create another one and set properties of that one?  Also is there a possibility of having a transparent cursor and a colored cursor name??
    frannerr

  • Can I create another email account?

    Hi
    Can you let me know if it's possible to create another email account in me.com or now cloud.com email sevice?
    Thanks

    Welcome to the Apple Community.
    You can create another account and hence another e-mail address, if that is what you are asking.

  • Can I create another package for another module?

    Hi,
    I am doing a project in NetBeans.
    I used a JFrame with Menu and a JDesktopPane with five JInternalFrames for my I module.Now I first module is finished.
    My designing and coding are in Package Javaapp1.
    For II module I have to create another JDesktopPane with five jInternalFrames.
    If I use the same Javaapp1 package for II Module my coding is very large and difficult to trace.
    can I create another package Javaapp2 for II module and import
    in my first package?
    if it is possible? please give me few lines about this.
    Thank you so much.
    Meena.

    Hi,
    Thank you so much for your reply.
    I understand what you mean.
    I am developing only one project not two many.
    But I have four modules in my project.So I try to the concept of package.
    In NetBeans I first create one project named Javaapp1.
    It automatically comes under the name Package Javaapp.
    In this I finished my first module.
    Now I want to develop second module.To avoid confusion in coding I need to create second module in different package.
    So I create another project Javaapp2.It comes under the name
    Package Javaapp2.I develop II module here.
    Then I try to import Javaapp2 in Javaapp1.I got the error "Package Javaapp1 doesnot exist".Thenonly i add needed jar file(Javaapp2.jar) into my project.Now there is no error.
    You told me that "The Above Approch is for when we create more than one project and take something from one to other".
    But I donot know how can I create another package without creating another project and without including the jaf files.
    I donot know is there any way to do.
    I am also have a look at netBeans.org.
    Can I continue with this?
    will you please comment on my lines.That should be useful to me to get a idea.
    Thank you so much.
    Meena.

  • Creating another iTunes library

    Currently, almost all of the songs in my iTunes library are AIFF (uncompressed) files, because they simply sound better. I also have quite a few of them that I've digitized from LP's. That takes quite a bit of work, so I don't want to lose them. However, when I finally transfer these to an iPod, I'll want to use a compressed version of those files. Do I create another library, and import the AIFF songs into that library using compression, or what?
    Thanks in advance.

    You're welcome for the help.
    It is really not necessary to "understand the underlying file structure" to understand how iTunes works with files behind the scenes. It is helpful, of course, but not essential. Making a new, lossy MP3 or AAC file from an uncompressed AIFF file is the accepted way to transcode. And this really is the only way for iTunes to do this. Under no circumstances should something like transcoding from one format to another do anything to the original file. Modifying the original file in any way would be very bad. But enough about features and software design.
    It would not do you any good to convert a lossy file to an uncompressed format such as AIFF or WAV. The lossy file has data missing, that was thrown away during the conversion process that can't be recovered. In general, most people won't notice, but if you start transcoding and converting to different formats eventually the sound quality of the file is going to degrade to the point that it is useless. As you rightly point out, you can't get back what was never there in the first place.

  • Difference between Oracle SID and an Oracle Database

    Hi
    Can any one please differeniate what exactly is the difference between an Oracle SID and a new Oracle Database?
    We just need to create another instance of an application (so we need another copy of all tables).
    So either we can:
    1. New database SID created or
    2. New user created in existing schema or
    3. New database provided
    Which is the best approach?

    Hi,
    New database SID created orThat is equivalent of creating a new database in your case.
    New user created in existing schema orYou meant new schema(user) created in existing database. I assumed this because you do not want both application to update the same table copy, but different copy.
    3. New database providedIt all depends on your you whether you want to create a new database or a new schema for getting another copy of table.
    Some points which I take in mind
    1) If I have a production database and I need to create a new set of tables for testing or any other purpose, I would create a new database.
    2) If I have a test database and I need to create a new set of tables for testing or any other purpose, if possible I would create a new schema in existing database.
    3) If I am running less in resources(hardware/memory), I would be createing a new schema in existing database.
    4) If I am not running less in resources and I would to keep these two copies entirely different, then from security purpose I would create a new database.
    Regards
    Anurag Tibrewal.

  • Create test version of database in another host

    Hi!
    As a production system I have a database with a standby database. (Dataguard).
    Now we want to create a test system of the production database in another host, test system shall not be with a standby database.
    Production system is about 5GB.
    What is the fastest and easiest way to create the test database, Oracle binaries are installed in test host but no databases are created.
    /Ulf

    If your database is really only 5 Gb (which would be quite small, particularly for a system that warrants Data Guard), export and import is probably the easiest option. You can also clone the database or recover your backup to the QA machine, but those options seem like a bit more work.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Best way to create table at remote database side

    Hi ..
    I have one table around 60GB and i want to sync this table with remote side database table.
    Options
    1> Creat DB link and then fetch data.
    Problem <<Performace issue and May be chance of Network chock >>
    2> Using DBMS_REDFINITION package.
    Problem <<Again we need 60GB Extra sapce to create New table and Related indexes >>
    Can any one suggest me by any other way we can sync table at remote side with source with out adding space and no down time?
    Thanks
    Mahantesh

    Still a duplicate thread. Still needs to be moved to the correct forum.

Maybe you are looking for

  • Dropping a table does not remove the entry from USER_OBJECTS

    Hi, While dropping a table with "cascade constraints" option, I find that no. of objects in the user_objects table does not decrease. Only "Object_Name" is updated to a value like "BIN$K+97YWCIcRTgRAASeZWmDQ==$0".. Can you please help me to find out

  • My ipod is poo

    ok so i plugged 40gb ipod into my mac OSX using the docking station like normal. I had virtually no battery but itunes recognised it immediatly and started updating my ipod. All is fine then i hear a beeping sound, itunes froze, then a message came o

  • How to set the text color in a Canvas?

    When I use (Graphics) g.setColor(255,255,255), then g.drawString("xxx", 0, 0, ....); the simulator works well but it can't work in my mobile phone (Nokia 7650). What's wrong? Thanks.

  • Uploading folio in Folio Producer

    Hi everybody there, I'm working wiht InDesign CS6 and when I go ahead with uploading my folio in the Folio Producer I get the message (translated from Italian): one or more source files are missing from one or more article layout). The verification c

  • Operating system for blackberry curve 8520

    my blackberry was in contact with rain and the sticker on the battery is red i have been told the operating system has been wiped any one know how it would get fixed or do i have to take it to the profesionals and get it paid to get fixed