ORA-27102 when creating a new database

I have a 10.2.0.4 RAC database on 64-bit Redhat Enterprise Linux AS Release 4.
We have 32GB on both machines in this cluster. Currently there are 5 databases running, each with 1GB SGA and 256M SGA. When I try to create a new database, with the same memory requirements, I get an ORA-27102. I am sure we have set up our OS fine, according to suggestions from Oracle. Linux returns: Linux-X86_64 Error: 28: No space left on device
$> sysctl -a
kernel.shmmni = 4096
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.sem = 256 32000 100 128
$> free
total used free shared buffers cached
Mem: 32890432 8599000 24291432 0 58084 6003368
-/+ buffers/cache: 2537548 30352884
Swap: 8385792 0 8385792
So, why am I getting an "out of memory" message... I see 20+GB free...
Edited by: jbednarz on Jan 14, 2009 3:08 PM

jbednarz wrote:
, I get an ORA-27102. Linux returns: Linux-X86_64 Error: 28: No space left on deviceIs that the complete error stack, from alert.log?
kernel.shmall = 2097152This could be "it". This is system wide total, in pages. What is your page size?
There might be other parameters that need increasing as you add instances. Check Oracle and linux documentation.

Similar Messages

  • TNS Protocol error in 11g when creating a new database

    Hi,
    I have installed 11g R2 64 Bit on Solaris 10 64 Bit. The installation happened successfully. Now when I use DBCA to create a new database it says ORA-12560 TNS:Protocol Adapter Error. I am accessing the server console and performing all operations there itself, I can't understand this issue.
    I have also created a listener.ora and tnsnames.ora and its running successfully (but don't really know if it is needed since I have not even created the database). The sqlnet.log shows following
    =====================================================
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/export/home/oracle/product/11.1.0/db_1/bin/oracle)(ARGV0=oracleTSG11G)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=sqlplus)(HOST=sol11oracle-vm)(USER=oracle))))
    VERSION INFORMATION:
    TNS for Solaris: Version 11.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for Solaris: Version 11.2.0.1.0 - Production
    Time: 17-DEC-2009 10:30:52
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12560
    TNS-12560: TNS:protocol adapter error
    ns secondary err code: 0
    nt main err code: 530
    TNS-00530: Protocol adapter error
    =====================================================
    Some excerpts from the trace is:
    =====================================================
    2009-12-17 11:14:38.776040 : nsopen:opening transport...
    2009-12-17 11:14:38.776097 : ntpcon:entry
    2009-12-17 11:14:38.776140 : ntpcon:toc = 1
    2009-12-17 11:14:38.776196 : sntpcall:entry
    2009-12-17 11:14:38.776221 : sntpcall:not detaching from parent with additional fork
    2009-12-17 11:14:38.796184 : sntpcall:hdl[IR]=13, hdl[IW]=12
    2009-12-17 11:14:38.796429 : sntpcall:result string is NTP8 0
    2009-12-17 11:14:38.796527 : sntpcall:Can't read from pipe; err[1] = 8
    2009-12-17 11:14:38.796571 : sntpcall:exit
    2009-12-17 11:14:38.796674 : ntpcon:exit
    2009-12-17 11:14:38.796755 : nserror:entry
    2009-12-17 11:14:38.796776 : nserror:nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=8, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    2009-12-17 11:14:38.796861 : nsopen:unable to open transport
    2009-12-17 11:14:38.796884 : nstoClearTimeout:entry
    =====================================================
    In /etc/host i have added server ip with host name.
    $ more /etc/host
    172.26.171.57 sol11oracle-vm
    The .profile of oracle user
    export TMP=/tmp
    export TMPDIR=$TMP
    export ORACLE_BASE=/export/home/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1
    export ORACLE_SID=TSG11G
    export PATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin:$ORACLE_HOME/bin
    Please suggest.

    $ more tnsnames.ora
    # tnsnames.ora Network Configuration File: /export/home/oracle/product/11.1.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    TSG11G =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TSG11G)
    $ tnsping tsg11g
    TNS Ping Utility for Solaris: Version 11.2.0.1.0 - Production on 17-DEC-2009 11:37:10
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /export/home/oracle/product/11.1.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = TSG11G)))
    OK (50 msec)

  • Access key needed when creating a new database table with SE11

    Hi,
    I'm using SAP Testdrive (evaluation) on linux in order to learn a bit about ABAP programming. I want to create a new database table in the  dictionary to be used in my programs. I proceed in the following way:
    1) I run the SE11 transaction
    2) At the first entry I write the name of the table to be created (in the Database Table field)
    3) I click on the create button.
    But then the system asks me an Access Key to register, where can I get this?
    Thanks in advance,
    Kind Regards,
    Dariyoosh

    Ok I found the answer to my question in another thread
    Developer Key
    Make sure that your program names starts with "Z" or "Y", otherwise the system will ask you to register the object because it thinks you are creating/changing in the SAP namespace.
    In fact this was my error, my table name didn't start with neither "Z" nor "Y".
    Kind Regards,
    Dariyoosh
    Edited by: dariyoosh on Nov 13, 2010 12:34 PM

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

  • Can't select the new Azure sql service tiers when creating a new database or upgrading an existing one

    Hi all,
    I have set up the preview for the new Azure SQL tiers on both of the subscriptions we have for Azure. The one under my MSDN subscription to and a pay as you go subscription
    The pay as you go subscription works fine but when I try to upgrade an existing Azure sql database or create a new one on my MSDN subscription it doesn't give me the option of the new tiers.
    Using the new portal it says I need to sign up to the preview, but I already have and when I go to try to add a new subscription to the preview for Azure SQL it says all my active subscriptions are on the preview.
    Any idea what the issue could be?
    Cheers
    Ash

    Hi,
    Apologies for the inconvenience.
    I suggest you open a Billing Support Ticket. They will be able to check this for you.
    http://azure.microsoft.com/en-us/support/options/
    Regards,
    Mekh.

  • ORA-12543 When creating a new oracle instance, Oracle 11g

    Hello,
    I am getting the error ORA-12543 at the time i create a new oracle instance!
    tnsping is OK, and no firewall or anti virus, network is OK.
    Any idea??
    Thanks in advance,
    Salam

    I was using a password for all system accounts with @ i changed that to be without the @ and it worked...
    It took me 10 hours to fond the problem

  • Segmentation fault when creating a new database.

    Hi I have just installed Oracle 9i on a Red Hat Linux Server running Red Hat enterpise 4. I installed all the prerequisites and set up the shared memory etc as of this installation guide:
    http://www.puschitz.com/InstallingOracle9i.shtml
    I have just run "dbca" to create a database and after entering all the criteria, setting up all the table spaces I then hit finish and click ok on the summary page. I then get the segmentation error as detailed below:
    [$] /oracle9/app/oracle/bin/dbca: line 124: 15524 Segmentation fault $JRE_DIR/bin/jre -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m -classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
    I thought it could be the $JRE_DIR is set wrong but doing an echo on this it returns:
    [$] echo $JRE_DIR
    /home/oracle9/jre/1.1.8
    Which is correct.
    I dont know what to do now!
    Any help would be great. Cheers.

    Thanks for the reply. I just found the answer from a one last google search.
    I added -native to the dbca script which seems to allow it to run without crashing.
    as detailed in this document:
    http://ftp.novell.com/partners/oracle/docs/9205_sles9_install.pdf

  • ORA-02303 when creating database on Exadata using template with BP12

    I get ORA-02303 when creating a RAC database on Exadata. Logs indicate that error happened when applying bundle patch BP12 and probably when running following script: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/admin/catsnap.sql
    CREATE OR REPLACE TYPE SYS.RewriteMessage AS OBJECT(
    Check the following file for errors:
    /u01/app/oracle/product/11.2.0.4/dbhome_1/cfgtoollogs/catbundle/catbundle_EXA_ACSES01_GENERATE_2014Dec17_13_07_45.log
    Apply script: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/admin/catbundle_EXA_ACSES01_APPLY.sql
    Rollback script: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/admin/catbundle_EXA_ACSES01_ROLLBACK.sql
    Executing script file...
    Processing Oracle Database Packages and Types...
    CREATE OR REPLACE TYPE SYS.RewriteMessage AS OBJECT(
    ERROR at line 1:
    ORA-02303: cannot drop or replace a type with type or table dependents
    CREATE OR REPLACE TYPE SYS.ExplainMVMessage AS OBJECT (
    ERROR at line 1:
    ORA-02303: cannot drop or replace a type with type or table dependents
    Anyone experienced the same issue??

    Metalink search points to few bugs. May be opening a SR is a good idea.

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

  • Creating a new database containing part of an existing database,same server

    Hi All Experts,
    I have a problem. I am trying to create a new database on a server which already has a database (named qadb10g) running on it. I want the new database to contain only a few tablspaces of the "qadb10g" database. I tried this approach.
    1. Take an RMAN backup of the desired tablespaces from the source database (qadb10g), including system and undo tablespaces as well.
    2. Use "SET NEWNAME FOR DATAFILE ..." RMAN commands to restore all the data files in the new disk location on the same server.
    3. Run "ALTER DATABASE BACKUP CONTROLFILE TO TRACE" command in the "qadb10g" database to generate a "create controlfile...." script.
    4. Edit the resulting file (from step 3) to change file locations and database name, instance name, etc.
    5. Create a new init.ora file for the new database.
    6. From an sql*plus session, with "ORACLE_SID" already set to new database name, run the "create controlfile ..." script which we generated and changed above.
    I performed steps 1-5 successfully, But when I ran the step 6 command, I got an error saying "Datafile Header contains database name 'qadb10g' which is not maching the <newdb name> .....".
    This means, the database datafiles which were backed up and restored from the 'qadb10g' database still contain the same db name in their header and this is preventing new control file from being created. So, the new datbase cannot be created. Can anbody help me how to resolve this problem???
    Any urgent help would be greatly appreciated. Thanks in advance.

    At Step 4, did you use the SET <newdbname> in the create controlfile script ?
    At Step 5, did you change the db_name in the pfile ?
    nid is the new and easier way to change the database name.

  • 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

  • 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

  • Some strange after create a new database

    Hi All,
    I try to create a new database on the Win 2000 ORA8I server (existing have 1 db already), after using the DBCA create it, I try to connect to new DB, but I found that all the control file are point to the old db's.
    I've check that there are 2 SID (2 SID service found in services), tnsname is point to 2 different sid, listener also point to 2 different sid, below is the part of listener.ora and tnsname.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = SVR1)
    (ORACLE_HOME = d:\oracle\ora81)
    (SID_NAME = SVR1)
    (SID_DESC =
    (GLOBAL_DBNAME = SVR2)
    (ORACLE_HOME = D:\oracle\ora81)
    (SID_NAME = SVR2)
    )

    I found that the problem is not so simple....
    I try to recreate the servicesid and listener, without start the old sid service, the new SID cannot (should be "can") connect to new DB, but.
    When I try to start the new SID and old SID at the same time, the new and old SID will connect to the same old DB.
    I try to stop the old service again, both new and old SID cannot connect to DB.
    try to recreate the service and listener and only start the new sid service, the sid can connect to new DB again.........
    does anybody can tell me what's going on ?? I will be crazy......

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

  • 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

  • Best 37-40" HDTV to use as 2nd monitor?

    Hello all, I have a MacPro 2010 3.33ghz 6-core I use a Samsung Syncmaster 305T 30" display for my main monitor, which I love. Can't say enough good things about it. I am an audio-for-video professional, and display my QT movies on a 32" Samsung LED U

  • Renaming Tracks Freezes iTunes for Two Minutes

    I am not sure if this is an iTunes 8, Windows XP (I suspect so), or an iPhone 2.2 software issue. When renaming audio tracks in a playlist on iPhone 3G, for instance by adding a zero in order to correct a sequence of tracks in a playlist iTunes freez

  • Explain plan not working

    When I run the explain plan by pressing F6 or the execute explain plan button I get the message "Failed to query plan_table" "invalid column name". However I can do a select * from plan_table I'm using version 1.5.4 with the latest patch set. Any ide

  • Files missing in Time Machine

    Yesterday I had to refresh some local folders on my MBP from a version control system that my company maintains.  Before doing so I had copied my working copies to another folder then after the refresh copied the files I had been working on back to t

  • How can I check when my two-year plan is up?

    Im am so desparately in need of a new phone! I got mine last year but i can remember exactly when (beginning or middle) and I wanted to know how I could find out when. Is there a place I can go on this website to find out? Btw, because I have a two-y