Skip to content
Bug Barometer

Anypoint Monitoring Directory Watcher service restart loop

Not fixed yet. Salesforce has scheduled a fix.

Summary

The AM agent scripts unconditionally use sudo for PID file operations and service management, even when already running as root. On RHEL 8 systems with the default Defaults requiretty sudoers policy, sudo fails because systemd services do not have a TTY. This prevents the PID file from being created, causing the am-directory-watcher service to enter an infinite restart loop.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Scheduled with 2 reports

    Nov 30, 2026

Also open in Anypoint Monitoring