The Zimbra server contains Postfix, MySQL, OpenLDAP, ClamAV, and Spam-Assassin, Calendar, and various other features. Zimbra provides a paid option as well as an open source version.
The first command in Zimbra mail server which we need to care about zimbra server service status. All services should be running on server. If any of service get stop working than your mail server will stops working. In this post, we will look how to check zimbra status, stop, start and restart service.
Starting Zimbra Services
1. Run command to start zimbra service:
[zimbra@server ~]$ zmcontrol start Host server.example.com Starting zmconfigd...Done. Starting logger...Done. Starting mailbox...Done. Starting memcached...Done. Starting proxy...Done. Starting amavis...Done. Starting antispam...Done. Starting antivirus...Done. Starting opendkim...Done. Starting snmp...Done. Starting spell...Done. Starting mta...Done. Starting stats...Done. Starting service webapp...Done. Starting zimbra webapp...Done. Starting zimbraAdmin webapp...Done. Starting zimlet webapp...Done.
Stopping Zimbra Services
1. Run the below command to stop all zimbra service.
[zimbra@server ~]$ zmcontrol stop Host server.example.com Stopping vmware-ha...skipped. Stopping zmconfigd...Done. Stopping zimlet webapp...Done. Stopping zimbraAdmin webapp...Done. Stopping zimbra webapp...Done. Stopping service webapp...Done. Stopping stats...Done. Stopping mta...Done. Stopping spell...Done. Stopping snmp...Done. Stopping cbpolicyd...Done. Stopping archiving...Done. Stopping opendkim...Done. Stopping amavis...Done. Stopping antivirus...Done. Stopping antispam...Done. Stopping proxy...Done. Stopping memcached...Done. Stopping mailbox...Done. Stopping logger...Done. Stopping dnscache...Done. Stopping ldap...Done.
Restarting Zimbra Services
1. Run command to Restart zimbra service:
[zimbra@server ~]$ zmcontrol restart
Check Zimbra service status
Check Zimbra Service status using zmcontrol command:
1. Login with zimbra user:
[root@server ~]# su – zimbra
2. Run command to check status:
[zimbra@server ~]$ zmcontrol status Host server.example.com amavis Running antispam Running antivirus Running ldap Running logger Running mailbox Running memcached Running mta Running opendkim Running proxy Running service webapp Running snmp Running spell Running stats Running zimbra webapp Running zimbraAdmin webapp Running zimlet webapp Running zmconfigd Running