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-02247: no option specified for ALTER SESSION

1 Answers  


DRG-11213: CTXSYS does not own procedure filter stored procedure: string

1 Answers  


TNS-01159: Internal connection limit has been reached; listener has shut down

1 Answers  


ORA-13198: Spatial error: string

1 Answers  


RMAN-06263: %-4s string string

1 Answers  






PLS-00612: Number of attributes do not match in SET clause

1 Answers  


AMD-00106: parent string "string" must be removed before child string "string" can be removed

1 Answers  


RMAN-06020: connected to auxiliary database (not started)

1 Answers  


QSM-02187: materialized view on external table

1 Answers  


PLS-00592: the type of a object table must be an object type

1 Answers  


ORA-13454: GeoRaster metadata is invalid

1 Answers  


ORA-03292: Table to be truncated is part of a cluster

1 Answers  


Categories