HELP: Problem creating a new database in Oracle 9i

I am having difficulty in creating a new database in Oracle 9i, on Windows 2000. I would be obliged if somebody can go through the posting below and guide me as to what mistake I am making or what is the source of the problem:
I reproduce the steps taken by me.
I have decide the database to be called Mydb. I have made the following directories:
-- d:\mydb
-- d:\mydb\data
-- d:\mydb\control
-- d:\mydb\log
-- d:\mydb\bdump
-- d:\mydb\cdump
-- d:\mydb\udump
-- d:\mydb\archive
-- d:\mydb\pfile
-- d:\mydb\scripts
-- d:\mydb\exp
I copied the initoracle.ora file to d:\mydb\pfile\initmydb.ora, and made the following changes to it:
-- db_name = mydb
-- instance_name = mydb
-- control_files = ("d:\mydb\control\control01.ctl")
-- background_dump_dest = d:\mydb\bdump
-- core_dump_dest = d:\mydb\cdump
-- user_dump_dest = d:\mydb\udump
-- remote_login_passwordfile = exclusive
Also, I created a text file called d:\Oracle\Ora90\DATABASE\initmydb.ora with the following contents:
ifile=d:\mydb\pfile\initmydb.ora
At DOS prompt, I run the following command:
set oracle_sid=mydb
I run the ORAPWD utility to create internal password file at the command prompt.
d:
cd \oracle\ora90\database
orapwd file=pwdmydb.ora password=panther entries=25
I create a Windows service for the database as follows:
oradim -new -sid mydb -startmode a -pfile d:\mydb\pfile\initmydb.ora
I get connected:
sqlplusw /nolog
connect sys/change_on_install as sysdba
startup nomount # pfile=d:\mydb\pfile\initmydb.ora
create database mydb
MAXINSTANCES 1
MAXLOGHISTORY 1
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXDATAFILES 100
datafile 'd:\mydb\data\system.dbf' size 325m REUSE
AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
undo tablespace undotbs datafile 'd:\mydb\data\undo01.dbf' size
200m reuse
AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
default temporary tablespace temptbs
CHARACTER SET WE8MSWIN1252
NATIONAL CHARACTER SET AL16UTF16
logfile group 1 ('d:\mydb\log\log1.log') size 1m,
group 2 ('d:\mydb\log\log2.log') size 1m,
group 3 ('d:\mydb\log\log3.log') size 1m;
Now I get the following error:
create database mydb
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
The data files, control file, redo log files are all created. But the above error comes, and I am unable to start the database. What is the reason?
Thanks in anticipation.
PS

Hi DENIS,
I have executed the following commands (which are in a script file),
1. sqlplus /nolog
2. connect sys/change_on_install as sysdba
3. create database ...
4. ...
When I execute the 3rd command, I get an error message as "ORACLE TERMINATED FORCED" and it will end the session. So when the next set of commands in the script are executed, I got the error saying "DATABASE NOT OPEN".
How to rectify this problem.
Thanks in advance,
Kiran

