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..

Deniz Parlak

Hi, I'm a Computer Engineering student in Dumlupınar University.I will graduate next year. I did an internship TurkNet Telecominication Company in 2018 June- 2018 September. I had experience Linux/Unix system, SQL Server Management , SSRS, Mysql Database Management,Troubleshooting performance issues in Linux. I also interested Oracle database and technologies. I want to work as Oracle DBA after my University. I am practicing Unix, Exadata, Orace Cloud, Oracle RAC, Dataguard, EBS, Oracle BI and etc and i hope the articles will be helpful. Any questions, or support please write email deniz.parlak@yahoo.com