[zimbra@mail ~]$ zmcontrol status Host mail.wachid.co.id amavis Running antispam Running antivirus Running cbpolicyd 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 [zimbra@mail ~]$
Mematikan service zimbra
[zimbra@mail ~]$ zmcontrol stop zimbraAdmin Host mail.dartair.co.id 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.
Membackup webadmin lama dan mengkopi zimbra web admin dari instalasi zimbra baru
[root@mail zimbra]# mv /opt/zimbra/jetty/webapps/zimbraAdmin{,-back} [root@mail zimbra]# [root@mail zimbra]# cp -r jetty/webapps/zimbraAdmin /opt/zimbra/jetty/webapps/ [root@mail zimbra]#
Memperbaiki permission
[root@mail zimbra]# /opt/zimbra/libexec/zmfixperms -verbose Fixing ownership and permissions on /opt/zimbra/conf Fixing permissions on /opt/zimbra/conf/ca Fixing permissions on /opt/zimbra/conf/ca/commercial_ca_1.crt Fixing permissions on /opt/zimbra/conf/ca/commercial_ca_2.crt Fixing permissions on /opt/zimbra/conf/ca/commercial_ca_3.crt Fixing permissions on /opt/zimbra/conf/ca/ca.pem Fixing ownership and permissions on /opt/zimbra/conf/ldap-canonical.cf Fixing ownership and permissions on /opt/zimbra/conf/ldap-slm.cf Fixing ownership and permissions on /opt/zimbra/conf/ldap-transport.cf Fixing ownership and permissions on /opt/zimbra/conf/ldap-vad.cf Fixing ownership and permissions on /opt/zimbra/conf/ldap-vam.cf Fixing ownership and permissions on /opt/zimbra/conf/ldap-vmd.cf Fixing ownership and permissions on /opt/zimbra/conf/ldap-vmm.cf Fixing permissions and ownership on /opt/zimbra/conf/imapd.crt Fixing permissions and ownership on /opt/zimbra/conf/nginx.crt Fixing permissions and ownership on /opt/zimbra/conf/slapd.crt Fixing permissions and ownership on /opt/zimbra/conf/smtpd.crt Fixing permissions and ownership on /opt/zimbra/conf/imapd.key Fixing permissions and ownership on /opt/zimbra/conf/nginx.key Fixing permissions and ownership on /opt/zimbra/conf/slapd.key Fixing permissions and ownership on /opt/zimbra/conf/smtpd.key Fixing permissions and ownership on /opt/zimbra/conf/zmssl.cnf Fixing ownership and permissions on /var/log/zimbra.log Fixing ownership and permissions on /opt/zimbra/conf/crontabs Fixing ownership and permissions on /opt/zimbra/common/lib/jylibs Fixing ownership and permissions on /opt/zimbra/lib Fixing ownership and permissions on /opt/zimbra/db Fixing ownership and permissions on /opt/zimbra/data/sasl2/state Fixing ownership and permissions on /opt/zimbra/data/amavisd Fixing ownership and permissions on /opt/zimbra/jetty Fixing ownership and permissions on /opt/zimbra/ssl Fixing ownership and permissions on /opt/zimbra/data/ldap Fixing ownership and permissions on /opt/zimbra/logger/db Fixing ownership and permissions on /opt/zimbra/zmstat Fixing postfix related permissions Fixing ownership and permissions on /opt/zimbra/data/postfix Set capability for /opt/zimbra/common/libexec/slapd [root@mail zimbra]#
Menjalankan kembali aplikasi zimbra
[zimbra@mail ~]$ zmcontrol start Host mail.wachid.co.id Starting ldap...Done. 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 cbpolicyd...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. [zimbra@mail ~]$