Admin console shows services not running

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
JDunphy
Outstanding Member
Outstanding Member
Posts: 889
Joined: Fri Sep 12, 2014 11:18 pm
Location: Victoria, BC
ZCS/ZD Version: 9.0.0_P39 NETWORK Edition

Re: Admin console shows services not running

Post by JDunphy »

This has been answered in these forums in a lot of detail... first thing to do is verify STATUS lines.

Code: Select all

% grep STATUS /var/log/zimbra-stats.log
If they are not present, verify cron entry for zmstatuslog

Code: Select all

# su - zimbra
% $ crontab -l | grep zmstatuslog
*/2 * * * * /opt/zimbra/libexec/zmstatuslog > /dev/null 2>&1
If present and still no STATUS lines, run the zmstatuslog command manually and verify if you see them. If you don't restart cron. If that doesn't work, look into syslog to make sure you have

Code: Select all

% grep zimbra-stats.log /etc/rsyslog.conf
local1.*                -/var/log/zimbra-stats.log
if that fails, it's on the back-end.... verify swatch.

Code: Select all

% ps auxw | grep zimbra-stats.log
zimbra   2321882  0.0  0.2  62456 21280 ?        SNs  03:38   0:11 /opt/zimbra/common/bin/swatchdog --config-file=/opt/zimbra/conf/logswatchrc --use-cpan-file-tail --pid-file=/opt/zimbra/log/logswatch.pid --daemon --script-dir=/opt/zimbra/data/tmp --tail-file /var/log/zimbra-stats.log
PS... first line from zmcontrol status is the logger host and where the STATUS messages are going.

Code: Select all

% zmcontrol status | head -1
Host mail.example.com 
HTH,

Jim
patrickwilson82
Advanced member
Advanced member
Posts: 134
Joined: Tue Mar 13, 2018 5:37 pm
ZCS/ZD Version: 8.8.15

Re: Admin console shows services not running

Post by patrickwilson82 »

That was it. The crontab file was missing. I copied it over from the old server, restarted crontab, and he admin console now shows all services running. Thank you!
Post Reply