My Oracle Support Banner

ORA-27366 / ORA-27478 During Stop or Drop Job (Doc ID 784664.1)

Last updated on MAY 10, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 to 11.1.0.7 [Release 10.2 to 11.1]
Information in this document applies to any platform.



Symptoms

Unable to drop or stop the JOBS.

exec dbms_scheduler.drop_job('',true);
BEGIN dbms_scheduler.drop_job('',true); END;

*
ERROR at line 1:
ORA-27478: job "" is running
ORA-06512: at "SYS.DBMS_ISCHED", line 182
ORA-06512: at "SYS.DBMS_SCHEDULER", line 615
ORA-06512: at line 1

exec dbms_scheduler.stop_job('',true);
BEGIN dbms_scheduler.stop_job('',true); END;

*
ERROR at line 1:
ORA-27366: job "" is not running
ORA-06512: at "SYS.DBMS_ISCHED", line 168
ORA-06512: at "SYS.DBMS_SCHEDULER", line 515
ORA-06512: at line 1



Drop using force option shows:

exec dbms_scheduler.drop_job('',force => TRUE);
BEGIN dbms_scheduler.drop_job('',force => TRUE); END;

*
ERROR at line 1:
ORA-27478: job "" is running
ORA-06512: at "SYS.DBMS_ISCHED", line 182
ORA-06512: at "SYS.DBMS_SCHEDULER", line 615
ORA-06512: at line 1

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.