Yesterday, one of my Team do upgrading Zimbra from 8.7.0 to 8.8.8. Zimbra server using Ubuntu 14.04 and Zimbra NE. Upgrade goes well until getting an error when starting Zimbra
Starting proxy...Failed. Starting proxy...nginx: [emerg] unknown directive "mail_login_ip_imap_max" in /opt/zimbra/conf/nginx/includes/nginx.conf.mail:142 failed.
and log from nginx.log :
2018/06/02 16:45:11 [emerg] 27591#0: unknown directive "mail_login_ip_imap_max" in /opt/zimbra/conf/nginx/includes/nginx.conf.mail:142
We are submit issue into Zimbra Support and problem solved 🙂 . Below is information from Zimbra Support
We have checked and found the nginx binary file was corrupt and that is the reason proxy service was not starting. We checked and compared md5sum of nginx binary file with our test setup and found md5sum was different. To fix this issue we have moved nginx binary and re-installed zimbra-nginx package then restarted proxy service.
Below are the steps to fix the issue.
root@mail:~# md5sum /opt/zimbra/common/sbin/nginx 6abb9b1776793e786fd011dd193ff6aa /opt/zimbra/common/sbin/nginx root@mail:~# root@mail:~# mv /opt/zimbra/common/sbin/nginx /opt/zimbra/common/sbin/nginx_OLD root@mail:~# root@mail:~# apt-get install --reinstall zimbra-nginx root@mail:~# md5sum /opt/zimbra/common/sbin/nginx ac7e9f1747b651a91421b01fd07e4f5c /opt/zimbra/common/sbin/nginx root@mail:~# root@mail:~# su - zimbra zimbra@mail:~$ zimbra@mail:~$ zmproxyctl restart Stopping proxy...done. Starting proxy...done.
Finally, Zimbra Proxy can be starting again. Thanks, Heera Singh Koranga for the great support 🙂