IPv6 Issue with zimbra-proxy
Proxy services fails to start if IPv6 is enabled
Problem
Enabled IPv6 with the following command :
zmprov ms `zmhostname` zimbraIPMode both
While running the zmcontrol restart got the following error :
Starting proxy...Failed. Starting nginx...nginx: [emerg] bind() to [::]:7143 failed (98: Address already in use) nginx: [emerg] bind() to [::]:7993 failed (98: Address already in use) nginx: [emerg] bind() to [::]:7110 failed (98: Address already in use) nginx: [emerg] bind() to [::]:7995 failed (98: Address already in use)
Solution
Follow the below steps to enable IPv6 :
Change the zimbraIPMode to 'both':
su - zimbra zmprov ms `zmhostname` zimbraIPMode both
Run 'zmiptool':
/opt/zimbra/libexec/zmiptool
Then try restart the zimbra services :
zmcontrol restart