Issue: RMAN-05541: no archived logs found in target database.
When performing a RMAN Database duplication, I get the following error:
RMAN-03002: failure of Duplicate Db command at 07/30/2013 09:39:05
RMAN-05501: aborting duplication of target database
RMAN-05541: no archived logs found in target database
Cause:
Solution:
Enable archivelog mode and perform log switch before backup.
sql> alter database archivelog;
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination D:\app\SantoshTiwari\oradata\arc
Oldest online log sequence
Next log sequence to archive
Current log sequence
SQL> alter system archive log current;
When performing a RMAN Database duplication, I get the following error:
RMAN-03002: failure of Duplicate Db command at 07/30/2013 09:39:05
RMAN-05501: aborting duplication of target database
RMAN-05541: no archived logs found in target database
Cause:
- Target database may not be in the archivelog mode before taking backup so first check it.
- Sometimes Database in archived log mode, but control file did not have any archived log records.
Solution:
Enable archivelog mode and perform log switch before backup.
sql> alter database archivelog;
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination D:\app\SantoshTiwari\oradata\arc
Oldest online log sequence
Next log sequence to archive
Current log sequence
SQL> alter system archive log current;
System altered.
No comments:
Post a Comment