Manual oracle database creation

Hi guys,
when iam trying to create the oracle database (manually) ,
after running the CREATE DATABASE statement it has been giving
ORA-01092: ORACLE instance terminated. Disconnection forced.
can any body help me out ...

What's the database version in which you are getting this error? As Hemant mentioned, check the last few lines of the alert log and look for some message before this error over there.
HTH
Aman....

Similar Messages

  • Step-by-step approach for "manual" Oracle Database Migration

    Hi All,
    I'm looking for a step-by-step approach for "manual" Oracle Database Migration. Basically, the minutes followed in a real-time production DB implementation.
    I assume the steps may vary for different setups. However any scenario-based docs will be of great help!

    The
    Oracle Upgrade Guide
    that comes with your download as far as I know is very detailed.

  • Oracle Database Creation without Installing Software

    Hi All guru's,
    I just have a query, I have 2 Servers with OS Solaris and DB Version is 10.2.0.1.0 which is installed on one server and not on second one. Is there any possibility that i can create a database on the second server where oracle software is not installed by using the server where Oracle software is installed.
    Thanks in advance

    Vikas Kohli wrote:
    I done the ORACLE_HOME clone from the server where Oracle software is installed and paste on second server where Oracle Server is not installed
    Now i think i need to go to oui folder and start the oui.
    Kindly correct me if i am wrongThis wan't the question which you asked before. Please try to ask question based on what you already have done. However please go through following doc as it depends upon the type of cloining done
    Master Note For Cloning Oracle Database Server ORACLE_HOME's Using the Oracle Universal Installer (OUI) [ID 1154613.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Oracle database creation failed

    Hi ,
    iam trying to create a database manually .... my logfiles ,controlfiles and system file is getting created but later on mid it throws an error iam using o/s as windows and oracle 10g
    create database krishna
    error at line 1
    ora-ora-01092:oracle instance terminated disconnection forced :
    i have done the follwing steps :
    1) create a service on windows
    oradim -new -sid krishna
    2) crete a passwordfile
    orapwd file ='d:\oracle\oradata\pwdkrishna.ora password=krishna
    3) sqlplus /nolog
    4)connect / as sysdba
    5) create spfile from pfile
    6) exit
    7)startup nomount
    8) create database
    i have tried it around 3-4 times but my database isn't getting created every time iam getting the same error
    Kindly help..........
    Thanks &Regards
    Kavita

    Hi,
    Iam pasting the entire contents of alert log file ........
    Sat Sep 18 17:16:47 2010
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_1 parameter default value as C:\oracle\product\10.2.0\db_1\RDBMS
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    control_files = D:\ORACLE\ORADATA\KRISHNA\CONTROL01.CTL, D:\ORACLE\ORADATA\KRISHNA\CONTROL02.CTL
    compatible = 10.2.0.1.0
    undo_management = AUTO
    undo_tablespace = undotbs
    db_name = krishna
    Sat Sep 18 17:16:48 2010
    WARNING:Shared I/O Pool created with size=0 set size=0
    PMON started with pid=2, OS id=3524
    PSP0 started with pid=3, OS id=2044
    MMAN started with pid=4, OS id=2036
    DBW0 started with pid=5, OS id=172
    LGWR started with pid=6, OS id=568
    CKPT started with pid=7, OS id=132
    SMON started with pid=8, OS id=2200
    RECO started with pid=9, OS id=3768
    MMON started with pid=10, OS id=4084
    MMNL started with pid=11, OS id=2124
    Sat Sep 18 17:17:25 2010
    Shutting down instance: further logons disabled
    Sat Sep 18 17:17:25 2010
    Stopping background process MMNL
    Sat Sep 18 17:17:25 2010
    Stopping background process MMON
    Sat Sep 18 17:17:25 2010
    Shutting down instance (normal)
    License high water mark = 1
    Sat Sep 18 17:17:25 2010
    ALTER DATABASE CLOSE NORMAL
    ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
    ARCH: Archival disabled due to shutdown: 1090
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1090
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Sat Sep 18 17:17:35 2010
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_1 parameter default value as C:\oracle\product\10.2.0\db_1\RDBMS
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    control_files = D:\ORACLE\ORADATA\KRISHNA\CONTROL01.CTL, D:\ORACLE\ORADATA\KRISHNA\CONTROL02.CTL
    compatible = 10.2.0.1.0
    undo_management = AUTO
    undo_tablespace = undotbs
    db_name = krishna
    Sat Sep 18 17:17:35 2010
    WARNING:Shared I/O Pool created with size=0 set size=0
    PMON started with pid=2, OS id=2268
    PSP0 started with pid=3, OS id=3180
    MMAN started with pid=4, OS id=2972
    DBW0 started with pid=5, OS id=3140
    LGWR started with pid=6, OS id=2456
    CKPT started with pid=7, OS id=2480
    SMON started with pid=8, OS id=2356
    RECO started with pid=9, OS id=2140
    MMON started with pid=10, OS id=3848
    MMNL started with pid=11, OS id=3044
    Sat Sep 18 17:19:41 2010
    create database krishna
    datafile 'd:\oracle\oradata\krishna\system01.dbf' size 10m
    sysaux datafile 'd:\oracle\oradata\krishna\sys01.dbf' size 600m
    logfile
    group 1 ('D:\oracle\oradata\krishna\redo01.log') size 20m ,
    group 2( 'D:\oracle\oradata\krishna\redo02.log') size 20m
    undo tablespace undotbs
    datafile 'd:\oracle\oradata\krishna\undo01.dbf' size 600m
    default temporary tablespace temp01
    tempfile 'd:\oracle\oradata\krishna\temp01.dbf' size 100m
    Sat Sep 18 17:19:41 2010
    Database mounted in Exclusive Mode
    Sat Sep 18 17:19:43 2010
    Successful mount of redo thread 1, with mount id 222418157
    Assigning activation ID 222418157 (0xd41d4ed)
    Thread 1 opened at log sequence 1
    Current log# 1 seq# 1 mem# 0: D:\ORACLE\ORADATA\KRISHNA\REDO01.LOG
    Successful open of redo thread 1
    Sat Sep 18 17:19:43 2010
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Sat Sep 18 17:19:43 2010
    SMON: enabling cache recovery
    Sat Sep 18 17:19:43 2010
    create tablespace SYSTEM datafile 'd:\oracle\oradata\krishna\system01.dbf' size 10m
    default storage (initial 10K next 10K) EXTENT MANAGEMENT DICTIONARY online
    Sat Sep 18 17:19:43 2010
    Completed: create tablespace SYSTEM datafile 'd:\oracle\oradata\krishna\system01.dbf' size 10m
    default storage (initial 10K next 10K) EXTENT MANAGEMENT DICTIONARY online
    Sat Sep 18 17:19:43 2010
    create rollback segment SYSTEM tablespace SYSTEM
    storage (initial 50K next 50K)
    Completed: create rollback segment SYSTEM tablespace SYSTEM
    storage (initial 50K next 50K)
    Sat Sep 18 17:19:51 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_ora_2364.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-00942: table or view does not exist
    Sat Sep 18 17:19:51 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_ora_2364.trc:
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '%ORACLE_HOME%\RDBMS\ADMIN\SQL.BSQ' near line 5253
    ORA-00604: error occurred at recursive SQL level 2
    ORA-00942: table or view does not exist
    Error 1519 happened during db open, shutting down database
    USER: terminating instance due to error 1519
    Sat Sep 18 17:19:51 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_pmon_2268.trc:
    ORA-01519: error while processing file '' near line
    Sat Sep 18 17:19:52 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_reco_2140.trc:
    ORA-01519: error while processing file '' near line
    Sat Sep 18 17:19:52 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_smon_2356.trc:
    ORA-01519: error while processing file '' near line
    Sat Sep 18 17:19:52 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_ckpt_2480.trc:
    ORA-01519: error while processing file '' near line
    Sat Sep 18 17:19:52 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_lgwr_2456.trc:
    ORA-01519: error while processing file '' near line
    Sat Sep 18 17:19:52 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_dbw0_3140.trc:
    ORA-01519: error while processing file '' near line
    Sat Sep 18 17:19:52 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_mman_2972.trc:
    ORA-01519: error while processing file '' near line
    Sat Sep 18 17:19:52 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_psp0_3180.trc:
    ORA-01519: error while processing file '' near line
    Instance terminated by USER, pid = 2364
    ORA-1092 signalled during: create database krishna
    datafile 'd:\oracle\oradata\krishna\system01.dbf' size 10m
    sysaux datafile 'd:\oracle\oradata\krishna\sys01.dbf' size 600m
    logfile
    group 1 ('D:\oracle\oradata\krishna\redo01.log') size 20m ,
    group 2( 'D:\oracle\oradata\krishna\redo02.log') size 20m
    undo tablespace undotbs
    datafile 'd:\oracle\oradata\krishna\undo01.dbf' size 600m
    default temporary tablespace temp01
    tempfile 'd:\oracle\oradata\krishna\temp01.dbf' size 100m
    Dump file c:\oracle\product\10.2.0\db_1\rdbms\trace\alert_krishna.log
    Sat Sep 18 18:23:35 2010
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows XP Version V5.1 Service Pack 2
    CPU : 1 - type 586
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:84M/1015M, Ph+PgF:1823M/2967M, VA:1941M/2047M
    Sat Sep 18 18:23:35 2010
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Shared memory segment for instance monitoring created
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_1 parameter default value as C:\oracle\product\10.2.0\db_1\RDBMS
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    control_files = D:\ORACLE\ORADATA\KRISHNA\CONTROL01.CTL, D:\ORACLE\ORADATA\KRISHNA\CONTROL02.CTL
    compatible = 10.2.0.1.0
    undo_management = AUTO
    undo_tablespace = UNDOTBS
    db_name = krishna
    Sat Sep 18 18:23:37 2010
    WARNING:Shared I/O Pool created with size=0 set size=0
    PMON started with pid=2, OS id=112
    PSP0 started with pid=3, OS id=240
    MMAN started with pid=4, OS id=1136
    DBW0 started with pid=5, OS id=3164
    LGWR started with pid=6, OS id=1600
    CKPT started with pid=7, OS id=1484
    SMON started with pid=8, OS id=1488
    RECO started with pid=9, OS id=1456
    MMON started with pid=10, OS id=4004
    MMNL started with pid=11, OS id=4020
    Sat Sep 18 18:25:42 2010
    create database krishna
    datafile 'd:\oracle\oradata\krishna\system01.dbf' size 10m
    sysaux datafile 'd:\oracle\oradata\krishna\sys01.dbf' size 60m
    logfile
    group 1 ('D:\oracle\oradata\krishna\redo01.log') size 20m ,
    group 2( 'D:\oracle\oradata\krishna\redo02.log') size 20m
    undo tablespace undotbs
    datafile 'd:\oracle\oradata\krishna\undo01.dbf' size 60m
    default temporary tablespace temp01
    tempfile 'd:\oracle\oradata\krishna\temp01.dbf' size 10m
    Sat Sep 18 18:25:43 2010
    Database mounted in Exclusive Mode
    Sat Sep 18 18:25:49 2010
    Successful mount of redo thread 1, with mount id 222405990
    Assigning activation ID 222405990 (0xd41a566)
    Thread 1 opened at log sequence 1
    Current log# 1 seq# 1 mem# 0: D:\ORACLE\ORADATA\KRISHNA\REDO01.LOG
    Successful open of redo thread 1
    Sat Sep 18 18:25:49 2010
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Sat Sep 18 18:25:49 2010
    SMON: enabling cache recovery
    Sat Sep 18 18:25:49 2010
    create tablespace SYSTEM datafile 'd:\oracle\oradata\krishna\system01.dbf' size 10m
    default storage (initial 10K next 10K) EXTENT MANAGEMENT DICTIONARY online
    Sat Sep 18 18:25:51 2010
    Completed: create tablespace SYSTEM datafile 'd:\oracle\oradata\krishna\system01.dbf' size 10m
    default storage (initial 10K next 10K) EXTENT MANAGEMENT DICTIONARY online
    Sat Sep 18 18:25:51 2010
    create rollback segment SYSTEM tablespace SYSTEM
    storage (initial 50K next 50K)
    Completed: create rollback segment SYSTEM tablespace SYSTEM
    storage (initial 50K next 50K)
    Sat Sep 18 18:26:02 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_ora_3748.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-00942: table or view does not exist
    Sat Sep 18 18:26:02 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_ora_3748.trc:
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '%ORACLE_HOME%\RDBMS\ADMIN\SQL.BSQ' near line 5253
    ORA-00604: error occurred at recursive SQL level 2
    ORA-00942: table or view does not exist
    Sat Sep 18 18:26:02 2010
    Error 1519 happened during db open, shutting down database
    USER: terminating instance due to error 1519
    Sat Sep 18 18:26:02 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_lgwr_1600.trc:
    ORA-01519: error while processing file '' near line
    Sat Sep 18 18:26:02 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_pmon_112.trc:
    ORA-01519: error while processing file '' near line
    Sat Sep 18 18:26:02 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_reco_1456.trc:
    ORA-01519: error while processing file '' near line
    Sat Sep 18 18:26:02 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_smon_1488.trc:
    ORA-01519: error while processing file '' near line
    Sat Sep 18 18:26:02 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_ckpt_1484.trc:
    ORA-01519: error while processing file '' near line
    Sat Sep 18 18:26:03 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_dbw0_3164.trc:
    ORA-01519: error while processing file '' near line
    Sat Sep 18 18:26:03 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_mman_1136.trc:
    ORA-01519: error while processing file '' near line
    Sat Sep 18 18:26:03 2010
    Errors in file c:\oracle\product\10.2.0\db_1\rdbms\trace\krishna_psp0_240.trc:
    ORA-01519: error while processing file '' near line
    Instance terminated by USER, pid = 3748
    ORA-1092 signalled during: create database krishna
    datafile 'd:\oracle\oradata\krishna\system01.dbf' size 10m
    sysaux datafile 'd:\oracle\oradata\krishna\sys01.dbf' size 60m
    logfile
    group 1 ('D:\oracle\oradata\krishna\redo01.log') size 20m ,
    group 2( 'D:\oracle\oradata\krishna\redo02.log') size 20m
    undo tablespace undotbs
    datafile 'd:\oracle\oradata\krishna\undo01.dbf' size 60m
    default temporary tablespace temp01
    tempfile 'd:\oracle\oradata\krishna\temp01.dbf' size 10m ...
    Kindly help
    Regards

  • How to create the oracle database for MDM

    Hello Friends,
    I am new to MDM technology. I have been asked to install MDM 5.5 on windows with oracle database.
    i have gone through the installation guides and master guide of MDM. But in the installation the procedure is not given to create the data base after oracle installation. i want to know do i need to create the database manually if yes then what should be the DBSID of the database and schema name etc.
    Please help.
    Thanks,
    Manoj

    Well, let's rock.
    <b>Oracle database creation</b>
    Use <b>Oracle Database Configuration Assistant</b> (Start -> Programs -> ...) to create a new database.
    The database naming (on Step 3) is up to you. I used MDM as for SID and MDM.<MYHOSTNAME>.<MYDOMAIN> as for the db name.
    Be sure you select UTF8 for the character set (on Step 12) - this requirement is mentioned in the SAP MDM Installation Guide.
    All other settings can go default.
    <b>Listener and TNS name configuration</b>
    The next step is to configure a listener and tns name for your database.
    Run the <b>Oracle Net Configuration Assistance</b> and select the "Listener configuration". Default settings on the wizard pages should suite your configuration.
    Click Finish.
    Run the <b>Oracle Net Configuration Assistance</b> again and select the "Local Service Name configuration". Add one. Choose the name of the database for the service name. It was MDM.<MYHOSTNAME>.<MYDOMAIN> for me.
    Ensure that you use name of the database that you've entered during the database creation.
    Everything else should go as suggested by default.
    Once you are at the Test stage of the wizard and get the "invalid login/password" message, clisk "Change login" and use SYSTEM user and the password you\ve entered during databae creation.
    After the test passes, you can connect to your Oracle database through the MDM Console.
    Please, let me know if you have any questions, I'll help.
    Thanks!

  • Oracle Database Character set and DRM

    Hi,
    I see the below context in the Hyperion EPM Installation document.
    We need to install only Hyperion DRM and not the entire Hyperion product suite, Do we really have to create the database in one of the uft-8 character set?
    Why it is saying that we must create the database this way?
    Any help is appreciated.
    Oracle Database Creation Considerations:
    The database must be created using Unicode Transformation Format UTF-8 encoding
    (character set). Oracle supports the following character sets with UTF-8 encoding:
    l AL32UTF8 (UTF-8 encoding for ASCII platforms)
    l UTF8 (backward-compatible encoding for Oracle)
    l UTFE (UTF-8 encoding for EBCDIC platforms)
    Note: The UTF-8 character set must be applied to the client and to the Oracle database.
    Edited by: 851266 on Apr 11, 2011 12:01 AM

    Srini,
    Thanks for your reply.
    I would assume that the ConvertToClob function would understand the byte order mark for UTF-8 in the blob and not include any parts of it in the clob. The byte order mark for UTF-8 consists of the byte sequence EF BB BF. The last byte BF corresponds to the upside down question mark '¿' in ISO-8859-1. Too me, it seems as if ConvertToClob is not converting correctly.
    Am I missing something?
    BTW, the database version is 10.2.0.3 on Solaris 10 x86_64
    Kind Regards,
    Eyðun
    Edited by: Eyðun E. Jacobsen on Apr 24, 2009 8:26 PM

  • Oracle 9i manual database creation on the Red Hat 9 Linux

    I installed Oracle 9I on the Red Hat 9 Linux successfully with automatic database creation.
    I tried to create second database manually and everything seemed to be fine until I issued create database statement. I got the following error:
    ERROR at line 1
    ORA-01092: ORACLE instance terminated. Disconnection forced.
    Please help me to solve the problem.
    Thank you,

    Ok I am having the same exact problem and I am typing this into the shell before I run the installer.
    export DISPLAY=yourdesktop:0.0
    I thought that would fix the problem but it still hangs and gives the same message as the other guy gets. How can I solve this problem and get the installer running? I would really appreciate any help. This is the message I get:
    [oracle@localhost linux]$ ./runInstaller
    Initializing Java Virtual Machine from /tmp/OraInstall2003-08-02_10-09-53PM/jre/bin/java. Please wait...
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.&lt;clinit&gt;(X11GraphicsEnvironment.java:59)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:120)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
    at java.awt.Window.&lt;init&gt;(Window.java:188)
    at java.awt.Frame.&lt;init&gt;(Frame.java:315)
    at java.awt.Frame.&lt;init&gt;(Frame.java:262)
    at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)
    [oracle@localhost linux]$

  • Manual database creation

    Hi all,
    I need to create a small database manually.
    What are the mandatory fields for DB creation.
    What are the steps to be followed?
    If anyone have the script please send me.
    Thanks in advance.
    regards,
    prem

    hi prem..
    you have to create script for database creation..
    no problem if ur on 9i.
    let do below step..
    step 1. open ur dbca and create script for ur database.
    step 2. create folder
    bdump, udump, cdump ---- d:\oracle\ora90\admin\3 folder 1.bdump, 2. udump, 3.cdump
    folder name some ur db_name -----d:\oracle\oradata\"folder name must be some ur db_name"
    step 3. go cmd prompt
    start>run>command [enter]
    cmd>set oracle_sid=dbname
    cmd> create password file..... ( see mentioned link in previous post)
    cmd>create and start services ( see mentioned link in prev. post)
    cmd>sqlplus/nolog
    sql>conn sys as sysdba
    connected
    sql> run all database creation scripts.
    script generate in
    d:\oracle\admin\script\>>>>>>.scritps
    Note.>> Drive may be C:,D: whatever according ur setting.
    hope this helps
    Taj.
    Message was edited by:
    user52

  • Database creation in oracle 9i

    can any one tell me step of database creation in oracle 9i
    i try many times from 2 days through script because my DBCA is not open
    when i click it. DBCA created orcl during instalation but now
    it is not running. will i have to install it ?
    1)i add db_name=mukesh below db_name=orcl and run script but errors
    2)i crete initm.ora by copy init.ora and change db_name=orcl by db_name=mukesh
    in initm.ora but errors
    1)when i use init.ora without adding db_name=mukesh
    i also change undo_management by AUTO to manual i get
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup pfile=D:\oracle\admin\orcl\pfile\init.ora nomount
    ORACLE instance started.
    Total System Global Area 135338868 bytes
    Fixed Size 453492 bytes
    Variable Size 109051904 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 667648 bytes
    SQL> create database mukesh
    2 datafile 'D:\oracle\oradata\mukesh\system01.dbf' size 325m
    3 logfile
    4 group 1 ('D:\oracle\oradata\mukesh\redo01.log') size 100m,
    5 group 2 ('D:\oracle\oradata\mukesh\redo02.log') size 100m,
    6 group 3 ('D:\oracle\oradata\mukesh\redo03.log') size 100m;
    create database mukesh
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-01504: database name 'mukesh' does not match parameter db_name 'orcl'
    after that i add db_name=mukesh below db_name=orcl
    SQL> shutdown immediate;
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> startup pfile=D:\oracle\admin\orcl\pfile\init.ora nomount
    ORACLE instance started.
    Total System Global Area 135338868 bytes
    Fixed Size 453492 bytes
    Variable Size 109051904 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 667648 bytes
    SQL> create database mukesh
    2 datafile 'D:\oracle\oradata\mukesh\system01.dbf' size 325m
    3 logfile
    4 group 1 ('D:\oracle\oradata\mukesh\redo01.log') size 100m,
    5 group 2 ('D:\oracle\oradata\mukesh\redo02.log') size 100m,
    6 group 3 ('D:\oracle\oradata\mukesh\redo03.log') size 100m;
    create database mukesh
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: controlfile could not be created
    ORA-00202: controlfile: 'D:\oracle\oradata\orcl\CONTROL01.CTL'
    ORA-27038: skgfrcre: file exists
    OSD-04010: <create> option specified, file already exists

    Hi,
    If you getting a problem with DBCA go for manually process:-
    I had listed steps which I follow
    Step 1: Decide on Your Instance's System Identifier (SID)
    Step 2: Create the Initialization Parameter File
    Note:- Name the copied init.ora file init<SID>.ora because this is the default naming convention that the Oracle server looks for when it tries to start up the instance ORACLE_HOME/dbs directory (exists over the prefered path)
    Edit this file's parameters so that your database and your instance will run effectively on your system.
    DB_NAME Must be set to a text string of eight characters or less. During database creation, the value assigned to DB_NAME is recorded in the database's datafiles, redo log files, and control files. If, when you attempt to start the database instance, the value of DB_NAME as recorded in the initialization parameter file and the database name in the control files are not the same, the database will not start.
    DB_DOMAIN A text string that specifies the network domain where the database is created.
    CONTROL_FILES Is assigned the comma-separated list of control file names to use for the new database. When you execute the CREATE DATABASE statement, the control files listed as values assigned to this parameter are created. If you fail to specify a filename for the CONTROL_FILES parameter, Oracle creates a file with a default operating system dependant filename.
    DB_BLOCK_SIZE Specifies the standard block size of the database. This size is used in the creation of the system tablespace and by default in any other tablespaces created. Take care when determining what this value should be because after the database is created, the value cannot be changed.
    UNDO_MANAGEMENT Determines whether the database starts in automatic undo management mode. A value of AUTO enables automatic undo management; MANUAL enables manual undo management mode. In 9i, AUTO is suggested, but MANUAL is default.
    UNDO_TABLESPACE When the instance starts in automatic undo management mode, it needs to have a tablespace in which to store its undo information. The default is SYS_UNDOTBS and is automatically created if you execute a CREATE DATABASE statement with the UNDO_MANAGEMENT initialization parameter set to AUTO and no UNDO TABLESPACE statement in the CREATE DATABASE statement.
    Step 3: Connect to and Start the Instance
    Connect to the instance as SYSDBA either using operating system authentication or the password file method of authentication and start up the instance using the STARTUP command.
    sqlplus '/ as sysdba'
    If your parameter file is not in the default location or is not named init<SID>.ora, you may need to specify the PFILE clause in the STARTUP command for the instance to start.
    Because you do not yet have a database attached to the instance, you need to start up the instance in NOMOUNT state:
    startup nomount;
    The instance is now started and ready for the CREATE DATABASE command.
    Step 4: Issue the CREATE DATABASE Statement
    create database mydb1 controlfile reuse
    Logfile
    Group 1 ('/mydb1/log1/log01a.log',
    '/mydb2/mydb1/log01b.log') size 50M,
    Group 2 ('/mydb1/log1/log02a.log',
    '/mydb2/log1/log02b.log') size 50M,
    Group 3 ('/mydb1/log1/log03a.log',
    '/mydb2/mydb1/log03b.log') size 50M
    Datafile '/mydb1/mydb1_system.dbf' 250M
    AUTOEXTEND ON MAXSIZE 500M
    Undo tablespace mydb1_undo1
    Datafile '/mydb/mydb1/mydb1_undo1.dbf' 50M
    Default temporary tablespace mydb1temp tempfile
    '/mydb/mydb1/mydb1temp1.dbf' size 75M
    Extent management local
    Character set US7ASCII
    MAXLOGFILES 10
    MAXLOGMEMBERS 10
    MAXLOGHISTORY 1
    MAXDATAFILES 500;
    Thanks
    Pavan Kumar N

  • Oracle 10g database creation in windows2003 server

    hi,
    i need the step by step procedure to create oracle 10g database in windows 2003 server.
    with regards
    velu

    asifkabirdba wrote:
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15681/toc.htm
    Asif,
    IMO, the OP wanted to have steps given to him for the database creation , not the installation of the software.Not sure though since the wording chosen by him is not very clear.
    @OP,
    If you are looking for the database creation steps , the best would be to use DBCA! Other than that, you may want to look at the manual way of doing the same, given over here.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#i1017640
    That said, if you were looking for the installation instructions, please look at the link given by Asif.
    HTH
    Aman....

  • Errors and Queries regarding manually create database in oracle 9i

    Create database manually with following steps:
    1) Create SID
    C:\> set ORACLE_SID=mynewdb
    2)Create suitable database directories within oracle directory.
    Create folders udump,cdump,bdump within C:\oracle\admin\mynewdb\
    3)Create PFILE
    4)Create a password file using:
    C:\> orapwd file=C:\oracle\ora90\database\PWDmynewdb.ora password=oracle
    5)Create an instance of database
    C:\> oradim -new -sid mynewdb
    6)Start sqlplus:
    C:\> sqlplus\nolog
    7)connect / as sysdba
    8)startup nomount
    9)Run CREATE DATABASE script
    'Database Created' prompt display on screen.
    11) Run two scripts i.e. catalog.sql and catproc.sql
    Following are errors and queries related to database creation. :
    Errors+_
    Following error occur when start database:
    Total System Global Area 336359616 bytes
    Fixed Size 282816 bytes
    Variable Size 234881024 bytes
    Database Buffers 100663296 bytes
    Redo Buffers 532480 bytes
    Database mounted.
    ORA-01092: ORACLE instance terminated. Disconnection forced
    For start database I give following command, but it gives me same error:
    STARTUP OPEN PFILE='c:\ORACLE\ORA90\DATABASE\initmynewdb.ora'
    or
    STARTUP FORCE OPEN PFILE='c:\ORACLE\ORA90\DATABASE\initmynewdb.ora'
    or
    STARTUP OPEN
    or
    STARTUP FORCE OPEN
    Queries_
    *1)There are one databases in my machine name "orcl"*
    when I give commands
    C:\> connect / as sysdba
    C:\> startup nomount
    When I run "connect / as sysdba", in this which database instance connect?
    how the oracle will know to start mynewdb database instance in nomount? although I am not create database.
    *2) Step "startup nomount". In this, which database started in nomount?*
    *3) There is no reference for PFILE in CREATE DATABASE script. How the oracle will know which is the PFILE for database mynewdb?*
    *4) I create password file, how the oracle will know password file for which database (in this case mynewdb database)? How to map password file with particular database?*
    Thanks and Regards,
    Sachin

    Hi,
    not any thing new from the already given answer. But, i hope this examples gives more clarity.
    Answers below:
    1) ORACLE_SID is the answer
    2) see the output below.
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 61785680 bytes
    Fixed Size 730704 bytes
    Variable Size 58720256 bytes
    Database Buffers 2048000 bytes
    Redo Buffers 286720 bytes
    SQL> select instance_name from v$instance;
    INSTANCE_NAME
    mytestdB
    SQL>
    SQL> show parameter db_name
    NAME TYPE
    VALUE
    db_name string
    mytestdB
    3) Check environment variables for ORACLE_HOME variable will let you know the location of the PFILE. By default it will be ORACLE_HOME/database (windows), ORACLE_HOME/dbs (LINUX/UNIX).
    SET command will help you or use widows options.
    In some other cases, the PFILE contains the link to it with IFILE value left in PFILE which should show the location.
    4) Check environment variables for ORACLE_HOME variable will let you know the location of the password file. By default it will be expected in ORACLE_HOME/database (windows), ORACLE_HOME/dbs (LINUX/UNIX).
    Regrds,
    Vasu.

  • Manual Database Creation on win 2000

    Oracle 9i(release 1) database server is installed on win2000 server.
    i want complete detail steps to create database manually ON WIN 2000 SERVER.
    i tried to create database manually but when i runs the
    database creation script it generates an error 'INSTANCE TERMINATED : DISCONNECTION FORCED'
    I AM STUDENT OF FUNDAMENTAL 1 COURSE.
    rohit

    It is good to know the steps to create a database manually. If you run the dbca and choose only to create the scripts you realize the steps. Apart from that if you are studying for Fundamentals I exam and you want to it because you think that content is going to appear. Forget it. In that exam there are not questions related to steps to create a database manually and less in windows.
    To learn to create a database in Unix makes sense really!
    Joel Pérez

  • Oracle 9i installation hanging in "Clone Database Creation in Process"

    Hi all,
    I have been struggling in installing the 9i in my laptop.
    Here is my setup,
    OS: Windows Server 2003 Enterprise Edition SP2 in VMWare
    Database: Oracle 9i 9.2.0.1.0
    When it automatically comes to "Database Configuration Assistant", there are 4 steps.
    Copying Database files
    Initializing Database
    Creating and starting Oracle Instance
    Completing database creation
    The 1st 3 steps has been completed and the installation just hangs at the last step when the completion rate is 88%.
    Anyone got problem like this ?
    Here are the details I have so far for the DBCA during installation process,
    Listener Control complete.
    Listener start failed. Listener may already be running.
    Listener configuration complete.
    Default local naming configuration complete.
    Oracle Net Services configuration successful. The exit code is 0
    Since I am completely new to installing DB, please help me to get rid of this frustration.
    Thanks !
    Regards,
    Chris

    Capacity Planner 9.2.0.1.0
              Enterprise Manager Events 9.2.0.1.0
              Enterprise Manager Base Classes 9.2.0.1.0
              Required Support Files 9.2.0.1.0
              Enterprise Manager Installation Prerequisite Checks 9.2.0.1.0
              Utilities Common Files 9.2.0.1.0
              Enterprise Manager Quick Tours 9.2.0.1.0
              Oracle Display Fonts 9.0.2.0.0
              regexp 2.0.20.0.0
              Oracle OLAP Worksheet 9.2.0.1.0
              Oracle OLAP API 9.2.0.1.0
              Oracle Developer Server Forms Manager 9.2.0.1.0
              Oracle Intelligent Agent Base Component Files 9.2.0.1.0
              Oracle Internet Directory Client Common Files 9.2.0.1.0
              Sun JDK 1.3.1.0.1a
              Oracle Directory Manager 9.2.0.1.0
              Visigenics ORB 3.4.0.0.0
              Assistant Common Files 9.2.0.1.0
              Enterprise Manager Paging and OMS Common Files 9.2.0.1.0
              XML Parser for C 9.2.0.1.0
              Oracle Net Configuration Assistant 9.2.0.1.0
              Character Set Migration Utility 9.2.0.1.0
              Enterprise Manage Website Translated Files 9.2.0.1.0
              Oracle Net Manager 9.2.0.1.0
              Oracle Net 9.2.0.1.0
              Oracle Perl Interpreter 5.00503.0.0.0c
              Apache Web Server files 1.3.22.0.0a
              Oracle JDBC/OCI Driver for JDK 1.4 9.2.0.1.0
              Database Configuration Assistant 9.2.0.1.0
              Oracle JDBC/OCI Driver for JDK 1.2 9.2.0.1.0
              Oracle INTYPE File Assistant 9.2.0.1.0
              SQLJ Runtime 9.2.0.1.0
              Oracle JDBC/OCI Interfaces 9.2.0.1.0
              Advanced Queueing (AQ) API 9.2.0.1.0
              Oracle Caching Service for Java 2.1.0.0.0a
              Recovery Manager 9.2.0.1.0
              JSDK 2.0.0.0.0d
              Apache JServ 1.1.0.0.0g
              Oracle interMedia Java Client 9.2.0.1.0
              Oracle Java Layout Engine 2.0.1.0.0
              Oracle Administration Assistant for Windows NT 9.2.0.1.0
              Oracle XML SQL Utility 9.2.0.1.0
              SQLJ Translator 9.2.0.1.0
              Enterprise Login Assistant 9.2.0.1.0
              Oracle Services For Microsoft Transaction Server 9.2.0.1.0
              Enterprise Manager Paging Server 9.2.0.1.0
              Oracle Java Tools 9.2.0.1.0
              Oracle ODBC Driver 9.2.0.1.0
              Authentication and Encryption 9.2.0.1.0
              Oracle Wallet Manager 9.2.0.1.0
              Oracle Database User Interface 2.2.11.0.0
              Oracle SNMP Agent 9.2.0.1.0
              Oracle Provider for OLE DB 9.2.0.1.0
              Oracle Objects for OLE 9.2.0.4.4
              Oracle C++ Call Interface 9.2.0.1.0
              Oracle OLAP Cube Viewer 9.2.0.1.0
              Oracle OLAP CWM Lite 9.2.0.1.0
              Object Type Translator 9.2.0.1.0
              SQL*Plus 9.2.0.1.0
              Oracle Call Interface (OCI) 9.2.0.1.0
              SQL*Loader 9.2.0.1.0
              Secure Socket Layer 9.2.0.1.0
              Oracle Internet Directory Client 9.2.0.1.0
              Oracle Net Listener 9.2.0.1.0
              Advanced Replication 9.2.0.1.0
              Oracle Complete DSS Starter Database 9.2.0.1.0
              Oracle Complete OLTP Starter Database 9.2.0.1.0
              Oracle Starter Database 9.2.0.1.0
              Oracle Message Gateway Common Files 9.2.0.1.0
              Oracle Common Schema Demos 9.2.0.1.0
              Change Management Common Files 9.2.0.1.0
              Oracle UIX 2.0.20.0.0
              Oracle Help for the Web 1.0.7.0.0
              XML Class Generator for C++ 9.2.0.1.0
              XML Parser for C++ 9.2.0.1.0
              XML Parser for Oracle JVM 9.2.0.1.0
              XML Transx 9.2.0.1.0
              XML Transviewer Beans 9.2.0.1.0
              XML Class Generator for Java 9.2.0.1.0
              XSQL Servlet 9.2.0.1.0
              XML Parser for PL/SQL 9.2.0.1.0
              Oracle SQLJ 9.2.0.1.0
              Enterprise Manager Common Files 9.2.0.1.0
              Common Files For Generic Connectivity Using OLEDB 9.2.0.1.0
              Oracle SOAP Client 2.0.0.0.0a
              Oracle Workflow Manager 9.2.0.1.0
              Oracle Net Integration 9.2.0.1.0
              Oracle XML Runtime Components 9.2.0.1.0
              Enterprise Manager Database Applications 9.2.0.1.0
              Oracle SOAP Server 2.0.0.0.0a
              Oracle Database Demos 9.2.0.1.0
              Oracle Ultra Search Common Files 9.2.0.1.0
              Enterprise Manager Console 9.2.0.1.0
              Enterprise Manager Integrated Applications 9.2.0.1.0
              Enterprise Manager Client 9.2.0.1.0
              Database Workspace Manager 9.2.0.1.0
              Oracle interMedia Java Advanced Imaging 9.2.0.1.0
              Oracle interMedia Client Compatibility Files 9.2.0.1.0
              Oracle interMedia Java Media Framework Client 9.2.0.1.0
              Oracle interMedia Client Demos 9.2.0.1.0
              Oracle interMedia Web Client 9.2.0.1.0
              BC4J Runtime for Database 9.0.2.692.1
              Oracle Change Management Pack 9.2.0.1.0
              Oracle interMedia Annotator 9.2.0.1.0
              Data Management Services Common Files 9.2.0.1.0
              Oracle interMedia Common Files 9.2.0.1.0
              Oracle interMedia Image 9.2.0.1.0
              Oracle interMedia Audio 9.2.0.1.0
              Oracle interMedia Video 9.2.0.1.0
              Database Upgrade Assistant 9.2.0.1.0
              Oracle Intelligent Agent Config Tool 9.2.0.1.0
              Oracle Intelligent Agent 9.2.0.1.0
              PL/SQL Embedded Gateway 9.2.0.1.0
              Oracle HTTP Server Extensions 9.2.0.1.0
              Oracle eBusiness Management Extensions 9.2.0.1.0
              Oracle EMD Agent Extensions 9.2.0.1.0
              Oracle interMedia Client Option 9.2.0.1.0
              Oracle SOAP for JServ 2.0.0.0.0a
              MIcrosoft SQLServer(TM) Extensions 9.2.0.1.0
              Oracle Management Pack for Oracle Applications 9.2.0.1.0
              Oracle Windows Interfaces 9.2.0.1.0
              Export/Import 9.2.0.1.0
              Apache Configuration for Oracle XML Developer's Kit 9.2.0.1.0
              Oracle Tuning Pack 9.2.0.1.0
              Oracle Forms Extensions 9.2.0.1.0
              Oracle XML Developer's Kit 9.2.0.1.0
              Oracle Java Server Pages 1.1.3.1.0
              Oracle Diagnostics Pack 9.2.0.1.0
              Oracle Ultra Search Middle-Tier 9.2.0.1.0
              Oracle Dynamic Services Server 9.2.0.1.0
              Oracle Mod PL/SQL Gateway 3.0.9.8.3b
              Apache Configuration for Oracle Java Server Pages 1.1.2.3.0
              Oracle Text 9.2.0.1.0
              Generic Connectivity Common Files 9.2.0.1.0
              New Database ID 9.2.0.1.0
              Database SQL Scripts 9.2.0.1.0
              Generic Connectivity Using OLEDB - SQL 9.2.0.1.0
              Oracle HTTP Server 9.2.0.1.0
              XML 9.2.0.1.0
              Generic Connectivity Using OLEDB - FS 9.2.0.1.0
              iSQL*Plus 9.2.0.1.0
              Generic Connectivity Using ODBC 9.2.0.1.0
              Enterprise Manager Webserver Integration 9.2.0.1.0
              Reporting Framework 9.2.0.1.0
              Oracle interMedia Locator 9.2.0.1.0
              Oracle Management Server 9.2.0.1.0
              Oracle Ultra Search Server 9.2.0.1.0
              Oracle interMedia 9.2.0.1.0
              Oracle Trace 9.2.0.1.0
              Oracle9i Syndication Server 9.2.0.1.0
              Enterprise Manager Web Site 9.2.0.1.0
              Oracle Applications Extensions 9.2.0.1.0
              Oracle Intelligent Agent Extensions 9.2.0.1.0
              Oracle Programmer 9.2.0.1.0
              Migration Utility 9.2.0.1.0
              Oracle Enterprise Manager Products 9.2.0.1.0
              Oracle9i Development Kit 9.2.0.1.0
              Oracle Advanced Security 9.2.0.1.0
              Oracle JVM 9.2.0.1.0
              Database Verify Utility 9.2.0.1.0
              PL/SQL 9.2.0.1.0
              Oracle Database Utilities 9.2.0.1.0
              Oracle9i 9.2.0.1.0
              Oracle Net Services 9.2.0.1.0
              Oracle COM Automation Feature 9.2.0.1.0
              Oracle Data Mining 9.2.0.1.0
              Oracle OLAP 9.2.0.1.0
              Oracle Spatial 9.2.0.1.0
              Oracle Partitioning 9.2.0.1.0
              Enterprise Edition Options 9.2.0.1.0
              Oracle9i Database 9.2.0.1.0
    Starting to execute optional autolaunch configuration tools
    Launched configuration tool Oracle Net Configuration Assistant
    Command which is being spawned is C:\Program Files\Oracle\jre\1.1.8\bin/jrew.exe -Duser.dir=C:\oracle\ora92\network\jlib -classpath ";C:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;C:\oracle\ora92\jlib\ewt3.jar;C:\oracle\ora92\jlib\ewtcompat-3_3_15.jar;C:\oracle\ora92\network\jlib\NetCA.jar;C:\oracle\ora92\network\jlib\netcam.jar;C:\oracle\ora92\jlib\netcfg.jar;C:\oracle\ora92\jlib\help3.jar;C:\oracle\ora92\jlib\oracle_ice5.jar;C:\oracle\ora92\jlib\share.jar;C:\oracle\ora92\jlib\swingall-1_1_1.jar;C:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;C:\oracle\ora92\jlib\srvm.jar;C:\oracle\ora92\network\tools" oracle.net.ca.NetCA /orahome C:\oracle\ora92 /orahnam OraHome92 /instype typical /inscomp client,oraclenet,javavm,server,ano /insprtcl tcp,nmp,tcps /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile C:\oracle\ora92\network\install\netca_typ.rsp
    Configuration tool Oracle Net Configuration Assistant succeeded
    Result code for launching of configuration tool is 0
    Launched configuration tool Oracle Database Configuration Assistant
    Command which is being spawned is C:\Program Files\Oracle\jre\1.1.8\bin/jrew.exe -DORACLE_HOME="C:\oracle\ora92" -DJDBC_PROTOCOL="thin" -classpath ";C:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;C:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;C:\oracle\ora92\jlib\ewt3.jar;C:\oracle\ora92\jlib\kodiak.jar;C:\oracle\ora92\jlib\ewtcompat-3_3_15.jar;C:\oracle\ora92\lib\xmlparserv2.jar;C:\oracle\ora92\jdbc\lib\classes111.zip;C:\oracle\ora92\classes;C:\oracle\ora92\jlib\gss-1-1.zip;C:\oracle\ora92\jlib\oembase-9_2_0.jar;C:\oracle\ora92\jlib\srvm.jar;C:\oracle\ora92\assistants\jlib\assistantsCommon.jar;C:\oracle\ora92\jlib\share.jar;C:\oracle\ora92\jlib\swingall-1_1_1.jar;C:\oracle\ora92\assistants\dbca\jlib\dbca.jar;C:\oracle\ora92\jlib\help3.jar;C:\oracle\ora92\jlib\oracle_ice5.jar;C:\oracle\ora92\jlib\netcfg.jar;C:\oracle\ora92\lib\vbjorb.jar;C:\oracle\ora92\lib\vbjtools.jar;C:\oracle\ora92\lib\vbjapp.jar;" oracle.sysman.assistants.dbca.Dbca -progress_only -createDatabase -templateName General_Purpose.dbc -gdbName orcl -sid orcl -datafileJarLocation C:\oracle\ora92\assistants\dbca\templates -datafileDestination C:\oracle\oradata -responseFile NO_VALUE -characterset WE8MSWIN1252 -passwordDialog true Protected value, not to be logged

  • StandBy database creation in oracle 10g

    Respected Sir's
    I have to create stand by database in oracle 10g i am working on (Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod) .Plz any body provide steps required for creating stand by database in oracle10g.Both the database db1 and db2 are running on archivelog.I am confuse how to set archivelog parameter that goes to db2(standby database) from db(primary database).Any one provide me steps to properly configuring the stand by database.
    Thanks

    Respected Sir
    These are the detailed steps that i performed on standby and primary database.
    On both the systems i install the oracle in E drive and the database i create in G drive and archive destination also in G drive.
    Like G:\prod1\(all the datafiles,logfiles and control file).
    G:\arch\(all the archive files).
    ON PRIMARY DATABASE(IP:192.168.2.14):
    1.First i create a database with DBCA and the database SID is prod1.
    2.Put the database in archive mode and also enable the force logging.
    3.Shutdown the Primary database and modify the following parameters in pfile.
    log_archive_dest_1='LOCATION=G:\ARCH'
    log_archive_dest_2 = "service=STDBY mandatory reopen=60"
    log_archive_dest_state_1 = enable
    log_archive_dest_state_2 = enable
    log_archive_min_succeed_dest = 2
    4.Mount the primary database and create the standby controle file and create the spfile from the modified pfile.
    5.Shutdown the primary database and take the backup of all the datafile,logfile,standby controlfile ,passwordfile,pfile in a folder.
    6.Startup the primary database.
    Tnsname.ora Configuration.
    Create the connection string using the Net Manager with name STDBY and in host name i provide the IP address of the standby database.
    ON STANDBY DATABASE(IP 192.168.2.9):
    Listener.ora Configuration.
    Create a listener using the Net configuration Assistance.
    1.I copy the datafile,logfile and standby controle file in g:\prod1
    2.Copy the E:\oracle\product\10.2.0\admin\prod1 folder from primary database and past it on the same location on the standby database.
    3.On standby pfile i change only the standby_archive_dest parameter to g:\arch.
    4.Create the service with oradim -SID -NEW prod1 -STARTMODE manuall
    5.Start the standby database in nomount mode.
    6.Create the spfile from pfile and shutdown the database.
    7.Startup the database in nomount mode using spfile.
    8.ALTER DATABASE MOUNT STANDBY DATABASE;
    These are the occurs when i use tnsping stdby on primary database.
    C:\Documents and Settings\Administrator>TNSPING STDBY
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 04-FEB-2009 12:03:55
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    E:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.9
    NECT_DATA = (SERVICE_NAME = prod1)))
    OK (20 msec)
    sqlnet.ora file on stand by database.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, LDAP)
    BEQUEATH_DETACH=yes
    AUTOMATIC_IPC = ON
    NAMES.DEFAULT_DOMAIN = IDEVELOPMENT.INFO
    SQLNET.EXPIRE_TIME=2
    This occurs when i use tnsping prod1 on standby database.
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 04-FEB-2
    009 12:01:40
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    E:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve name
    Please help me bec i have to create the stand database as soon as possible.Thanks Sir

  • Database creation in oracle 8.0.4

    Hi,
    I'm creating a database in Oracle 8.0.4. I choose the custom option to give all the parameters. One of these parameters is the password of internal user. I give it as oracle. After giving all the other parameters and then click on finish to create the database, i get ORA-01017 error and i'm being forced to abort the database creation.
    After this error has occured, i've created another two databases with a different names and all went fine. I didnt have any problems while creating the databases. Again after the creation of the new databases, i tried to create the old database. Even then i got the same error.
    can anyone let me know what might be the reason for this and the solution to overcome this problem.
    Thanks in advance,
    Jaikanth V Garlapati.

    Found this in Oracle Doc,
    NLS_DATABASE_PARAMETERS is the one you set when you do Create Database.
    NLS_INSTANCE_PARAMETERS is the one you set in your spfile when you start instance.
    So if you didn't set NLS_INSTANCE_PARAMETERS in spfile, then instance will start with NLS_DATABASE_PARAMETERS
    And alter session will over write them all.
    It's not new behavior in 10.2.0.4
    ==============================================
    NLS Database Parameters
    When a new database is created during the execution of the CREATE DATABASE statement, the NLS-related database configuration is established. The current NLS instance parameters are stored in the data dictionary along with the database and national character sets. The NLS instance parameters are read from the initialization parameter file at instance startup.
    You can find the values for NLS parameters by using:
    NLS Data Dictionary Views
    NLS Dynamic Performance Views
    OCINlsGetInfo() Function
    NLS Data Dictionary Views
    Applications can check the session, instance, and database NLS parameters by querying the following data dictionary views:
    NLS_SESSION_PARAMETERS shows the NLS parameters and their values for the session that is querying the view. It does not show information about the character set.
    NLS_INSTANCE_PARAMETERS shows the current NLS instance parameters that have been explicitly set and the values of the NLS instance parameters.
    NLS_DATABASE_PARAMETERS shows the values of the NLS parameters for the database. The values are stored in the database.

Maybe you are looking for

  • How can i give multiple paragraph styles on the same line

    i want to give different paragraph style in the same line in an indesign document. bt when i tried it, it is coming in two different line. actually i am doing a project in which Frame maker document is transformed into indesign document. in frame mak

  • New WLS domain won't start due to authentication error

    Using the admin console (started under mydomain) I created a new domain/server. I created start up scripts (with the correct domain/server). When it starts up it asks me for the system password and then it fails! I moved the fileRealm.properties from

  • System.out to out Redirect

    I've got class Interpreter from BeanShell. This class runs dynamically cnostructed java code. The problem: Interpreter.eval("some commands");prints results into System.out, while I want it to print results to "out" implicit variable of a JSP implemen

  • How to use " toFront() " method in java application and in which package or

    How to use " toFront() " method in java application and in which package or class having this toFront() method.if anybody know pl. send example.

  • Apps store purchase problem

    I chance my crediy card number but I cant buy somethıng. that says itunes connect problem... please help me