ORA-27468: “”.”” is locked by another process

you have a scheduler job that generated an error. when the error occurred, you attempted to disable the job to investigate the error, but received an ora-27468 error message.

27468, 00000, “\”%s.%s\” is locked by another process”
// *cause: an attempt was made to read or modify the state of the named
//         scheduler object when another process was also updating the same
//         object and held the lock.
// *action: retry the operation. scheduler locks are held for a very
//          short duration. if the error persists, contact oracle support.

since the documentation for this message said to try again later, you waited, but have continued to receive the same error message.

 

 

to implement the solution, please execute the following steps:

1.  check the value for the job_queue_processes:

sql> show parameter job

name                                 type        value
———————————— ———– ——————————
job_queue_processes                  integer     1000
sql>

2. stop the cjq0 process.

sql> show parameter job

name                                 type        value
———————————— ———– ——————————
job_queue_processes                  integer     1000
sql> alter system set job_queue_processes=0;

system altered.

sql> show parameter job

name                                 type        value
———————————— ———– ——————————
job_queue_processes                  integer     0
sql>

    this may require a kill -9 if on unix or linux.

3. drop the problematic job.

4. restart the cjq0 process.

    reset the job_queue_processes back to the original setting (from show parameter command) using

         sql> alter system set job_queue_processes=<old value>;

摘自:文档 id 330725.1

(0)
上一篇 2022年3月22日
下一篇 2022年3月22日

相关推荐