IPv6 Issue with zimbra-proxy: Difference between revisions
No edit summary |
|||
Line 5: | Line 5: | ||
<hr> | <hr> | ||
{{KB|{{ZC}}|{{ZCS 8.8}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|}} | {{KB|{{ZC}}|{{ZCS 8.8}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|}} | ||
====Problem==== | ====Problem==== | ||
Enabled IPv6 with the following command : | |||
zmprov ms `zmhostname` zimbraIPMode both | zmprov ms `zmhostname` zimbraIPMode both | ||
Line 22: | Line 20: | ||
nginx: [emerg] bind() to [::]:7995 failed (98: Address already in use) | nginx: [emerg] bind() to [::]:7995 failed (98: Address already in use) | ||
</pre> | </pre> | ||
====Solution==== | ====Solution==== | ||
Follow the below steps to enable IPv6 : | Follow the below steps to enable IPv6 : | ||
'' | Change the zimbraIPMode to 'both': | ||
su - zimbra | su - zimbra | ||
zmprov ms `zmhostname` zimbraIPMode both | zmprov ms `zmhostname` zimbraIPMode both | ||
'' | Run 'zmiptool': | ||
/opt/zimbra/libexec/zmiptool | /opt/zimbra/libexec/zmiptool | ||
Then try restart the zimbra services : | Then try restart the zimbra services : | ||
zmcontrol restart | zmcontrol restart | ||
{{Article Footer|ZCS 8.8, 8.7, 8.6|2018-08-13}} | {{Article Footer|ZCS 8.8, 8.7, 8.6|2018-08-13}} |
Latest revision as of 14:29, 30 August 2018
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