ORA-00230: operation disallowed: snapshot controlfile
enqueue unavailable

Answer Posted / gaurav ojha

When Recovery Manager (RMAN) needs to back up or
resynchronize from the control file, it first creates a
snapshot or consistent image of the control file. If one
RMAN job is already backing up the control file, while
another needs to create a new snapshot control file, then
the following message may show up:

RMAN-08512: waiting for snapshot controlfile enqueue

To determine which job is holding the conflicting enqueue,
do the following:
After the first RMAN-08512 message appears, start a new
SQL*Plus session on the target database as shown:


% sqlplus sys/sys_pwd@prod1


Execute the following query to determine which job is
causing the wait:


SELECT s.sid, username AS "User", program, module, action,
logon_time "Logon", l.*
FROM v$session s, v$enqueue_lock l
WHERE l.sid = s.sid and l.type = 'CF' AND l.id1 = 0 and
l.id2 = 2;

The output shown should be similar to the following (the
output in this example has been truncated):

SID User Program Module Action Logon
--- ---- -------------------- -------------------------
---------------- ---------
9 SYS rman@h13 (TNS V1-V3) backup full datafile: c1 0000210


Solution:

After determining which job is creating the enqueue, do one
of the following:

1. Wait until the job creating the enqueue completes

OR

2. Cancel the current job and restart it once the job
creating the enqueue completes

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

ORA-26084: direct path context already finished

1674


ORA-16516: The current state is invalid for the attempted operation.

8407


ORA-26094: stream format error: input column overflow

2540


ORA-16626: failed to enable specified object

1966


ORA-26028: index string.string initially in unusable state

3603






NZE-28868: Peer certificate chain check failed.

2463


ORA-26079: file "string" is not part of table string.string

1697


ORA-26095: unprocessed stream data exists

3222


IMG-02003: 2FF03 - incorrect color histogram feature specification

1409


ORA-16627: No standby databases support the overall protection mode.

3743


ORA-26029: index string.string partition string initially in unusable state

1910


ORA-26030: index string.string had string partitions made unusable due to:

1715


ORA-26027: unique index string.string partition string initially in unusable state

6475


Hi guys, I have four tables those are emp,dept,eliminate and uneliminate. i wrote small cursor..when i run, it display one error (ORA-01403 nodata found)... The query is: Declare cursor c1 is select e.ename emp_name from emp e,dept d where e.deptno=d.deptno group by deptno; r1 c1%rowtype; test_emp varchar2(200); begin for r1 in c1 loop begin select eliminate_emp into test_emp from eliminate t,uneliminate ut where t.number=ut.number and t.deptno=e.deptno and rownum<1; end; dbms_output.put_line(r1.emp_name); end loop; end; Thanks...

2450


Hi guys, I have four tables those are emp,dept,eliminate and uneliminate. i wrote small cursor..when i run, it display one error (ORA-01403 nodata found)... The query is: Declare cursor c1 is select e.ename emp_name from emp e,dept d where e.deptno=d.deptno group by deptno; r1 c1%rowtype; test_emp varchar2(200); begin for r1 in c1 loop begin select eliminate_emp into test_emp from eliminate t,uneliminate ut where t.number=ut.number and t.deptno=e.deptno and rownum<1; end; dbms_output.put_line(r1.emp_name); end loop; end; Thanks...

2302