Oracle Solution for Error ora-32829

Solution for Oracle Error ORA-32829

ORA-32829: Messaging Gateway agent cannot be shut down while it is starting

What triggered the Error:

An attempt was made to shut down the Messaging Gateway agent when it is in the process of starting and initializing.

What should we do to fix it:

Wait for MGW_GATEWAY view to show a RUNNING status and retry the operation. CLEANUP_GATEWAY may need to be issued to reset the gateway state if the agent fails to start after a reasonable time period.