ORA-00230: operation disallowed: snapshot controlfile
enqueue unavailable

Answers were Sorted based on User's Feedback



ORA-00230: operation disallowed: snapshot controlfile enqueue unavailable..

Answer / jiwitesh

RMAN makes up to five attempts to get the enqueue and then
fails the job. The conflict is usually caused when two jobs
are both backing up the control file, and the job that
first starts backing up the control file waits for service
from the media manager.

Solution Commonly, enqueue situations occur when a job is
writing to a tape drive, but the tape drive is waiting for
new tape to be inserted. If you start a new job in this
situation, then you will probably receive the enqueue
message because the first job cannot complete until the new
tape is loaded.

Kill all the hanging session or wait to finish the seeion
and then retry.

Is This Answer Correct ?    8 Yes 1 No

ORA-00230: operation disallowed: snapshot controlfile enqueue unavailable..

Answer / 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

ORA-00230: operation disallowed: snapshot controlfile enqueue unavailable..

Answer / guest

Cause: The attempted operation cannot be executed at this
time because another process currently holds the snapshot
controlfile enqueue.

Action: Retry the operation after the concurrent operation
that is holding the snapshot controlfile enqueue terminates.

Please add more information about this Error

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More Oracle Errors Interview Questions

ORA-29818: column name not properly specified

1 Answers  


ORA-14608: Tablespace was specified for the previous lob segments of column string in template but is not specified for string

1 Answers  


ORA-26663: error queue for apply process string must be empty

1 Answers  


PCC-00126: Could not find or open system configuration file

1 Answers  


ORA-30743: "string" is not an object view

1 Answers  






ORA-02179: valid options: ISOLATION LEVEL { SERIALIZABLE | READ COMMITTED }

1 Answers  


TNS-12626: TNS:bad event type

1 Answers  


ORA-12922: concurrent ALTER DATABASE [NO] FORCE LOGGING command is running

1 Answers  


RMAN-20501: redo logs from parent database incarnation cannot be applied

1 Answers  


ORA-08311: sllfop: bad value for maxrecsize

1 Answers  


ORA-02211: invalid value for PCTFREE or PCTUSED

1 Answers  


ORA-16057: DGID from server not in Data Guard configuration

1 Answers  


Categories