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
ORA-26084: direct path context already finished
ORA-16516: The current state is invalid for the attempted operation.
ORA-26094: stream format error: input column overflow
ORA-16626: failed to enable specified object
ORA-26028: index string.string initially in unusable state
NZE-28868: Peer certificate chain check failed.
ORA-26079: file "string" is not part of table string.string
ORA-26095: unprocessed stream data exists
IMG-02003: 2FF03 - incorrect color histogram feature specification
ORA-16627: No standby databases support the overall protection mode.
ORA-26029: index string.string partition string initially in unusable state
ORA-26030: index string.string had string partitions made unusable due to:
ORA-26027: unique index string.string partition string initially in unusable state
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...
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...