How to fix the Oracle error RMAN-05532: PASSWORD FILE specified without FROM ACTIVE DATABASE?

In this post, you’ll learn more about the Oracle ErrorRMAN-05532: PASSWORD FILE specified without FROM ACTIVE DATABASE with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

RMAN-05532: PASSWORD FILE specified without FROM ACTIVE DATABASE

Reason for the Error RMAN-05532: PASSWORD FILE specified without FROM ACTIVE DATABASE

The PASSWORD FILE clause of the DUPLICATE command was specified but the FROM ACTIVE DATABASE clause was not. A password file can only be duplicated if the FROM ACTIVE DATABSE clause has been used.

How to fix the Error RMAN-05532: PASSWORD FILE specified without FROM ACTIVE DATABASE ?

You can fix this error in Oracle by following the below steps

Remove the PASSWORD FILE clause from the command, or perform an online duplicate of the database by specifying the FROM ACTIVE DATABASE clause.