Page 1 of 1

Installation of Proxy and Memcached failed on zimbra 8.6 Network Edition

Posted: Mon Jan 16, 2017 7:22 pm
by emnzava
Hello,

Am facing an issue where by zimbra failed to create nginx configuration file.

I went through the steps on how to install proxy and memcached from this link https://wiki.zimbra.com/wiki/Enabling_Z ... _memcached.

I want to upgrade to Zimbra 8.7 Network Edition but first i changed domain name from mail.example1.com to mail.example2.com.

I managed to successfully change the domain but funny thing after proxy installation i came to find out that old domain values still appears;

Code: Select all

$zmprov gacf | grep -i proxy

zimbraReverseProxyAvailableLookupTargets: mail.example1.com
zimbraReverseProxyUpstreamEwsServers: mail.example1.com
zimbraReverseProxyUpstreamLoginServers: mail.example1.com


When i restart zimbra services am getting the following error:

Code: Select all

Starting proxy...Failed.
/opt/zimbra/conf/nginx.conf is missing.
Starting nginx...failed.  /opt/zimbra/conf/nginx.conf is missing.


So, how can i change the above values to reflect current domain name mail.example2.com.

Then after solving part A, how do i go about to address issue of missing file nginx.conf?

I can access zimbra web client via mail.example2.com:8080 but i want to end up accessing zimbra same way like before using port 80.

Thanks in advance for any help

Re: Installation of Proxy and Memcached failed on zimbra 8.6 Network Edition

Posted: Tue Jan 17, 2017 7:31 am
by emnzava
Any idea on this issue please?

Re: Installation of Proxy and Memcached failed on zimbra 8.6 Network Edition

Posted: Wed Jan 18, 2017 2:15 am
by JDunphy
Did you verify that nginx was installed?

Try something like this:

Code: Select all

zmprov gs `zmhostname` zimbraServiceInstalled


It should give you something like:

Code: Select all

[zimbra@mail ~]$ zmprov gs `zmhostname` zimbraServiceInstalled
# name mail.example.com
zimbraServiceInstalled: amavis
zimbraServiceInstalled: antivirus
zimbraServiceInstalled: antispam
zimbraServiceInstalled: opendkim
zimbraServiceInstalled: logger
zimbraServiceInstalled: mailbox
zimbraServiceInstalled: memcached
zimbraServiceInstalled: mta
zimbraServiceInstalled: convertd
zimbraServiceInstalled: dnscache
zimbraServiceInstalled: stats
zimbraServiceInstalled: proxy
zimbraServiceInstalled: snmp
zimbraServiceInstalled: spell
zimbraServiceInstalled: ldap


If you are missing proxy, then you would need to install that via install.sh or do the upgrade. On 8.7+, you can find it here if it is installed.

Code: Select all

cd /opt/zimbra/nginx
ls
conf  html  logs  sbin


On one of my machines, I wanted to test that nginx/memcache was working before doing the upgrade. While it was enabled, it wasn't installed. I opted to just do the upgrade. On other machines, I had it installed but not enabled so didn't see this problem and the wiki article worked perfectly.