Similar Messages

  • How do l create a new database in Oracle 10g Express

    How do l create a new database in Oracle 10g Express, other than the one that is created on installation?

    Hello,
    You cannot create a second XE database on the same server.
    But, Oracle database can support as many Schema as you want.
    "Oracle database" is like "SQL Server Instance" and "Oracle Schema" is like "SQL Server database". I means by this shortcut that for
    the end users accessing to different Schemas looks like accessing to different databases.
    You can have several applications on the same database. Each application has its own Schema and Datafile (Tablespace) structure.
    So on your XE database you can add a new Tablespace and create a new User/Schema as follows:
    sqlplus /nolog
    connect / as sysdba
    create tablespace {color:red}new_tablespace_name{color}
    extent management local autoallocate
    SEGMENT SPACE MANAGEMENT AUTO
    datafile '{color:red}complete_datafile_name{color}' size 100M autoextend on next 10M maxsize unlimited;
    create user {color:red}new_schema_name{color} identified by {color:red}password{color}
    default tablespace {color:red}new_tablespace_name{color}
    temporary tablespace TEMP
    quota unlimited on {color:red}new_tablespace_name{color}
    grant connect, resource to {color:red}new_schema_name{color};Then you can connect to this new User/Schema as you defined it and create your new structure and load datas.
    Hope it can help.
    Best regards,
    Jean-Valentin

  • Problem in Creating a new database in Oracle 9i

    I have installed Oracle 9i for Windows successfully. Now when I try to create a new database either using the Database Configuration Assistant or using the script generated by the Assistant, I get an error message that DATABASE NOT OPEN. So the database will not be created. Please help in this regard, so that I can create a database and I can start working on Oracle 9i.
    Thanks in advance.
    Kiran

    Hi DENIS,
    I have executed the following commands (which are in a script file),
    1. sqlplus /nolog
    2. connect sys/change_on_install as sysdba
    3. create database ...
    4. ...
    When I execute the 3rd command, I get an error message as "ORACLE TERMINATED FORCED" and it will end the session. So when the next set of commands in the script are executed, I got the error saying "DATABASE NOT OPEN".
    How to rectify this problem.
    Thanks in advance,
    Kiran

  • Creating a new database in Oracle Database 10g...

    I have downloaded a copy of Oracle Database 10g Express Edition from Oracle's website. I am using Windows XP. I am trying to create an Oracle database that I can connect to from Access 2003 via ODBC.
    1. How do I create a new database? I can see options to create tables, views, etc. but not a database.
    2. I have created a System DSN connection in the ODBC Data Source Administrator for the Oracle ODBC driver. Once I create a database in Oracle, how do I actually establish a connection to it from Access? The ODBC code to connect is there, but when I run it, I get an error.
    Any help would be appreciated. Thanks.

    1. How do I create a new database? I can see options to create tables, views, etc. but not a database.If you can see those options then you are already connected to the database. You probably want to create a user, not a database (are you by chance coming from SQL Server?)
    driver={OracleDriver};Dbq=TESTDBQ;Uid=Administrator;Pwd=;You would replace "Administrator" with the name of the user you created in the database.

  • How to create a new DataBase using Oracle 10g Express Edition???

    Hello, I am new to Oracle, I am used to Microsoft SQL Server (Enterprise Manager).
    Here in Oracle I do not get how do I create a DataBase, and then create tables on it.
    could anyone please explain to me how to do it?

    A SQL Server database is roughly equivalent to an Oracle schema.
    You should rarely need to create a new database. If you do need to create a database, get a 'for fee' edition of Oracle and use the dbca tool (Database Configuration Assistant) to do that. In fact, you are only allowed to have one XE database on the machine.
    However, you can create as many schemas in an existing Oracle database as you need. (One schema, owned by userid SYS, is roughly equal to your 'master catalog'.)
    You can create other schemas simply by
    1) creating a userid that will own the schema (one designated for maintenance of the schema);
    2) grant that userid appropriate privileges, such as 'CREATE TABLE', 'CREATE VIEW' as shown in the SQL Reference manual under the GRANT section;
    3) provide that userid with a quota in one or more tablespaces (see the CREATE USER command in the SQL Reference manual);
    4) create the objects, such as tabels, views, sequences, stored procs and functions, etc. (as in the SQL Reference manual);
    5) create the users who will access the objects, and grant them the CREATE SESSION capability (as in the SQL Reference manual);
    6) grant access (select, update, execute, etc.) on the schema objects to these users (as in the SQL Reference manual);
    7) if desired, create synonyms on the schema objects so the users do not need to use fully qualified syntax such as "SELECT col FROM schema.table;" (as in the SQL Reference manual).
    In case you are interested in looking at the SQL Reference manual, it can be found at http://www.oracle.com/pls/db102/portal.portal_db?selected=1 ;-)

  • Error when creating a new database on oracle 9i release 2

    hi friend,
    i have a question when i create new database manually then i get error.
    error like this
    create database alauki
    error at line 1:
    ORA-01092 : ORACLE instance terminated. Disconnection forced
    the alert log file is
    Dump file e:\ritesh\alauki\bdump\alert_alauki.log
    Mon Jan 02 06:42:47 2006
    ORACLE V9.2.0.1.0 - Production vsnsta=0
    vsnsql=12 vsnxtr=3
    Windows 2000 Version 5.1 Service Pack 2, CPU type 586
    Mon Jan 02 06:42:47 2006
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 2
    Using log_archive_dest parameter default value
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.1.0.
    System parameters with non-default values:
    processes = 150
    timed_statistics = TRUE
    shared_pool_size = 50331648
    large_pool_size = 8388608
    java_pool_size = 33554432
    control_files = E:\RITESH\DATA\CONTROL01.CTL, E:\RITESH\MIRROR\CONTROL01.CTL
    db_block_size = 8192
    db_cache_size = 25165824
    compatible = 9.2.0.0.0
    db_file_multiblock_read_count= 16
    fast_start_mttr_target = 300
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 10800
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    instance_name = ALAUKI
    dispatchers = (PROTOCOL=TCP) (SERVICE=ALAUKIXDB)
    job_queue_processes = 10
    hash_join_enabled = TRUE
    background_dump_dest = E:\RITESH\ALAUKI\bdump
    user_dump_dest = E:\RITESH\ALAUKI\udump
    core_dump_dest = E:\RITESH\ALAUKI\cdump
    sort_area_size = 524288
    db_name = ALAUKI
    open_cursors = 300
    star_transformation_enabled= FALSE
    query_rewrite_enabled = FALSE
    pga_aggregate_target = 25165824
    aq_tm_processes = 1
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    CJQ0 started with pid=8
    QMN0 started with pid=9
    Mon Jan 02 06:43:02 2006
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon Jan 02 06:43:07 2006
    alter database mount exclusive
    Mon Jan 02 06:43:08 2006
    ORA-09341: scumnt: unable to mount database
    OSD-04400: unable to acquire internal semaphore for process
    O/S-Error: (OS 183) Cannot create a file when that file already exists.
    Mon Jan 02 06:43:08 2006
    ORA-1102 signalled during: alter database mount exclusive...
    Shutting down instance: further logons disabled
    Shutting down instance (immediate)
    License high water mark = 3
    Waiting for dispatcher 'D000' to shutdown
    Waiting for shared server 'S000' to die
    All dispatchers and shared servers shutdown
    Mon Jan 02 06:46:03 2006
    alter database close normal
    ORA-1507 signalled during: alter database close normal...
    Dump file e:\ritesh\alauki\bdump\alert_alauki.log
    Mon Jan 02 10:50:49 2006
    ORACLE V9.2.0.1.0 - Production vsnsta=0
    vsnsql=12 vsnxtr=3
    Windows 2000 Version 5.1 Service Pack 2, CPU type 586
    Mon Jan 02 10:50:49 2006
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 2
    Using log_archive_dest parameter default value
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Mon Jan 02 10:51:24 2006
    Starting up ORACLE RDBMS Version: 9.2.0.1.0.
    System parameters with non-default values:
    processes = 150
    timed_statistics = TRUE
    shared_pool_size = 50331648
    large_pool_size = 8388608
    java_pool_size = 33554432
    control_files = E:\RITESH\DATA\CONTROL01.CTL, E:\RITESH\MIRROR\CONTROL01.CTL
    db_block_size = 8192
    db_cache_size = 25165824
    compatible = 9.2.0.0.0
    db_file_multiblock_read_count= 16
    fast_start_mttr_target = 300
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 10800
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    instance_name = ALAUKI
    dispatchers = (PROTOCOL=TCP) (SERVICE=ALAUKIXDB)
    job_queue_processes = 10
    hash_join_enabled = TRUE
    background_dump_dest = E:\RITESH\ALAUKI\bdump
    user_dump_dest = E:\RITESH\ALAUKI\udump
    core_dump_dest = E:\RITESH\ALAUKI\cdump
    sort_area_size = 524288
    db_name = ALAUKI
    open_cursors = 300
    star_transformation_enabled= FALSE
    query_rewrite_enabled = FALSE
    pga_aggregate_target = 25165824
    aq_tm_processes = 1
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    CJQ0 started with pid=8
    QMN0 started with pid=9
    Mon Jan 02 10:51:34 2006
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon Jan 02 10:51:45 2006
    alter database mount exclusive
    Mon Jan 02 10:51:45 2006
    ORA-00202: controlfile: 'E:\RITESH\DATA\CONTROL01.CTL'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Mon Jan 02 10:51:48 2006
    ORA-205 signalled during: alter database mount exclusive...
    Shutting down instance (abort)
    License high water mark = 3
    Instance terminated by USER, pid = 604
    can u pls give me a solution of error
    Thanks in advance
    Ritesh Patel
    Message was edited by:
    RITESH

    this is my alert log file
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon Jan 02 14:21:01 2006
    CREATE DATABASE ALAUKI
         USER SYS IDENTIFIED BY *     USER SYSTEM IDENTIFIED BY *     LOGFILE GROUP 1 ('E:\RITESH\DATA\REDO01.LOG') SIZE 100M,
              GROUP 2 ('E:\RITESH\DATA\REDO02.LOG') SIZE 100M,
              GROUP 3 ('E:\RITESH\DATA\REDO03.LOG') SIZE 100M
         MAXLOGFILES 5
         MAXLOGMEMBERS 5
         MAXLOGHISTORY 1
         MAXINSTANCES 1
         CHARACTER SET US7ASCII
         NATIONAL CHARACTER SET AL16UTF16
         DATAFILE 'E:\RITESH\DATA\SYSTEM01.DBF' SIZE 325M REUSE
         EXTENT MANAGEMENT LOCAL
         DEFAULT TEMPORARY TABLESPACE TEMPTS1
              TEMPFILE 'E:\RITESH\DATA\TEMP01.DBF' SIZE 20M REUSE
         UNDO TABLESPACE UNDOTBS1
              DATAFILE 'E:\RITESH\DATA\UNDOTBS01.DBF' SIZE 200M REUSE
              AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    Mon Jan 02 14:21:02 2006
    Database mounted in Exclusive Mode.
    Mon Jan 02 14:21:36 2006
    Successful mount of redo thread 1, with mount id 2260372877.
    Assigning activation ID 2260372877 (0x86ba8d8d)
    Thread 1 opened at log sequence 1
    Current log# 1 seq# 1 mem# 0: E:\RITESH\DATA\REDO01.LOG
    Successful open of redo thread 1.
    Mon Jan 02 14:21:36 2006
    SMON: enabling cache recovery
    Mon Jan 02 14:21:36 2006
    create tablespace SYSTEM datafile 'E:\RITESH\DATA\SYSTEM01.DBF' SIZE 325M REUSE
    EXTENT MANAGEMENT LOCAL online
    Mon Jan 02 14:22:11 2006
    Completed: create tablespace SYSTEM datafile 'E:\RITESH\DATA
    Mon Jan 02 14:22:11 2006
    create rollback segment SYSTEM tablespace SYSTEM
    storage (initial 50K next 50K)
    Completed: create rollback segment SYSTEM tablespace SYSTEM
    Mon Jan 02 14:22:16 2006
    CREATE UNDO TABLESPACE UNDOTBS1 DATAFILE 'E:\RITESH\DATA\UNDOTBS01.DBF' SIZE 200M REUSE
              AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    Mon Jan 02 14:22:38 2006
    Created Undo Segment _SYSSMU1$
    Created Undo Segment _SYSSMU2$
    Created Undo Segment _SYSSMU3$
    Created Undo Segment _SYSSMU4$
    Created Undo Segment _SYSSMU5$
    Created Undo Segment _SYSSMU6$
    Created Undo Segment _SYSSMU7$
    Created Undo Segment _SYSSMU8$
    Created Undo Segment _SYSSMU9$
    Created Undo Segment _SYSSMU10$
    Undo Segment 1 Onlined
    Undo Segment 2 Onlined
    Undo Segment 3 Onlined
    Undo Segment 4 Onlined
    Undo Segment 5 Onlined
    Undo Segment 6 Onlined
    Undo Segment 7 Onlined
    Undo Segment 8 Onlined
    Undo Segment 9 Onlined
    Undo Segment 10 Onlined
    Successfully onlined Undo Tablespace 1.
    Completed: CREATE UNDO TABLESPACE UNDOTBS1 DATAFILE 'E:\RITE
    Mon Jan 02 14:22:39 2006
    CREATE TEMPORARY TABLESPACE TEMPTS1 TEMPFILE 'E:\RITESH\DATA\TEMP01.DBF' SIZE 20M REUSE
    Completed: CREATE TEMPORARY TABLESPACE TEMPTS1 TEMPFILE 'E:\
    Mon Jan 02 14:22:40 2006
    ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMPTS1
    Completed: ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMPTS
    Mon Jan 02 14:22:41 2006
    SMON: enabling tx recovery
    Mon Jan 02 14:22:44 2006
    Errors in file e:\ritesh\alauki\udump\rits_ora_804.trc:
    ORA-01501: CREATE DATABASE failed
    ORA-01991: invalid password file 'D:\oracle\ora90\DATABASE\PWDrits.ORA'
    Mon Jan 02 14:22:44 2006
    Error 1991 happened during db open, shutting down database
    USER: terminating instance due to error 1991
    Instance terminated by USER, pid = 804
    ORA-1092 signalled during: CREATE DATABASE ALAUKI
         USER SYS IDENTIFIED BY *     U...

  • Creating a new database with oracle express

    how to create a database with oracle express. the web based interface for managing oracle sucks and it is too slow, they'd bet better of developing a rich client application for managing XE. Oracle XE comapraed to SQL Express is very poor.

    Try to post it Oracle Database Express Edition (XE)<br>
    <br>
    Nicolas.

  • About spfile creating in oracle 10g while creating a new database

    hi everyone,
    i had this problem while i was creating a new database in oracle 10g.when running the database script, it gives an error about invalid option for create temporary tablespace. is it necessary to have an spfile created in 10g. when the script was not working,we tried to create spfile which gives error tht it does not match the parameter db_name. its taking the default db_name=orcl itself..tis not taking our new db name.
    im creating it manually through sql prompt not through DBCA.the problem is that its still accepting the default db name. please send me the solution with syntaxes.
    thanx

    first of all, thanx for giuding me as im a student doing a course in this
    what abt the creation of spfile.. in a documentation for steps in creating database, they have mentioned it as recommended in creating spfile.here are some notes regarding this ....for oracle 10g
    Step 5: Create a Server Parameter File (Recommended)
    Oracle recommends that you create a server parameter file as a dynamic means of maintaining initialization parameters. The server parameter file is discussed in "Managing Initialization Parameters Using a Server Parameter File".
    The following script creates a server parameter file from the text initialization parameter file and writes it to the default location. The script can be executed before or after instance startup, but after you connect as SYSDBA. The database must be restarted before the server parameter file takes effect.
    -- create the server parameter file
    CREATE SPFILE='/u01/oracle/dbs/spfilemynewdb.ora' FROM
    PFILE='/u01/oracle/admin/initmynewdb/scripts/init.ora';
    SHUTDOWN
    -- the next startup will use the server parameter file
    EXIT
    the error : db_name does not match with the parameter.
    its still taking the default orcl database name

  • How to Create A new Database in the oracle 10g XE

    i have oracle 10g XE i tried to create a new database but its giveing me error when i execute the sql command that is create database testDatabase how to create a new database in oracle 10g XE

    Hi there 785434,
    (This is a generic SQL question relating to Database Triggers, please post future questions of this type into the relevant forum area.)
    Moderator, please move this if able
    I use Before Update and Before Delete Triggers to record a 'snapshot' of the row being changed in my applications.
    Example:
    CREATE TABLE TEST
    DATA VARCHAR2(64 CHAR),
    CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
    CREATED_DATE DATE NOT NULL,
    CHANGED_BY_USERID VARCHAR2(20 CHAR),
    CHANGED_DATE DATE
    LOGGING
    STORAGE
    (MAXEXTENTS UNLIMITED);
    CREATE TABLE TEST_HISTORY
    DATA VARCHAR2(64 CHAR),
    CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
    CREATED_DATE DATE NOT NULL,
    CHANGED_BY_USERID VARCHAR2(20 CHAR),
    CHANGED_DATE DATE,
    CHANGE_DESCRIPTION
    NOLOGGING
    STORAGE
    (MAXEXTENTS UNLIMITED);
    CREATE OR REPLACE TRIGGER TRG_BU_TEST
    BEFORE UPDATE ON TEST FOR EACH ROW
    BEGIN
    INSERT /*+ append */ INTO TEST_HISTORY
    (DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
    VALUES
    (:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'UPDATE');
    END;
    CREATE OR REPLACE TRIGGER TRG_BD_TEST
    BEFORE DELETE ON TEST FOR EACH ROW
    BEGIN
    INSERT /*+ append */ INTO TEST_HISTORY
    (DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
    VALUES
    (:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'DELETE');
    END;
    Using triggers like this will record who made an update or delete to the database and record the row before it was changed.
    Note that this method might not be suitable for very high transaction rates.
    You will need to 'clear' these history tables as part of routine maintenance.
    Hope that this Helps.
    Ronald.

  • Problems wit creating a new database on solaris wit dbca ORA 09925/ORA-1031

    Hi Oracle users,
    I'm using Oracle 10gR2 on Solaris and try to create a new database
    instance.
    I'm using dbca for that task. After making all the settings I get the error
    ORA-09925 and then ORA-1031.
    For the second error I found the advice to run te root.sh to be sure that
    all user privileges for local logins are correct.
    But tis didn't help.
    Do you have an advice for me ?
    Best regards,
    Daniel

    $ oerr ora 9925
    09925, 00000,  "Unable to create audit trail file"
    // *Cause:  ORACLE was not able to create the file being used to hold
    //          audit trail records.
    // *Action: Check the UNIX error number for a possible operating system error.
    //          If there is no error, contact ORACLE customer support.
    $                                   write permission problem or non-existent directory ?

  • How to create new database on Oracle 10g

    Hi All,
    Can any one tell me how to create new database on oracle 10g.
    Thanks in Advance for your help.

    again some confusion here.....
    u said u need a new database in your first post and now you saying u need a new schema..
    one database has many schemas(users)..... ex: scott,sys,system are few of them...
    now it depends you need seperate database for test,dev environment - this is in the case u have many schemas under each database and many tables(objects) under each schema.
    OR
    You just need a separate schema (in same db) for test,dev environment...where in you will have multiple tables in each schema...U need to know the dba credentials of the db to create a new schema.
    ideally u need to have different database...You can create one with out sys/system(oracle users) password as these passwords are db dependent.
    what you need is access to the any machine where server is installed(can be the same mc where you have your dev db or a diff machine) and that will be the machine where your db will be installed (can do it through database configuration assistance),ofcourse you will need windows authentication for this.
    so you login to the same machine or access it from your machine using remote login.
    I hope that is clear.Hope i am not listing things that you already know..Just did it coz of confusion between db and schema
    Message was edited by:
    coolguy

  • Why i can't not create new database in oracle 10g express

    why i can't not create new database in oracle 10g express?
    should i use oracle 11g standard edition?
    thanks

    In Oracle a schema is what a 'database' is in Sqlserver.
    And if you would have been aware about the limitations of XE, you would have known you can only create *1* (one) database using Oracle XE.
    However, probably you don't need a new database at all, and a schema will suffice.
    Sybrand Bakker
    Senior Oracle DBA

  • Exception while creating a new database

    Greetings,
    I was using dbca (Database Configuration Assistant) on Linux to create a new database. Everything was going ok until it was 85% done, at which point it waited a long time and then said it had failed and gave the path to a log file. Below is [what I think to be] the relavant part of that log file (emConfig.log). I sure could use some help on this, thanks.
    -Sam
    Mar 14, 2007 1:56:48 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [DISPLAY=:0.0, NEED_EXIT_CODE=1, ORACLE_HOSTNAME=deadbeef, ORACLE_SID=dbxv3x, PATH=/usr/kerberos/bin:/opt/jdk1.5.0_08/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/u01/app/oracle/product/10.2.0/db_1/bin:/home/oracle/bin, TZ=]
    Mar 14, 2007 1:56:48 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /u01/app/oracle/product/10.2.0/db_1/bin/emctl start dbconsole
    Mar 14, 2007 2:03:12 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 1
    Mar 14, 2007 2:03:12 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: TZ set to US/Pacific
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://deadbeef:5501/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
    Logs are generated in directory /u01/app/oracle/product/10.2.0/db_1/deadbeef_dbxv3x/sysman/log
    Mar 14, 2007 2:03:12 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /u01/app/oracle/product/10.2.0/db_1/bin/emctl start dbconsole
    Mar 14, 2007 2:03:12 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/dbca/dbx_v3x/emConfig.log for more details.
    Mar 14, 2007 2:03:12 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
         at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:565)
         at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:177)
         at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:146)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:155)
         at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:426)
         at java.lang.Thread.run(Thread.java:534)

    This may be a clue. In the file emdctl.trc there are many WARN lines (Connection refused) and two ERROR lines (timezones do not match) right at the time when dbca was 85% done. I am speculating that the timezone errors might be relevant to this problem. Below is just a snippet. Yesterday and this morning we tried to run $ORA_HOME/bin/emctl start dbconsole on this database and we get the timezone errors only. If timezone mismatch is the problem, how do you fix it?
    2007-03-14 14:57:58 Thread-3062621888 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:02 Thread-3062679232 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:06 Thread-3062081216 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:10 Thread-3061798592 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:14 Thread-3062118080 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:18 Thread-3062658752 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:22 Thread-3062699712 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:24 Thread-3061970624 ERROR main: nmectl.c: nmectl_validateTZRegion, agentTZoffset =-420,and testTZoffset for US/Pacific:-480 do not match
    2007-03-14 14:58:25 Thread-3061970624 ERROR main: nmectl.c: nmectl_validateTZRegion, agentTZoffset =-420,and testTZoffset for US/Pacific:-480 do not match
    2007-03-14 14:58:26 Thread-3061864128 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:30 Thread-3061888704 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:34 Thread-3062695616 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:38 Thread-3061864128 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:42 Thread-3062556352 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:46 Thread-3062650560 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:50 Thread-3062388416 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)

  • How to create a new database

    hi
    I am not able to create a new database other than the one created during the installation. i am using the oracle 9i client. i am able to create new database from the enterprise manager console,add a database manually but not able to connect to the new database.Can any one help me in solving this problem
    Thanking you in advance
    Dinny

    Hi
    I am using the client and in the sever i have created a new database other than the one created during the installatiom. i have installed the standalone in the server and not the management server. From my client machine iam able to connect to the database created in the server during the installation but not to other databases that i have created in the server from the Add database to tree option in oracle enterprise manager. It is showing insufficient privilage.So can can i get the previlage ? where to set these options ?
    Thanking you in advance
    Dinny

  • Create a new database in foxpro , msaccess dynamically

    hello,
    i am writing an application in which depending on the users selection a database will be created dynamically .i.e if he selects oracle or foxpro or access it will create a new database using the dsn supplied by the user and then creates the tables in that particular database .
    i would like to know how to create a new database from within a class file for foxpro or msacces dynamically.
    thanks for the help

    hi,
    thanks for ur response.
    i have no problem in creating tables
    my application does that, but i wanna know how to create a new database so that the tables that are created for a particular clients data are stored in a database specific for that client only , i.e. when his work is over he can completely discard the database by dropping it and can create new database when he wants to start a new database related to different client.
    i would like to know how to create that database file, system or file dsn dynamically.

