My Oracle Support Banner

EM 12c : Creating Blackout Using "emcli create_blackout" Fails with "The blackout end_time cannot be in the past" (Doc ID 2244202.1)

Last updated on NOVEMBER 10, 2019

Applies to:

Enterprise Manager Base Platform - Version and later
Information in this document applies to any platform.


Attempting to create blackout using the emcli command fails:

emcli create_blackout -name=testing -add_targets=LISTENER_domainname:oracle_listener -propagate_targets -reason=Blkout_By_BlackOut -schedule="duration::30"
Error: The blackout end_time cannot be in the past

Creating the blackout via the console works fine without any errors.


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.