Installation of Proxy and Memcached failed on zimbra 8.6 Network Edition

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
emnzava
Posts: 44
Joined: Sat Sep 13, 2014 1:28 am

Installation of Proxy and Memcached failed on zimbra 8.6 Network Edition

Postby emnzava » Mon Jan 16, 2017 7:22 pm

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


emnzava
Posts: 44
Joined: Sat Sep 13, 2014 1:28 am

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

Postby emnzava » Tue Jan 17, 2017 7:31 am

Any idea on this issue please?
User avatar
JDunphy
Outstanding Member
Outstanding Member
Posts: 494
Joined: Fri Sep 12, 2014 11:18 pm
Location: Victoria, BC
ZCS/ZD Version: 8.7.11_P14 RHEL6 Network Edition
Contact:

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

Postby JDunphy » Wed Jan 18, 2017 2:15 am

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.

Return to “Administrators”

Who is online

Users browsing this forum: MSN [Bot] and 18 guests