Oracle Solution for Error ora-16548

Solution for Oracle Error ORA-16548

ORA-16548: database not enabled

What triggered the Error:

An attempt was made to modify or query a disabled database. This error is also returned on an attempt to enable, modify, or query a database that the broker has disabled because of a switchover or failover operation. The broker disables its management of a database when it detects that the database needs to be re-created because of a failover or switchover operation.

What should we do to fix it:

If broker management of the database is disabled, enable it and reissue the request.