Dataguard  Password file

Oracle 10g Release 2 Enterprise Edition
Oracle Enterprise Linux
I am creating a dataguard configuration on my laptop. Both Primary and Standby are on the same Oracle Home. I actually managed to create a standby database using RMAN Duplicate Target Database for Standby. But archivelogs are not being transmitted from Primary to Physical Standby.
I referred many documents in which they say both Primary and Physical standby should use Password file.
I am able to connect to primary using " sqlplus sys@PRIMARY as sysdba ". And when queried v$pwfile_users it shows SYS as the lone row.
But when I try to connect to STANDBY using "sqlplus sys@STANDBY as sysdba" It gives ORA -1031 Insufficient Privileges error.
When queried v$pwfile_users there are no rows.
I have created two different password files for both Primary and Standby. And the REMOTE_LOGIN_PASSWORDFILE is set to EXCLUSIVE.
How come SYS is not shown in v$pwfile_users in STANDBY database and how to add it ?
I tried to open the standby database but it gives errors showing system datafile needs recovery.

shutdown immediate
startup nomount
alter database mount standby database;
alter database recover automatic standby database;

Similar Messages

  • Use of password file?

    good day !
    i am confused and still cannot digest the need to use a password file!
    can anyone provide me with links or any explaination on why we need a password file!
    i need the password file so that i can setup dataguard!
    thnx

    You can Oralce administration guide,
    Database Administrator Authentication
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/dba.htm#i1006534

  • 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 change default location of password file ?

    Hi all,
    Can i change the location of my password file from default to any other user defined location ?
    If yes then how ?
    Thanx in advance.
    Deep

    Dad you moved here?
    Can i change the location of my password file ?

  • How do i find the location of Oracle password file in the HDD

    we giv the location of the password file while we use the orapwd command to create one.
    later if we forget the location of the password file (incase it is not at the default location) then is there a way to find it or do we just create a new password file?
    secondly, for oracle to use the password file we giv the remote_login_passwordfile='EXCLUSIVE' in the parameter file. wat tells oracle the location of the exact password file??
    Thanks
    Arvind
    Edited by: iinfi on Sep 29, 2008 12:15 AM

    The default location are OS dependant.
    On Unix/Linus it is under $ORACLE_HOME/dbs
    On Windows, it is under %ORACLE_HOME%/database
    To change the default location, nothing inside database, but :
    On Unix/Linux, you have to create a symbolic link for that file to the target location
    On Windows, you have to change env variable (regedit) ORA_PWFILE and ORA_SID_PWFILE
    So, you have to check this setting for the real password file location.
    Nicolas.

  • Configuring password file in oracle 10g

    Hi
    Can anyone here guide me to the steps to be followed in configuring password file.
    I am learning cloning using RMAN. For that purpose I need to configure password file at first.
    I created the password file using orapwd utility.
    and then made the required changes in tnsnames.ora and listener.ora files. Reloaded listener.
    Set SQLNET.AUTHENTICATION_SERVICES = (NONE) in the sqlnet.ora file
    Made the changes required in the initialization parameter file for the duplicate database instance.
    Next, export ORACLE_SID= <DUPLICATE DATABASE NAME>
    CREATE SPFILE FROM PFILE
    STARTUP FORCE NOMOUNT;
    rman TARGET sys/password@target-tnsname AUXILIARY sys/password@duplicate-tnsname
    At this stage, I get the below error.
    RMAN-00554  initialization of  internal recovery manager package  failed
    RMAN- 04006  error from auxiliary  database:  ORA- 01031 :  Insufficient privileges

    userark160 wrote:
    rman TARGET sys/password@target-tnsname AUXILIARY sys/password@duplicate-tnsname
    At this stage, I get the below error.
    RMAN-00554  initialization of  internal recovery manager package  failed
    RMAN- 04006  error from auxiliary  database:  ORA- 01031 :  Insufficient privileges
    Are the Auxiliary and Target databases on the same machine?
    Can you also check the parameter Local_Listener for Auxiliary Database?
    Regards,
    Z.K.

  • Formatting the encrypted hard drive or intalling OS again with PXE boot can change TPM owner password file?

    Hello,
    1) I realized that when MBAM bitlocker encryption start both Recovery key and TPM owner password file are send to MBAM server. If we change the computername of the notebook, we can find out Recovery key from MBAM server with the KeyID as we can read it from
    computer screen, but we can not find out TPM owner password file with the existing new computername information from MBAM server, so we have to know old names of all computers but it is impossible. So we have to do decryption and clearing TPM than we
    can again encrypted it with its new name. is it right?
    2) We will going to deploy mbam encryption to our notebooks. But sometimes when a person quit the job his notebook can given to another person or new employee and based to our procedure when a notebook will given to another user it should installed
    OS again with PXE boot. I would to know will it be enough to installing with this method again with a diffrent computer name or should I firstly clear its TPM than install OS with PXE to keep TPM owner password file missing as item 1?
    I hope i can explain what i mean :)
    Regards,
    SibelM

    I would suggest you to first decrypt the laptop and then follow the process:-
    - Clear the TPM
    - Encrypt the type.
    - Check for the encryption behavior.
    Cause I have found on some model that if the OS drive is encrypted, PXE boot fail on that machine even though I also did a direct PXE on an encrypted machine with clearing the TPM.
    TPM ownership password is a hash file that gets generated with a set of algorithm. SO each time when you PXE boot, by clearing the TPM, the TPM hash password for the TPM will change. This has been done for security measures.  
    Gaurav Ranjan

  • Error opening password file

    Hi, I'm traying to start up a database in sqlplus on SuSE 8.2 and Ora9.2, I have the next error:
    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> startup pfile=/opt/ora9/admin/pavilion/pfile/initmydb.ora
    ORACLE instance started.
    Total System Global Area 101781824 bytes
    Fixed Size 450880 bytes
    Variable Size 83886080 bytes
    Database Buffers 16777216 bytes
    Redo Buffers 667648 bytes
    ORA-01990: error opening password file '/opt/ora9/product/9.2/dbs/orapw'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    My password file is /opt/ora9/product/9.2/dbs/orapwmydb
    How can I use my orapwmydb file?

    Hi Marco,
    as far as I know, you have to use the REMOTE_LOGIN_PASSWORDFILE = SHARED option in your init...ora file.
    In this case you have one password file for one or more databases. It can only have the entries for SYS and INTERAL.
    I'm sorry to cannot answer your question of having different password files for different databases %-)
    Klaus

  • [HELP] ORA-01990 Error opening password file '/home/oracle/OraHome1/dbs/ora

    Dear All,
    I have changed the PWD file on oracle 9.2.04 under linux redhat advance server 2.1. but when i start to open database by issuing dbstart, i get
    ORA-01990: Error opening password file '/home/oracle/OraHome1/dbs/orapw'
    ORA-27037: unable to obtain file status
    Linux Error: 2 : no such file or directory
    additional information: 3
    How to solve the problems?
    thanks and regard
    ER

    Hai all...
    I did it all..
    but still I got
    ORA-01990: Error opening password file '/home/oracle/OraHome1/dbs/orapw'
    ORA-27037: unable to obtain file status
    Linux Error: 2 : no such file or directory
    additional information: 3
    Help me...
    Thanks
    regard
    ER

  • Ora-01990 error in opening the password file

    Hi,
    I created a password file by using orapwd utility. Then later on I modified the remote_login_passwordfile in the spfile by giving the command:
    sql> alter system set remote_login_passwordfile=exclusive
    scope=spfile.
    Then it is altered. Later on I shutdown the database and When I was trying to connect to the databse again, I am getting the following errors.
    ORA-01990 error openeing the passowrd file.
    ORA-27037 unable to obtain file status
    linux error:2 no such file or directory.
    Thanks in advance.

    Hi,
    I tried that also.It is giving ora-32001 write to spfile requested but no spfile specified at startup.
    First Manually I deleted the password file and I set the remote_login_passwordfile=none in the parameter file and again I started the instance just by giving
    sql>startup open pfile='OraHome1/dbs/initRADHI.ora'
    then I tried to modify the the Remote_Login_PASSWORDFILE thru alter system set command.then it is giving the above error. then I again shutdown the DB and again I started without specifying the parameter file or spfile just saying sql>startup. Then also it is not taking the SPFILE to startup. why is so? Then also same error I am getting?
    ora-32001 write to spfile requested but no spfile at startup. can anyone of you help me.
    Thanks,
    Have a nice day.

  • 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

  • Password file issue in Oracle 10g

    Hi,
    While trying connecting from SQL prompt using command
    SQL> CONNECT SYS/PASSWORD@CONNECT_STRING AS SYSDBA
    It gives error
    ORA-01031 insufficient privilege
    If SQL> CONNECT SYS/PASSWORD AS SYSDBA
    It works successfully??
    After connecting without using connect_string.
    Only one DB is running on this machine.
    Then SELECT * FROM V$PWFILE_USERS;
    0 ROWS RETURNED
    Recreated the pwd file same issue persists. What may be the reason?
    If SQL> GRANT SYSDBA TO SYS;
    ERROR ORA-01994: GRANT FAILED: PASSWORD FILE MISSING OR DISABLED
    Password file created using command
    orapwd file=/u01/app/oracle/product/10.2.0db_1/dbs/orapwPRIMDB password=pwd entries=5
    Please help me.
    Thanks in advance.
    Edited by: Bharat Kaushik on May 31, 2009 4:20 PM

    The first command is a 'remote connection'. To be able to connect as sysdba remotely, spfile remote_login_passwordfile should be set to exclusive.
    When there is no password file or the parameter is incorrect this results in ora-1031.
    The second command uses O/S authentication, and doesn't use the password file at all.
    O/S authentication is set up in sqlnet.ora.
    SYS has always SYSDBA, by design. Granting SYSDBA to SYS is redundant.
    Obviously in this directory name
    /u01/app/oracle/product/10.2.0db_1/dbs/
    there is a / missing and it should have been
    /u01/app/oracle/product/10.2.0/db_1/dbs/
    So you still have no valid passwordfile.
    You could have and should have easily spotted this yourself.
    Sybrand Bakker
    Senior Oracle DBA
    Experts: those who did read the documentation.

  • Password file usage

    hpux 11.23
    ora 10.2.0.2
    I have a question about the password file. I've been doing a lot of searching, but haven't really found my answer.
    I have my primary and my standby database, which I created the password file when I built the standby.
    Is the password set to the sys user, synched up to the password in the file? All of the sudden I am getting heartbeat errors for this connection.
    says invalid user/password.
    If I recall right, the db has to be shut down to regenerate password files, correct? Is there any way to force these to resync without shutting down?
    Thanks.

    You dont need to do anything ..
    If you change the password through SQL command your pasword file gets update automatically....
    The reason for your issue could be the STANDBY sys password might have been changed..
    Both the SYS password has to be same

  • Issue with Password file / restore

    I have a big issue. My laptop [Win XP]had a hardware problem and I have no external backup of the data.
    The harddisk is still perfect and I have it now connected as external drive to another laptop [Win Vista].
    I now want to use / recover the password file and copy it from the external disk to the new laptop so I have all the passwords again.
    How can I do this?
    Where can I find the encripted file and where do I have to put it?
    Is this version dependant? I might have an older version on the old laptop [I think 3.4] and now I have 3.6.
    BIG THANKS in advance
    Arthur

    Password files recovery is covered in this article. <br /> http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile

