While creating a new physical standby database by using RMAN duplicate command, the following errors occur:
RMAN> run {
allocate channel prim1 type disk;
allocate channel prim2 type disk;
allocate auxiliary channel standby1 type disk;
DUPLICATE TARGET DATABASE
FOR STANDBY
FROM ACTIVE DATABASE
...
..
.
RMAN-03009: failure of backup command on prim2 channel
ORA-17628: Oracle error 19505 returned by remote Oracle server
ORA-19505: failed to identify file ""
SOLUTION
- Check and remove the old standby database data files.
- Make sure directories for standby database data files created and accessible.