Oracle Error RMAN-05597: Database started with server parameter file and PFILE clause used in command

Oracle Error Message

RMAN-05597: Database started with server parameter file and PFILE clause used in command

Reason for the Error

A PFILE clause was specified for duplicate command, but database was started with a server parameter file causing a conflict.

Solution

Remove PFILE clause from command or restart database without using a server parameter file.