Visit Counter

Saturday, November 9, 2019

ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode



bash-4.1$ pwd
/ora/oracle/app/oracle/product/12.1.0/dbhome_1/bin
bash-4.1$ ./rman target /

Recovery Manager: Release 12.1.0.1.0 - Production on Sat Nov 9 21:15:12 2019

Copyright (c) 1982, 2013, Oracle and/or its affiliates.  All rights reserved.

connected to target database: ORATEST (DBID=3559263983)


RMAN> backup database;

Starting backup at 09-NOV-19
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=30 device type=DISK
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/09/2019 21:15:36
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00009 name=/ora/oracle/app/oracle/oradata/ORATEST/96E5EB6939A61161E0530A0000C0656E/datafile/o1_mf_sysaux_gwdtyz2t_.dbf
input datafile file number=00008 name=/ora/oracle/app/oracle/oradata/ORATEST/96E5EB6939A61161E0530A0000C0656E/datafile/o1_mf_system_gwdtyyxm_.dbf
input datafile file number=00010 name=/ora/oracle/app/oracle/oradata/ORATEST/96E5EB6939A61161E0530A0000C0656E/datafile/o1_mf_users_gwdv1k7g_.dbf
channel ORA_DISK_1: starting piece 1 at 09-NOV-19
channel ORA_DISK_1: finished piece 1 at 09-NOV-19
piece handle=/ora/oracle/app/oracle/fast_recovery_area/ORATEST/96E5EB6939A61161E0530A0000C0656E/backupset/2019_11_09/o1_mf_nnndf_TAG20191109T211536_gwfsk8v4_.bkp tag=TAG20191109T211536 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:36
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00007 name=/ora/oracle/app/oracle/oradata/ORATEST/datafile/o1_mf_sysaux_gwdtojz0_.dbf
input datafile file number=00005 name=/ora/oracle/app/oracle/oradata/ORATEST/datafile/o1_mf_system_gwdtojz6_.dbf
channel ORA_DISK_1: starting piece 1 at 09-NOV-19
channel ORA_DISK_1: finished piece 1 at 09-NOV-19
piece handle=/ora/oracle/app/oracle/fast_recovery_area/ORATEST/96E5DC8323B70F61E0530A0000C0D7FE/backupset/2019_11_09/o1_mf_nnndf_TAG20191109T211536_gwfsld9l_.bkp tag=TAG20191109T211536 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:45
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================

RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/09/2019 21:15:36
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode

------------------
Solution
------------------


RMAN> shutdown

database closed
database dismounted
Oracle instance shut down

RMAN> startup mount 

connected to target database (not started)
Oracle instance started

Total System Global Area    1469792256 bytes

Fixed Size                     2288488 bytes
Variable Size                973079704 bytes
Database Buffers             486539264 bytes
Redo Buffers                   7884800 bytes


Statement processed
released channel: ORA_DISK_1

RMAN> backup database;

Starting backup at 09-NOV-19
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=20 device type=DISK
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=/ora/oracle/app/oracle/oradata/ORATEST/datafile/o1_mf_system_gwdtl2js_.dbf
input datafile file number=00003 name=/ora/oracle/app/oracle/oradata/ORATEST/datafile/o1_mf_sysaux_gwdtj1bt_.dbf
input datafile file number=00004 name=/ora/oracle/app/oracle/oradata/ORATEST/datafile/o1_mf_undotbs1_gwdtn556_.dbf
input datafile file number=00006 name=/ora/oracle/app/oracle/oradata/ORATEST/datafile/o1_mf_users_gwdtn3pq_.dbf
channel ORA_DISK_1: starting piece 1 at 09-NOV-19
channel ORA_DISK_1: finished piece 1 at 09-NOV-19
piece handle=/ora/oracle/app/oracle/fast_recovery_area/ORATEST/backupset/2019_11_09/o1_mf_nnndf_TAG20191109T212336_gwft08r7_.bkp tag=TAG20191109T212336 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:15
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00009 name=/ora/oracle/app/oracle/oradata/ORATEST/96E5EB6939A61161E0530A0000C0656E/datafile/o1_mf_sysaux_gwdtyz2t_.dbf
input datafile file number=00008 name=/ora/oracle/app/oracle/oradata/ORATEST/96E5EB6939A61161E0530A0000C0656E/datafile/o1_mf_system_gwdtyyxm_.dbf
input datafile file number=00010 name=/ora/oracle/app/oracle/oradata/ORATEST/96E5EB6939A61161E0530A0000C0656E/datafile/o1_mf_users_gwdv1k7g_.dbf
channel ORA_DISK_1: starting piece 1 at 09-NOV-19
channel ORA_DISK_1: finished piece 1 at 09-NOV-19
piece handle=/ora/oracle/app/oracle/fast_recovery_area/ORATEST/96E5EB6939A61161E0530A0000C0656E/backupset/2019_11_09/o1_mf_nnndf_TAG20191109T212336_gwft2ov9_.bkp tag=TAG20191109T212336 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:45
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00007 name=/ora/oracle/app/oracle/oradata/ORATEST/datafile/o1_mf_sysaux_gwdtojz0_.dbf
input datafile file number=00005 name=/ora/oracle/app/oracle/oradata/ORATEST/datafile/o1_mf_system_gwdtojz6_.dbf
channel ORA_DISK_1: starting piece 1 at 09-NOV-19
channel ORA_DISK_1: finished piece 1 at 09-NOV-19
piece handle=/ora/oracle/app/oracle/fast_recovery_area/ORATEST/96E5DC8323B70F61E0530A0000C0D7FE/backupset/2019_11_09/o1_mf_nnndf_TAG20191109T212336_gwft41lk_.bkp tag=TAG20191109T212336 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:35
Finished backup at 09-NOV-19

Starting Control File and SPFILE Autobackup at 09-NOV-19
piece handle=/ora/oracle/app/oracle/fast_recovery_area/ORATEST/autobackup/2019_11_09/o1_mf_s_1023916940_gwft57rh_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 09-NOV-19


No comments:

Post a Comment