My Oracle Support Banner

Rman-04022 When Trying To Delete Archivelogs (Doc ID 869829.1)

Last updated on DECEMBER 22, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.3 and later
Information in this document applies to any platform.

Symptoms

When trying to delete ArchiveLogs via RMAN, it fails with this Error-Stack:

oracle : rman target /

Recovery Manager: Release 10.2.0.3.0 - Production on Wed Jul 22 11:20:01 2009

Copyright (c) 1982, 2005, Oracle. All rights reserved.

connected to target database: xxx (DBID=XXXXXXXXXX, not open)

RMAN> delete archivelog all completed before 'SYSDATE-4';

Starting implicit crosscheck backup at 22-JUL-09
using target database control file instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 07/22/2009 11:20:45
RMAN-12001: could not open channel ORA_DISK_1
RMAN-10008: could not create channel context
RMAN-10003: unable to connect to target database
RMAN-04022: target database mount id 13663612 does not match channel's mount id 13940712


Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.