Create password file Oracle10g RAC

Hi all,
we have Oracle10g R1 (64 bit) running on RAC Unix. these servers (2 servers and 2 instance) are using RMAN and the logs are transfered to DR server ( only 1 server). i dun have any idea on how to create password file with this structure, originally we want to change SYS password. and how to create password file at both RAC server and DR server, make sure the logs be transmitted without problem to DR server.
would like to the exact procedure ...any idea?
many thanks in advance.
Regards,
Nonie

to change SYS password. and how to create password
file at both RAC server and DR server, make sure the
logs be transmitted without problem to DR server.
Have not you created password file on Database and DG ? use orapwd command to create password file. Well changing password on Database side, is same simple procedure, but on DR you can change password in password file , but problem is how to change password on DR database. So only option remain is refresh DR Database !!!!

Similar Messages

  • Creating Password File Oracle10g

    Hi there,
    i need to create password file at primary and standby db. can someone reconfirm on the steps should i do before do this?
    1. Login as oracle at primary db
    2. check remote_login_passwordfile=EXCLUSIVE
    3. cd $ORACLE_HOME
    4. orapwd file=$ORACLE_HOME/dbs/orapw$ORACLE_SID password=mypasswd entries=50 --> no need to bounce db because the parameter remote_login_passwordfile is already set to EXCLUSIVE.
    5. Login as oracle at standby db
    6. cd $ORACLE_HOME
    7. orapwd file=$ORACLE_HOME/dbs/orapw$ORACLE_SID password=mypasswd entries=50
    8. no need to restart standby db.
    is this the correct steps?
    when running this command below:
    orapwd file=$ORACLE_HOME/dbs/orapw$ORACLE_SID password=mypasswd entries=50
    is there anyway i can skip key in the password for SYS? or key in but not in clear text?
    the purpose is because we are splitting the SYS password into 2 parts, just because of security requirement.
    somebody?
    Many thanks in advance.
    Regards,
    Nonie

    Hi Harry,
    Thanks for the idea, but still in clear text. hahaha donno why so complicated on dealing with security issues, one of it is two different person holder half of whole password. seems like no other way to invisibly key in this sys password, i rather keep the whole password.
    thanks to all.. :)
    regards,
    Nonie

  • ORA-01017 error and re-create password file? seek advices.

    I used TOAD 9.5 to log in one Oracle 10g database with sys/password as sysdba. It worked fine always. However, today I tried to log in again and come across the ORA-01017 error. Invalid username/password. Then I went to windows server command line to log in as conn / as sysdba and also log in conn sys/password@sid as sysdba, I all logged in successfully. I checked the password file is in $oracle_home\database\. I logged in as normal user successfully.
    My question is: what caused this ORA-error? how to fix it? Is it necessary for me to re-create password file to fix this? Or there is other options? Thanks.

    First though is double check make sure you have no typo when inputting username/password,
    ORA-01017 is very specific error about wrong password, if you have problem with passwordfile you would likely to get ORA-01031: insufficient privileges
    You can change your sys password using alter user statement, Oracle will sync the password file.

  • How to open orapwd tool to create password file?

    Hi Guys,
    I got information as
    orapwd
    orapwd file=password_file_name password=the_secret_password
    orapwd file=password_file_name password=the_secret_password entries=n
    There is a default location and name for password files. When a password file is created, it should be created in that location.
    n specifies the maximum number of distinct DBAs and OPERs that can be stored in the password file.
    orapwd is a command line tool to create password files.
    How to open orapwd tool to create password file?
    Thanks
    Jim

    Hi
    ORAPWD is a oracle utility to craete a password file to identify users that can use the SYSDBA and SYSOPER privileges when connecting to the database.Its not a GUI utility.It is run on the cmd(in windows) abd on the terminal(in unix).
    To create the password file the command is
    orapwd file=filename  password=password entries=max_users
    You can refer to below links
    [http://download-uk.oracle.com/docs/html/A97297_01/ch1_admin.htm#sthref215]
    [http://www.oracleutilities.com/OSUtil/orapwd.html]
    HTH
    Anand

  • Password file users issue... RAC help please...

    Hi guys,
    i have a two node rac database installed on my laptop.. 11gr2.
    in rac a database will be accessed by more than once instance correct....
    here i have two instance myinst1 and myinst2.
    here if we add a user in any one of the instances (say myinst1).. using that user account. the user can connect to either the myinst1 and myinst2.... correct....
    say now i grant the user i just created with the SYSDBA and SYSOPER privileges.. (user created on myinst1).
    now i can connect to both of the instance using the following syntax as a sysdba..
    connect user/password@servicename as sysdba
    now here comes the best part..
    oracle states that once the user is given either the sysdba or sysoper it will be updated in the password file...
    now as i have created the user in the myinst1 instance and granted the privileges there... the password file at the node myinst1 shows the details of the user in the V$PWFILE_USERS views. where as the other instance myinst2 V$PWFILE_USERS does nt have the user...
    can any one tell me why is this happening... do i have to explictly grant the SYSDBA privilege on all the instances once if i want to grant a user with the sysdba or sysoper privilege...

    Surely there is more than this? I have always believed that the only valid configuration of a Password File in RAC is for a single file to be shared by all instances - by putting it on a shared file system or multipathed raw volume (like the database files), with a Unix symbolic link or init.ora SPFILE reference on each node. I have seen documentation that people have stored a database password file in ASM (SPFILE=+XYZ...) and even on NFS and CIFS.
    SYSDBA and SYSOPER access uses the password file of course and it is effectively part of the database, and to me it seems reasonable to expect that an instance will only update the one Password File it knows aboutwhen SYSDBA/OPER access is added, removed or changed; so the consequences of having multiple copies for a single database may be expected to be bad. It was noted here that granting SYSDBA privilege on one node leads to inconsistency in that account's privileges across nodes. Maybe worse is that removing SYSDBA access from one node could leave SYSDBA access to other nodes/instances in place, in clusters where there are multiple local password files... this can be viewed as a very serious security defect, which one of our DBAs has demonstrated.
    Now I have learned that Oracle's documentation does not actually give much advice about the configuration of Password Files for RAC; that while some people have done what I expected for years, some product guides suggest on the contrary that local copies should be created on each node; and even that Oracle may not support a single Password File on a shared device. Having Googled the web and scanned this forum quickly, I haven't found a resolution. I am stunned.
    I am sure that, of all people, the RAC SIG will be able to advise on this authoritatively, so please do so. If it turns out that Oracle does not recommend or support the use of a single shared file (*),then I suggest there is a significant issue.
    (*) Just to be clear, I am not refering to a SHARED password file, but to an EXCLUSIVE one that is on a shared storage volume accessed by every instance of the same RAC database. How Oracle behaves with a SHARED parameter setting may be another issue.

  • Password file - internal user

    hi all,
    when we create password file. then internal user is also created along with sys in oracle 9i. as we know that internal has been depricated since 9i.
    SQL> select * from v$pwfile_users;
    USERNAME SYSDB SYSOP
    INTERNAL TRUE TRUE
    SYS TRUE TRUE
    regards
    wire.

    Please see
    REP-0004 Warning - Unable to Open User Preference File. (Doc ID 26014.1)
    ApPsMaStI
    sharing is Caring

  • OPW-00001 :Unable to open password file

    I have newly installed oracle11gr2 in my PC, and im creating a database manually by below steps.
    Step 1: Create suitable directory for new database.
    like below
    C:\oraclexe\app\oracle\admin\XETEST
    adump
    dpdump
    pfile
    C:\oraclexe\app\oracle\oradata\XETEST
    Step 2: Create new instance for new database
    C:\Windows\system32>oradim -new -sid xetest
    Instance created.
    Step 3 : Create password file for new database
    C:\Windows\system32>orapwd file=C:\oraclexe\app\oracle\
    And in step 3,
    i get the following error..
    C:\Windows\System32>orapwd file=C:\oraclexe\app\oracle
    Enter password for SYS:
    OPW-00001: Unable to open password-file
    Kindly help me to resolve this.
    Thanks in Advance!
    Anitha

    920049 wrote:
    I have newly installed oracle11gr2 in my PC, and im creating a database manually by below steps.
    Step 1: Create suitable directory for new database.
    like below
    C:\oraclexe\app\oracle\admin\XETEST
    adump
    dpdump
    pfile
    C:\oraclexe\app\oracle\oradata\XETEST
    Step 2: Create new instance for new database
    C:\Windows\system32>oradim -new -sid xetest
    Instance created.
    Step 3 : Create password file for new database
    C:\Windows\system32>orapwd file=C:\oraclexe\app\oracle\
    And in step 3,
    i get the following error..
    C:\Windows\System32>orapwd file=C:\oraclexe\app\oracle
    Enter password for SYS:
    OPW-00001: Unable to open password-file
    Kindly help me to resolve this.
    Thanks in Advance!
    AnithaI'll make couple of off the cuff observations in no particular order.
    1) ORACLE XE only allows a single instance per system.
    I suspect that you are attempting manual DB creation since dbca is NOT provided with XE.
    why do you not use dbca to make the new DB?
    2) typically the password file resides in $ORACLE_HOME\dbs
    3) Oracle password file is NOT required to exist.
    4) does OS user invoking orapwd has necessary OS permissions to actually create the file?

  • Password file authentication confusion

    Dear experts,
    I am a beginner (I'll keep stating this till I gain some knowledge about Oracle). I have database on Linux server. Currently the sysdba is OS Authenticated, so I can just do
    SQL> conn /as sysdba
    connectedI wanted to try the password file authentication also, so I did the following:
    a) changed parameter remote_login_passwordfile to EXCLUSIVE
    b) created password file using: orapwd file=orapwPROD password=testDBA entries=5
    c) created one user pwFileDBA
    d) grant sysdba to pwFileDBA
    e) checked v$pwfile_users and found entry for pwfileDBA user
    USERNAME                       SYSDB SYSOP
    SYS                               TRUE  TRUE
    PWFILEDBA                         TRUE  TRUENow When I tried to login as:
    SQL> conn pwfileDBA/testDBA as sysdba
    connectedI am happy it worked :). Now I tried
    SQL> conn pwfileDBA/<some junk password> as sysdba
    connectedThis also worked :(
    I have no clue now, if password file authentication is enabled or not. Can anyone share if I am doing something wrong? How to test this?
    Thanks
    oraNeel.

    Hi Maxim,
    1. conn sys/testDBA@your_tns_alias as sysdba - this also says "insufficient privileges"
    2.
    -bash-3.2$ ps -ef|grep pmon
    oracledb  9410     1  0 Dec13 ?        00:00:00 ora_pmon_PROD
    oracledb 11415 11320  0 07:13 pts/1    00:00:00 grep pmon3. ls -la $ORACLE_HOME/dbs
    -bash-3.2$ ls -la
    total 14928
    drwxr-x---  2 oracledb dba     4096 Dec 13 22:27 .
    drwxr-xr-x 66 oracledb dba     4096 Oct 22 11:32 ..
    -rw-rw-r--  1 oracledb dba        0 Oct 22 11:33 PROD_oradb_ifile.ora
    -rw-rw----  1 oracledb dba     1544 Oct 20 11:34 hc_PROD.dat
    -rw-rw-r--  1 oracledb dba    19028 Oct 21 14:57 initPROD_bak.ora
    -rw-r--r--  1 oracledb dba    23584 Oct 22 11:33 initPROD_noaq.ora
    -rw-r--r--  1 oracledb dba    23576 Oct 27 13:29 initPROD.ora
    -rw-rw-r--  1 oracledb dba    19028 Oct 21 14:55 initPROD.ora.21Oct
    -rw-r--r--  1 oracledb dba    12920 May  3  2001 initdw.ora
    -rw-r-----  1 oracledb dba     8385 Sep 11  1998 init.ora
    -rw-rw----  1 oracledb dba       24 Oct 20 11:34 lkPROD
    -rw-rw----  1 oracledb dba       24 Oct 21 15:22 lkPROD
    -rw-r-----  1 oracledb dba     2048 Dec 13 22:31 orapwPROD
    -rw-------  1 oracledb dba 15122432 Dec  1 18:39 snapcf_PROD.fBest Regards,
    Neel

  • ORA password file problem

    Hi,
    I have created password file while creating the database but now i am getting the error: ORA-01994: GRANT failed: password file missing or disabled.
    -rwxr-xr-x 1 oracle oinstall 3072 Feb 9 12:59 orapwEAMS01.ora
    i have re-created the file force=y and password parameter also "Exclusive"
    SQL> sho parameter password;
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    am i missing here anything?
    --Raman.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Try re-creating the password in ORACLE_BASE\ORACLE_HOME\DATABASE and named PWDsid.ORA

  • GRANT failed: password file missing or disabled

    Hi,
    I created password file using
    orapwd FILE=orapwprj ENTRIES=30 (where prj is the instance name)
    SQL> show parameter remote_login_passwordfile
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    SQL> grant sysdba to rempar;
    grant sysdba to rempar
    ERROR at line 1:
    ORA-01994: GRANT failed: password file missing or disabled

    Command to be used as
    orapwd file=password_file_name_with_complete path password=the_passwordBy default, the password file should be located in $ORACLE_HOME/dbs location for UNIX platform with password file format as "orapw<SID>"
    For windows, the password file should be located in %ORACLE_HOME%\database location with password file format as "PWD<SID>"

  • Need help with password file

    Hi,
    I created an oracle 8.0.6 database on win 2000 server. Everything is working fine.
    Next, i downloaded production server data on this database. I can't login to sys,system or Internal.
    Please suggest what to do.
    1)If i Recreate password file, then do i need to stop the oracle services b4 creating password file.

    What you mean OLD? Did there any other instance? Anyway each instance has its own password file, in Windows it must be in the $ORACLE_HOME/database directory named orapw<SID>.ora.
    Check remote_login_passwordfile parameter. What error is generated when you try to connect. Connect to the system as the user who installed the oracle software. You can recreate password file
    on running instance.

  • Minimum entries in password file

    Hello,
    I have created password file using following command ( on WXP ):
    orapwd file=path entries=1 password=password
    File was succesfully created, but server allows me to grant dba, sysdba, sysoper to 5 different users, until it displayd error message ORA-01996: ...password file ...is full.
    How can I restrict minimum entries in password file to 1?
    Thank you.
    Tibor

    Maybe this extract from Oracle documentation can explain :
    ENTRIES
    This parameter specifies the number of entries that you require the password file to accept. This number corresponds to the number of distinct users allowed to connect to the database as SYSDBA or SYSOPER. The actual number of allowable entries can be higher than the number of users, because the ORAPWD utility continues to assign password entries until an operating system block is filled. For example, if your operating system block size is 512 bytes, it holds four password entries. The number of password entries allocated is always a multiple of four.
    Multiple of four has to be intended besides the first one. Entries=1 allows 5 entries, Entries=6 allows 9 entries.

  • How to change the default password file's name and path when the database created?

    how to change the default password file's name and path when the database created?
    null

    Usage: orapwd file=<fname> password=<password> entries=<users>
    where
    file - name of password file (mand),
    password - password for SYS and INTERNAL (mand),
    entries - maximum number of distinct DBA and OPERs (opt),
    There are no spaces around the equal-to (=) character.

  • How to create a password file for 9i database

    I just created a database 9.2.0.5 based on another database. I copied the password file to the new database. I got an error. How can I recreate one?
    Thanks a lot!
    SQL> startup;
    ORACLE instance started.
    Total System Global Area 337204540 bytes
    Fixed Size 455996 bytes
    Variable Size 268435456 bytes
    Database Buffers 67108864 bytes
    Redo Buffers 1204224 bytes
    ORA-01991: invalid password file '/local/ORACLE/OraHome1/dbs/orapwilnktest'
    SQL>

    Do you think the password is the sys password?Time to go through the doc :
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/dba.htm#1227
    Nicolas.

  • How to create a password file for executing psadmin command to deploy portl

    how to create a password file for executing psadmin command to deploy portlet

    What you have done is perfectly right. The password file doesn't have anything else apart from the password
    for example in your case
    $echo password > /tmp/password.txt
    However I remember that in windows install, the Application server used to wait for a user's input when a deploy was to be done for the first time. So Can you read the Release notes or the Readme file which has come with windows.
    The solution was,
    manually use asadmin command of application server to deploy some war (any webapp will do), at this time, a question will be prompted to accept a certificate. once this is done, deploy portlet should work fine!!!
    HTH

Maybe you are looking for

  • Itunes 7.6 won't let me use my ipod with windows...

    I keep getting an error message that says "The iPod cannot be used because it requires iTunes version 7.6 or later. Go to www.itunes.com to download the latest version of iTunes." I can't update my Windows to XP service pack 2 because my computer is

  • Photobook collaboration with PC user ?

    Tried the iPhoto photobook service last fall and loved the result. The book was really appreciated by the family members we sent copies to and became an almost instant heirloom. Now we want to collaborate on a new book but some of us use iPhoto while

  • Preset or change duration of still photos in iMovie project

    Hi, I work with iMovie 11 and never had any problem with previous versions. Now I'm doing my first project in iM 11 and it just ignores my requests When I set the duration in 'Project Properties' 'Apply to all photos' to e.g. 4 sec it will set the du

  • What does "cannot find symbol"

    i got this when i was writing a program 2 errors found: File: C:\Documents and Settings\Project1.java [line: 7] Error: cannot find symbol symbol : class Scanner location: class Project1 File: C:\Documents and Settings\\Project1.java [line: 7] Error:

  • My used macbook is asking for password to unlock different keychains, how do i reset the password?

    my used macbook is asking for password to unlock different keychains, how do i reset the password?