Solution: disable ipv6 on application level I've had the same problem with Zimbra 5.0.15 running on Ubuntu 8.0.4. The Ubuntu 8.0.4 itself runs as guest OS in an OpenVZ environment. That is not officially supported by Zimbra, but it works. Unfortunately, ipv6 in Debian's official ovz-kernel seems to be broken. And disabling ipv6 on OS level doesn't work.
I disabled ipv6 in Zimbra on application level by adding the option "-Djava.net.preferIPv4Stack=true" to some Zimbra shell scripts:
/opt/zimbra/bin/zmjava
/opt/zimbra/bin/zmjavaext
/opt/zimbra/libexec/zmjsprecompile
/opt/zimbra/bin/zmmailboxdctl
Just look for "-Xmx" and add the option "-Djava.net.preferIPv4Stack=true" at appropriate positions.
It would be great, if Zimbra would ask for ipv6 at install time or add an option like -noipv6, add a global variable to localconfig, and if the shell scripts, which start the Java apps would evaluate that variable.
Last edited by thmsk; 03-29-2009 at 03:35 AM..
|