Oracle Error ORA-16609: database is being disabled

Oracle Error Message

ORA-16609: database is being disabled

Reason for the Error

A command was attempted on a database that was being disabled. For example, attempting to reinstate the old primary database, the database that was the primary database prior to the most recent failover, before it was ready to be reinstated.

Solution

Wait for the Data Guard broker to disable the database and then retry the command.