Maybe you are looking for

  • Error message on startup, disc stuck in drive!!!

    Okay, long story short, my 17" imac flat panel was stolen, but by miracle, the police recovered it and I got it back. However, scumbag opened it up and messed it up pretty good. I got it back together and fired up, and luckily got my data backed up o

  • Safari3 crashes (win/beta) when reloading the page with a cookie filled in

    i subscribe to wunderground weather, and everytime i try to login, safari crashes. i go to the site, punch in my data/userID etc, and reload and BAM it's sending an error report to apple. hopefully someone can take a look at this. i'll keep an eye on

  • HU in PI - sheet

    hi all , client requirement is , he wants HU to be genrated at the time of GR of a process order using Pisheet. please guide if its possible in std. SAP or any other way we can do it ? regards, satish

  • Premiere will not open - stuck on loading

    OK - tech stuff: Macbook pro 2009, OSX 10.6.2, 4 gig Ram, Premiere version 4.2.1 So premiere crashed rendering out to Media Encoder (also crashed) and now will not open anymore - I just get the spinning beachball! Opening the force quit menu has prem

  • Help with Lightroom 4 backups

    Hi!  I am about to upgrade my OS in order to upgrade to Lightroom 5.  I thought before that, I should check my LR 4 backups, and found there have been none ever since we upgraded to LR 4!!!  I checked all preferences, and catalog preferences has "Bac