Troubleshoot Management Gateway

This topic covers typical issues and resolutions related to Management Gateway.

Remove Management Gateway

Cause: In some cases, it may be necessary to remove an existing Management Gateway installation, in order to reinstall it.

Action:
  • Check if the gateway is running:

    For OL7: systemctl status mgmt_gateway

    For OL6: /sbin/initctl status mgmt_gateway

    If the gateway is running, stop it:

    For OL7: systemctl stop mgmt_gateway

    For OL6: /sbin/initctl stop mgmt_gateway

  • Remove the installed Gateway RPM using the following command: rpm -e oracle.mgmt_gateway --noscripts

  • Remove any remaining Gateway files using the following command:

    rm -rf /opt/oracle/mgmt_agent

  • Run the following:

    For OL7: rm -rf /etc/systemd/system/mgmt_gateway.service

    For OL6: rm -rf /etc/init/mgmt_agent.conf