Zimbra 8.8.15 Dont enable IPv6 in proxy

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
brunopsitech
Posts: 6
Joined: Tue Oct 25, 2016 12:39 pm

Zimbra 8.8.15 Dont enable IPv6 in proxy

Post by brunopsitech »

Hi, i have a server standalone CentOS 7 with Zimbra, and i try enable IPv6 ( IPv4 works fine ) and its not working, its warning some service using ::443 ::995 ::993 But there is no service listen in, only service proxyctl not work
# Network configuration
ens192: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.253.22 netmask 255.255.255.0 broadcast 192.168.253.255
inet6 fe80::969b:e163:1b36:ead2 prefixlen 64 scopeid 0x20<link>
inet6 fd4c:XXX:XXX::2 prefixlen 48 scopeid 0x0<global>

# /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
fd4c:XXX:XXX::2 mail.XXXX.XXX.XX mail
192.168.253.22 mail.XXXX.XX.XX mail

# I use this commands to enable IPv6
zmprov ms `zmhostname` zimbraIPMode both
/opt/zimbra/libexec/zmiptool
zmcontrol restart

# Error on console
Host mail.chesp.com.br
...
Starting proxy...Failed.
Starting proxy...nginx: [emerg] bind() to [::]:143 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:993 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:110 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:995 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:443 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:143 failed (98: Address already in use)
...
nginx: [emerg] still could not bind()
failed.

# I use netstat to search ports, but nothing
[zimbra@mail ~]$ netstat -putna |grep tcp6 ( result in attachment )


I note every time i try restart proxy, its rewrite the file /opt/zimbra/conf/nginx/includes/nginx.conf.mail.imap and other respective. And in this files, the parameter listen, its using ipv4
{
server_name mail.XXXX.XXX.XX;
listen 192.168.253.22:143 ipv6only=off;
...

But i dont find where change this value for [::]:143, i dont know how to solve this, but i thin its a problem in ldap parameter, i dont know
Attachments
Netsta Result.png
Netsta Result.png (69.63 KiB) Viewed 1308 times
Post Reply