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 12.1.0.4.0 and later
Information in this document applies to any platform.

Symptoms

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.

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


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