My Oracle Support Banner

Database Jobs Do Not Run After a Failed 'Shutdown Immediate' (Doc ID 434690.1)

Last updated on JANUARY 30, 2022

Applies to:

Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version to [Release 9.2 to 10.2]
Oracle Database Cloud Schema Service - Version N/A and later
Information in this document applies to any platform.


After issuing a 'shutdown immediate' command, if the command does not execute after an hour, the Oracle Server automatically cancels the operation. A message will appear in the alert log as follows:

SHUTDOWN: Active sessions prevent database close operation

Unfortunately this has the added effect of shutting down all the job queue secondary as part of the shutdown process. Any jobs listed in the DBA_JOBS view will not run.  This can affect a wide variety of functions, such as statistics gathering, replication  propagation, materialized view refresh, etc.


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.