Oracle Error ORA-16162: Cannot add new standby databases to protected configuration

Oracle Error Message

ORA-16162: Cannot add new standby databases to protected configuration

Reason for the Error

An attempt was made to enable a new standby database destination when the primary database is in standby protected mode.

Solution

The standby database must be added to the configuration before the primary database is opened.