Issue :

Nagios was set up for the server recently and the following warning shows up regularly :

Server Last Stats WARNING 03-10-2010 19:25:46 0d 7h 17m 53s 3/3
WARNING on /var/cpanel/lastrun/ – Last updated 161545 seconds ago.


Solution :

First, try running the script /scripts/runstatsonce
If that doesn’t work then go to /var/cpanel/lastrun/ & touch the files in the folder.

#cd /var/cpanel/lastrun/
#touch *

If this does not resolve the issue either then kill cpanellogd & restart it.

#pkill cpanellogd

This should fix the issue!

Contact Us On WhatsApp