Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2003
    Posts
    294

    Post Unanswered: Creating database

    Hello !!

    I'm really confused with this !!

    I installed oracle 9i on windows, and now I have a database called pruebas
    so when I connect I type: sys/change_on_install@pruebas, now I have to create another database called pruebas2 in the same machine and I did:


    I took a copy of initPruebas.ora and I modified the dbname parameter, the directories of udump, cdump and bdump, the control files directories and the undo_management parameter (from auto to manual).

    Later I throw the sentense: Create database prueba2 ......

    and I get the error: ORA-01991: invalid password file '...PWDPruebas.ora'

    So Oracle is trying to use the prueba's file, where do I have to change it?

    I need to get both databases working in parallel, cause I have many users in pruebas.

    Note: I add a entry in the tnsnames.ora with pruebas2

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    in initPruebas2.ora file
    remote_login_passwordfile = NONE
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  3. #3
    Join Date
    Jun 2003
    Posts
    294
    Well i did it, but when I do:

    SQL>startup pfile=...\initPruebas2.ora

    after database is mounted I get:
    ORA-01092 Oracle Instance Terminated. Disconnection Forced

    Do I have to create another instance to get both databases running in paralell ??
    What do I have to do ?

  4. #4
    Join Date
    Jan 2004
    Posts
    24

    creating database

    In oracle 9i when you wnt to create a new database you have to create oracle password file where you can store the password for sys,this is done my means of oraPWD utility
    if you create the database manually.
    it is a command-line command :-
    oraPWD file="file-name" entries="Number"(optional) password="string'"
    this password will be used for user sys,this will create a password file for your new database.
    regards
    uma

Posting Permissions

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