Oracle Solution for Error ora-32831

Solution for Oracle Error ORA-32831

ORA-32831: timed out trying to acquire administration lock

What triggered the Error:

A timeout occurred when attempting an administration operation. Either an administration operation was attempted while the Messaging Gateway agent was starting and initializing, or two administration operations were attempted at the same time.

What should we do to fix it:

Retry the operation. If the Messaging Gateway agent is starting, wait for MGW_GATEWAY view to show a RUNNING status and retry the operation.