Trying to setup proxy/nginx but zmproxyconfgen causes a java.lang.NullPointerException
Posted: Thu Dec 10, 2015 1:52 am
Hi,
Back story: We recently added an EWS license to our zimbra server in the hopes of outlook for mac being able to work with our zimbra server. We'd been using our own installation of nginx up until this point but it seems for EWS to work we need to use Zimbra's proxy/nginx service as mentioned here: https://wiki.zimbra.com/wiki/Exchange_Web_Services_EWS
I've installed proxy/memcached as laid out in this doco: https://wiki.zimbra.com/wiki/Enabling_Z ... ng_servers
Unfortunately all the ./libexec/zmproxyconfig commands do nothing and send nothing to stdout. When I try to start the proxy service it complains that there is no
/opt/zimbra/conf/nginx.conf is missing. When I then try to manually run zmproxyconfgen all I get is:
Exception in thread "main" java.lang.NullPointerException
at com.zimbra.cs.util.ProxyConfVar.isValidUpstream(ProxyConfGen.java:308)
at com.zimbra.cs.util.WebEwsSSLUpstreamServersVar.update(ProxyConfGen.java:989)
at com.zimbra.cs.util.ProxyConfGen.updateDefaultVars(ProxyConfGen.java:2471)
at com.zimbra.cs.util.ProxyConfGen.createConf(ProxyConfGen.java:2630)
at com.zimbra.cs.util.ProxyConfGen.main(ProxyConfGen.java:2827)
We're running 8.6.0 GA ZCS Network on SL.6.5 (a RHEL variant)
Also every few minutes this spams the /var/log/zimbra.log:
Dec 10 17:50:33 mail-stg zmconfigd[31830]: Executed: /opt/zimbra/bin/zmproxyctl status norewrite returned 1 (26 - 13) (0.01 sec)
Dec 10 17:50:33 mail-stg zmconfigd[31830]: Tracking service proxy
I'm starting to lose my mind. Anyone encountered these issues before installing a proxy on an existing installation of Zimbra?
Back story: We recently added an EWS license to our zimbra server in the hopes of outlook for mac being able to work with our zimbra server. We'd been using our own installation of nginx up until this point but it seems for EWS to work we need to use Zimbra's proxy/nginx service as mentioned here: https://wiki.zimbra.com/wiki/Exchange_Web_Services_EWS
I've installed proxy/memcached as laid out in this doco: https://wiki.zimbra.com/wiki/Enabling_Z ... ng_servers
Unfortunately all the ./libexec/zmproxyconfig commands do nothing and send nothing to stdout. When I try to start the proxy service it complains that there is no
/opt/zimbra/conf/nginx.conf is missing. When I then try to manually run zmproxyconfgen all I get is:
Exception in thread "main" java.lang.NullPointerException
at com.zimbra.cs.util.ProxyConfVar.isValidUpstream(ProxyConfGen.java:308)
at com.zimbra.cs.util.WebEwsSSLUpstreamServersVar.update(ProxyConfGen.java:989)
at com.zimbra.cs.util.ProxyConfGen.updateDefaultVars(ProxyConfGen.java:2471)
at com.zimbra.cs.util.ProxyConfGen.createConf(ProxyConfGen.java:2630)
at com.zimbra.cs.util.ProxyConfGen.main(ProxyConfGen.java:2827)
We're running 8.6.0 GA ZCS Network on SL.6.5 (a RHEL variant)
Also every few minutes this spams the /var/log/zimbra.log:
Dec 10 17:50:33 mail-stg zmconfigd[31830]: Executed: /opt/zimbra/bin/zmproxyctl status norewrite returned 1 (26 - 13) (0.01 sec)
Dec 10 17:50:33 mail-stg zmconfigd[31830]: Tracking service proxy
I'm starting to lose my mind. Anyone encountered these issues before installing a proxy on an existing installation of Zimbra?