How to fix the Oracle error RMAN-05502: the target database must be mounted when issuing a DUPLICATE command?

In this post, you’ll learn more about the Oracle ErrorRMAN-05502: the target database must be mounted when issuing a DUPLICATE command with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

RMAN-05502: the target database must be mounted when issuing a DUPLICATE command

Reason for the Error RMAN-05502: the target database must be mounted when issuing a DUPLICATE command

A DUPLICATE command was issued, but the target database control file is not mounted.

How to fix the Error RMAN-05502: the target database must be mounted when issuing a DUPLICATE command ?

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

Mount the target database control file by issuing ALTER DATABASE MOUNT via Enterprise Manager or Server Manager.