Oracle Error ORA-32831: timed out trying to acquire administration lock

Oracle Error Message

ORA-32831: timed out trying to acquire administration lock

Reason for 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.

Solution

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