Zimbra: How to start the stats

Bismillahirrahmanirrahim..

So you noticed that your zimbra stats are not running:

[zimbra@mta00x zmstat]$ zmcontrol status
Host mail.xxx.com 
antispam	Running
antivirus	Running
convertd	Running
imapproxy	Running
ldap		Running
logger		Running
mailbox		Running
memcached	Running
mta		Running
snmp		Running
spell		Running
stats		Stopped

Here is how to recover form that:

ls -la /opt/zimbra/zmstat/

If some of the files are owned by a different user than zimbra then this is making the stats to fail.

chown zimbra:zimbra /opt/zimbra/zmstat/*
su zimbra
zmstatctl start
zmstatctl status
[zimbra@mta00x zmstat]$ zmcontrol status
Host mail.xxx.com
antispam	Running
antivirus	Running
convertd	Running
imapproxy	Running
ldap		Running
logger		Running
mailbox		Running
memcached	Running
mta		Running
snmp		Running
spell		Running
stats		Running
This entry was posted in Zimbra and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s