RMAN-04006: error from auxiliary database: ORA-01017: invalid username/password; logon denied

Hi friends, Today i want to show you some possible error while installing Data Guard.

In Data Guard installation we need to connect auxilary database(standby) from Primary.

connect auxiliary oracle/welcome1@TESTDB_DG


RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01017: invalid username/password; logon denied

This is RMAN connection statement from primary to standby. But there is an important point in this step.

although we enter the correct password, passwd file must be present on the remote server.

The passwd file is located under $ORACLE_HOME/dbs. So you must copy same directory.

scp initTESTDB oracle@TESTDBDG:/$ORACLE_HOME/dbs

Not try again to connect.


Note: However that error caused different reason. This could be one of the solutions

Good luck..


Do you want to learn Oracle Database for Beginners, then read the following articles.


Deniz Parlak

I am a technical author on IT Tutorial. I am working on Oracle and Mysql databases, I also work on Datawarehouse and Big Data.If you need help, please contact deniz.parlak@yahoo.com.

Leave a Reply

Do NOT follow this link or you will be banned from the site!