DBAsupport.com Forums - Powered by vBulletin
Results 1 to 7 of 7

Thread: Create Database

Threaded View

  1. #1
    Join Date
    May 2003
    Location
    canada
    Posts
    1

    Create Database

    Creating Database..

    1..Unique instance name that i have like "ansi74"

    2.c:\>set ORACLE_SID=ansi74

    3. Copy init.ora file and rename that with initANSI74.ora
    location:c:\oracle\ora81\database\initANSI74.ora
    contents of this file: IFILE=c:\init.ora

    4.Paaword File creation.

    c:\orapwd file=c:\oracle\ora81\database\PWDansi74.ora password=singh entries=5

    5.start instance

    >> connect sys as sysdba
    >> startup nomount pfile=c:\oracle\ora81database\initANSI74.ora

    6. Create data base with this command that below..

    create database "ANSI74"
    maxlogfiles 10
    maxinstances 5
    maxlogmembers 10
    maxdatafiles 30
    maxloghistory 100
    logfile
    group 1
    'c:\pritpal\disk3\redo01.rdo' size 100k,
    group 2
    'c:\pritpal\disk4\redo02.rdo' size 100k
    datafile
    'c:\pritpal\disk5\system01.dbf' size 25m;



    Init.ora
    ********
    remote_login_passwordfile = exclusive

    ok then

    i have abc database and also pwdABC.ora(password file)


    ? Way oracle look for my OLD PASSWORDFILE.
    ? Way not new Password file that is pwdANSI74.ora(in same desti)

    Because
    ? I have set ORACLE_SID=ansi74

    error>>
    ORA-01991:invalid password file c:\oracle\ora81\database\PWDabc.ora .

    before i had this error:

    The environment variables ORA_sid_PWFILE and ORA_PWFILE are not set.

    Give reply.
    Last edited by OCDBA; 05-20-2003 at 05:49 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width