Incorrect services owners for '/opt/monit/bin/monit(monit)'

Incorrect services owners for '/opt/monit/bin/monit(monit)'

113
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 16:12 PM


Symptom


The following errors appear in the Diagnostics report:

 

1 ./tasks/PTA/task015. sh - [P015] Verifying PTA services... [ FAIL ] (Watchdog is not running, run 'service appmgr start' command)

1 ./tasks/PTA/task016. sh - [P016] Verifying PTA services owners... [ FAIL ] (Incorrect services owners for '/opt/monit/bin/monit(monit)', contact support.)

 

Running MONIT_STATUS command, gives the following error: Monit: the monit daemon is not running.

 

 



Environment


11.1;11;11.2;11.3;11.4;11.5;11.6 Privileged Access Manager (PAM, self-hosted) PTA PTA Other

Cause


  1. This could be a temporary issue caused by running the Diagnostics right after performing a system restart.
  2. Incorrect file owners or permissions.
  3. PID file contains incorrect PID information


Resolution


  1. Restart the PTA server, and wait 5-10 minutes before running the Diagnostics .
  2. Make sure the owners and permissions match the following. Use the ls -l command to view current permissions and owners and modify using the following commands if necessary:

#ls -l /opt/monit/bin/monit

#ls -l /etc/monitrc

#ls -l /etc/monit.d/

#ls -l /etc/monit.d/exec

 

#chown monit:monit /opt/monit/bin/monit

#chmod 700 /opt/monit/bin/monit

 

#chown monit:monit /etc/monitrc

#chmod 500 /etc/monitrc

 

#chown -R monit:monit /etc/monit.d

#chmod 644 /etc/monit.d/*

#chmod 755 /etc/monit.d/exec

#chmod 544 /etc/monit.d/exec/*

 

3. Delete monit.pid

*. Stop PTA services.

*. This can be done using the Utility Manager by running the script ./run.sh located in the Utility folder or by running the command service appmgr stop

*. Backup the file @ /opt/monit/logs/monit.pid

*. Delete the file @ /opt/monit/logs/monit.pid

*.Restart the machine

*.Start PTA - service appmgr start

*.Run service monit status



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001gWhCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail