IPv6 Issue with zimbra-proxy
Proxy services fails to start if IPv6 is enabled
- This article is a Work in Progress, and may be unfinished or missing sections.
Problem
Tried to enable 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 :
1). Run as zimbra user :
su - zimbra zmprov ms `zmhostname` zimbraIPMode both
2). Run this command
/opt/zimbra/libexec/zmiptool
Then try restart the zimbra services :
zmcontrol restart