Maybe you are looking for

  • TRM: doubts in interest rate instrument and Business partner

    Dear all, While implementing Treasury Risk Management, in order to fulfill my clientsu2019 needs I have three questions regarding, 1. Interest rate instruments, 2.Leasings and 3.Business partners. 1.When creating a contract of an interest rate instru

  • Same Execution plan But different consistent read values

    hi, my db version 10.2.0.3 os version solaris 10. i have a query which has same execution plan but with diffrenet consistent read values when optimizer_mode is RULE and CHOOSE. what may be the cause of that? thanks, Here is the query: SELECT * FROM X

  • Font Size for Dropdown List Box

    Hi All, We are in ECC 6.0 with Integrated ITS. We have a 'Z' EWT transaction with a corresponding service maintained in SICF being executed via ITS and/or Portals. The problem is that the font sizes for the dropdown list values for all these input fi

  • SAP Note 754143: SC names = 10 chars

    SAP Note 754143 says, "Use only 10 characters for the software component name and for the vendor." Wow! And no explanation is given. I assume, first of all, the note refers to software components defined in the SLD. 10 characters seems to be a pretty

  • Hiding  default report parameters in XLS template& password for analyzer

    Hi, I created a xls report in that report i don't have any parameters.But when i open that xls template i am getting the default Report Parameters at the top of the report with a column1(under this we have a drop down with options All,Top10,Custom...