Search Suggest

How to Start, stop and restart Zimbra Service

This is 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 stop working . In this troutorial we will look how to check zimbra status, stop, start and restart service.

Check Zimbra Service status using zmcontrol command:

Login with zimbra user
[root@server ~]# su – zimbra

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
Note: As you seen above all services are running properly on ZCS 8.6 version.

Run command to stop all zimbra service  ( If require )
[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.

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.

Run command to Restart zimbra service
[zimbra@server ~]$ zmcontrol restart

Đăng nhận xét