Manual database

if i have default database during installation named mydb1 ...which has its
password file pwdmyd1 in d:\oracle\ora9\database and the instance name is mydb1
and when i create a new database manually ..is it necessary to create a new
instance and a new password file..like
1) make a new instance with oradim...
2)and SET ORACLE_SID ....and
3)we have to create password file with orapwd
ARE ALL THESE STEPS NECESSARY
if we dont do these three steps then what happens...
4)IS PASSWORD FILE ASOCIATED WITH PARTICULAR INSTANCE
can any tell me in detail all the steps
thanks in advance

The steps aren't all that difficult, especially if you already have a reference init.ora to work off of.
1. Make sure ORACLE_HOME, ORACLE_SID, PATH, etc are set up properly
2. startup nomount pfile="whateveryourinit.ora"
3. CREATE DATABASE ${ORACLE_SID}
maxdatafiles xxx
mininstances xx
maxlogfiles xxx
maxlogmembers x
character set WE8ISO8859P1 (or whatever you want)
datafile
'/dir/to/where/system_01.dbf' size XXX M
logfile
group 1 ('/dir/to/where/redo_1a.log',
/dir/to/where/redo_1b.log') size XX M
group 2 etc
group N etc
4. You may want to change default storage on system at this point.
5. $ORACLE_HOME/rdbms/admin/catalog
6. I tend to create my rollback and temp tablspaces now.
7. $ORACLE_HOME/rdbms/admin/catproc
8. If you are using JServer, run those script too. Or if you are running Advanced REpilcation, run catrep.

Similar Messages

  • Error in manual database creation in 10g for windows.

    hi,
    i have planned to create database manually in window command prompt by the following steps but i m getting this error,
    so guys provide me some idea to create db.
    D:\oracle\product\10.1.0\Db_1>set oracle_sid=god;
    D:\oracle\product\10.1.0\Db_1>oradim -new -sid%ORACLE_SID%-intpwd mysecretpasswo
    rd -startmode M
    D:\oracle\product\10.1.0\Db_1>dir database
    Volume in drive D is COLLECTIONS
    Volume Serial Number is 5A2D-5C24
    Directory of D:\oracle\product\10.1.0\Db_1\database
    03/07/2010 05:56 PM <DIR> .
    03/07/2010 05:56 PM <DIR> ..
    03/06/2010 11:04 PM <DIR> archive
    03/07/2010 11:12 PM 106 core_orcl_1220_1284_2010_3_7_17_19_32.log
    03/07/2010 05:17 PM 2,048 hc_orcl.dat
    03/06/2010 11:56 PM 157 initgod.ora
    03/07/2010 05:51 PM 955 INITorcl.ORA
    03/06/2010 11:01 PM 31,744 oradba.exe
    03/06/2010 11:59 PM 2,560 PWDgod;.ORA
    03/06/2010 11:13 PM 1,536 PWDorcl.ora
    03/07/2010 05:56 PM 2,560 SPFILEORCL.ORA
    03/07/2010 12:15 AM 8,510 sqlnet.log
    9 File(s) 50,176 bytes
    3 Dir(s) 26,471,571,456 bytes free
    D:\oracle\product\10.1.0\Db_1\database>initgod.ora
    D:\oracle\product\10.1.0\Db_1\database>sqlplus/nolog
    SQL*Plus: Release 10.1.0.2.0 - Production on Mon Mar 8 23:00:01 2010
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> connect sys/mysecretpassword as sysdba
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SQL>
    thanks

    Jr.DBA wrote:
    hi,
    i have planned to create database manually in window command prompt by the following steps but i m getting this error,
    so guys provide me some idea to create db.
    D:\oracle\product\10.1.0\Db_1>set oracle_sid=god;
    D:\oracle\product\10.1.0\Db_1>oradim -new -sid%ORACLE_SID%-intpwd mysecretpasswo
    rd -startmode M
    D:\oracle\product\10.1.0\Db_1>dir database
    Volume in drive D is COLLECTIONS
    Volume Serial Number is 5A2D-5C24
    Directory of D:\oracle\product\10.1.0\Db_1\database
    03/07/2010 05:56 PM <DIR> .
    03/07/2010 05:56 PM <DIR> ..
    03/06/2010 11:04 PM <DIR> archive
    03/07/2010 11:12 PM 106 core_orcl_1220_1284_2010_3_7_17_19_32.log
    03/07/2010 05:17 PM 2,048 hc_orcl.dat
    03/06/2010 11:56 PM 157 initgod.ora
    03/07/2010 05:51 PM 955 INITorcl.ORA
    03/06/2010 11:01 PM 31,744 oradba.exe
    03/06/2010 11:59 PM 2,560 PWDgod;.ORA
    03/06/2010 11:13 PM 1,536 PWDorcl.ora
    03/07/2010 05:56 PM 2,560 SPFILEORCL.ORA
    03/07/2010 12:15 AM 8,510 sqlnet.log
    9 File(s) 50,176 bytes
    3 Dir(s) 26,471,571,456 bytes free
    D:\oracle\product\10.1.0\Db_1\database>initgod.ora
    D:\oracle\product\10.1.0\Db_1\database>sqlplus/nolog
    SQL*Plus: Release 10.1.0.2.0 - Production on Mon Mar 8 23:00:01 2010
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> connect sys/mysecretpassword as sysdba
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SQL>
    thanksEven if you want to do it manually as a learning exercise, I'd advise you to use dbca. Select 'custom' database type, and at the end select 'create scripts' without actually creating a database. Then study those scripts.

  • Faced an error ora-01092 at the time of 9i manual database creation

    Hi
    i faced an error when i installing 9i on my linux manually
    error is ORA-01092:oracle instance terminated disconnected forcibly
    Any one please help
    with regards
    neo

    HI,
    Are you create UNDO TABLESPACE or specify undo tablespace creation in CREATE DATABASE command.
    post your CREATE database command with ALERT<SID>.LOG file.
    regards
    Taj

  • 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

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

  • Manual Database Creation in Linx

    Dear All,
    I have installed Oracle 8i on linux.
    But due to some problems I couldnt run database assistant and configuration of network.
    When I tried to run dbasst & netasst those are also not runing.
    Please can anybody tell me how to configure both of these manually.
    Regards
    Aqeel Nawaz

    Let me 2b DBA wrote:
    Dear All,
    I have installed Oracle 8i on linux.
    But due to some problems I couldnt run database assistant and configuration of network.
    When I tried to run dbasst & netasst those are also not runing.
    Please can anybody tell me how to configure both of these manually.
    Regards
    Aqeel NawazI'm curious as to why you are trying to install a totally unsupported version of Oracle.

  • Manual database creation in solaris

    Hi Guru's
    I was working with Oracle on Windows platform. Now we are moving into Sun solaris. Please give me the complete steps to create the database manually on Solaris. Please not , for me the Os settings is important like, service creatiion ,password file creation. I am using Oracle 10g.
    Thanks in advance
    Thanks & Cheers
    Antony

    http://download-east.oracle.com/docs/cd/B19306_01/install.102/b15690/toc.htm
    http://download-east.oracle.com/docs/cd/B19306_01/install.102/b15697/toc.htm
    http://download-east.oracle.com/docs/cd/B19306_01/install.102/b15704/toc.htm

  • Manual database install on SunOS

    Hi all
    I have installed database on SunOS
    I want to manually create another database on SunOS
    Which steps I must do?
    Thanks...

    You can use dbca command. You can choose (which I normally do) to create scripts, and execute them at a later time.

  • Small correction in oracle 9i Rel.2 docs, under manually database creation

    Friends,
    There is a small correction in the oracle 9i Rel.2 documentation under, creating database manually. The mistake is that they define temptablespace file as DATAFILE, where as, it suppose to be, TEMPFILE. If any one uses this script from docs. to create database manually, it will throw an error.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96521/create.htm#1003614
    Using TEMPFILE inplace of DATAFILE would solve the problem.
    Jaffar

    Hi Nyanga,
    The migration tools can be used to migrate to Oracle 9i.
    But we try and keep the conversion compatible with Oracle XE / Oracle 10g and up.
    So you may have issues migrating to Oracle 9i like you said, with he sqlserver_utilities package and using 10g syntax.
    Creating the repository on Oracle 9i is not supported.
    But even if you did succeed , it would not change how the conversion was done. You would still end up with an identical sqlserver_utilities package which was generated using the migration repository on an Oracle 10g database. sqlserver_utilities package definition itself is fixed within a file so regardless of the repository used the same one will be generated.
    Oracle XE can be used of course as the repository and its free to download and use.
    Regards,
    Dermot.

  • Still can't download Developer Day Hands-On Lab Manual Database Development

    I am trying to download the hands-on lab manual for Database Development and XML. I have tried right-click save and receive an error stating the file(s) cannot be read. Where can I retrieve these files?
    Database_Development_Volume_all.pdf
    xmldb_HOLs_2009_Part1_manual_April_2010.pdf

    Hey Rahul,
    The iTunes app is asking / telling something before the download hangs?
    What you can do to check if it's a server, ISP or iTunes problem, is to make a direct download from Redmond Pie or OSXDaily just iOS not the firmware (unless you don't want to go back to a previous iOS version). Then do a manual update through iTunes, option + click Restore, choose the IPSW file and done.
    Hope this helps.

  • Publication is not listed in reolication monitor after manual database failover

    Hi All,
    I have three servers using which I have configured database mirroring and  transactional replication with pull  subscription.
    ServerA--Publisher/Distributor/principal
    ServerB--Subscriber
    ServerC--Mirror
    After failover now ServerB pulls the data from ServerC which is the new Principal andI have set the -PublishfailoverPartner as ServerC .
    After the failover is performed I see subscriber is pulling transactions from ServerC and transactions are getting replicated but I cannot see the publication listed under new publisher(ServerC) nor under old publisher ServerA  from replication
    monitor.
    What is the reason I cannot see the publications from replication Monitor. How will distributor know that ServerC is now the publisher.
    Also I got the error when I executed below command for distribution agent. But still transactions are getting replicated after failover.
    exec
    sp_add_agent_parameter@profile_id
    = 4,
    @parameter_name =
    N'-PublisherFailoverPartner',
    @parameter_value =
    N'ServerC
    Msg 21806, Level 16, State 1, Procedure sp_MSvalidate_agent_parameter, Line 63
    parameter -PublisherFailoverPartner. The value must be an integer. Verify that replication is installed properly and that sp_add_agent_parameter is invoked with a valid value.The agent profile creation process cannot validate the specified agent parameter
    value: the profile_id 4 does not exist or it does not support the
    Any inputs will be of great help.
    Regards,
    Raj
    Raj

    Refer to this: http://msdn.microsoft.com/en-us/library/ms151799.aspx

  • Manual database creation on 9i; Windows 2000, SP 2

    Hi, I am unable to generate database using generated sripts by Database Configuration Assistant. I also tried to modify them to be similar to those generated in version Oracle 8.0.5. The main problem is I cannot connect through SQLPLUS utility using usename SYS with CHANGE_ON_INSTALL password. I miss user INTERNAL :-). Please, help.
    Thanks, Trsik.

    Hi, thank you for suggestions. The problem was I didn't have a pwd<SID>.ora file and I had to change REMOTE_LOGIN_PASSWORDFILE to SHARED value in init<SID> file. Then there was no problem with DB creation.
    Trsik

  • Manual database creation error

    the oracle version is : 10.2.0
    first i create a new instance by oradim , and a .ora file was generated. But when starting the new instance in sqlplus (database haven't been set up yet) , i encount a strange problem, the error code is as follow:
    ora-24324 Service handle not initalized
    ora-01041 internal error, hostdef extension doesnot exist
    Did i commit any mistake during the operation ? Can anybody tell me the possible reason ?

    I cann't find the file sqlnet.ora in the root directory of %oraclehome%\db_1\network\admin ,but found one in the subdirectory %oraclehome%\db_1\network\admin\sample. I don't think it's the just file i am looking for, because all the content are commented out in that file. Below is some related content copy from that file :
    #sqlnet.authentication_services
    # Syntax: A single value or a list from {beq, none, all, kerberos5,
    #       radius, nts}
    # Default: NONE
    # Enables one or more authentication services. If
    # Oracle Advanced Security has been installed with Kerberos5
    # support, using (beq, kerberos5) would enable authentication via
    # Kerberos.
    #sqlnet.authentication_services=(beq, kerberos5)
    Can you tell me where to find the proper file (sqlnet.ora) ?

  • Manual Database creation in solaris -- checklist/steps required

    Hi,
    I am creating test databsae in my development solaris server. is there any checklist or process steps to guiding creation of oracle 10g database... the software is already installed...
    i can remember roughly..the steps are:
    1. create pfile with all the required info like control file locations and archive file locations and memory info
    2. sqlplus "/nolog"
    3. startup pfile=<location>
    4. create database command.
    5. post scripts like catalog and catproc
    6. making to archive logging
    7. implement rman backups.
    am i missing anything here?
    -- Raman.

    Yes. this documentation i was looking for...thanks a lot ......
    --Raman.                                                                                                                                                                                       

Maybe you are looking for

  • Concurrent Program not executing

    Hi All, I have created new custom concurrent program of type SQL*Plus to purge the data. To my surprize when I submit the program, program is not getting executed, which I can confirm saying the data is not getting deleted. Also the log messages ment

  • Adding Generic Object Services attachments to PRA trans O3U_DO3

    I would like to add the generic object services attachment menu that is found in vf02 - invoice create to the production and revenue accounting module transaction O3U_DO2/O3U_DO3 Maintain/Display DOI Owners.  I need the ability to attach external doc

  • How to define what operation a tabular model do on subtotals and totals pivot to avg, min, max, not to the default sum

    When i make a pivot in Excel 2010 i can change the cell to give me AVG, MAX, MIN, not only SUM, but when i créate a pivot from a tabular model, these options are disabled,   i have posted a image, with a "tabla dinámica" or dynamic table in this case

  • Select query on emp table

    Hi, How to find display the o/p like manager name under dependent employess same like parent child relation ship on noraml emp table: sample o/p: name job xx manger yy sales yy1 sales aa manager rr marketing rr1 marketing Thanks

  • Best environment to do Kernel Hacking?

    What is best environment to mess around with kernel? Which distro or, if virtually, on which virtual emulator? I tried to build a 3.2.5 on Arch installed in virtualbox (since I didn't want to mess up my installed arch on computer) and it is taking fo