Can proxy & memcached be deactivated on single machine installation?

Ask questions about your setup or get help installing ZCS server (ZD section below).
AR84
Posts: 15
Joined: Mon Nov 06, 2017 5:12 am

Can proxy & memcached be deactivated on single machine installation?

Postby AR84 » Tue Nov 07, 2017 10:14 am

Hi,

I am running zcs-8.7.11_GA_1854
Since for the installation (upgrade) i needed proxy and memchached to be installed, is it possible to deactivate it again after the installation like this?
Or is it totally needed? Since I am experiencing some strange behavior on Zimbra by services stop running after some time, I assume it might have to do with proxy or memchached since I did not have those problems before.

So could you guys let me know if the following commands will have any impact on my installation?

zmmemcachedctl stop
zmprov ms zmhostname -zimbraServiceEnabled memcached
zmcontrol stop
zmcontrol start

The same goes for imapproxy.

zmprov ms zmhostname -zimbraServiceEnabled imapproxy


User avatar
L. Mark Stone
Elite member
Elite member
Posts: 1572
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine
ZCS/ZD Version: 8.6.0 Patch 8
Contact:

Re: Can proxy & memcached be deactivated on single machine installation?

Postby L. Mark Stone » Tue Nov 07, 2017 1:58 pm

AR84 wrote:Hi,

I am running zcs-8.7.11_GA_1854
Since for the installation (upgrade) i needed proxy and memchached to be installed, is it possible to deactivate it again after the installation like this?
Or is it totally needed? Since I am experiencing some strange behavior on Zimbra by services stop running after some time, I assume it might have to do with proxy or memchached since I did not have those problems before.

So could you guys let me know if the following commands will have any impact on my installation?

zmmemcachedctl stop
zmprov ms zmhostname -zimbraServiceEnabled memcached
zmcontrol stop
zmcontrol start

The same goes for imapproxy.

zmprov ms zmhostname -zimbraServiceEnabled imapproxy



Proxy is required and I've never it seen it be the cause of other Zimbra components failing. As my former statistics professor was fond of saying "Never confuse correlation with causation..."

When a fail happens, please collect relevant snippets of log files and we can help you get to the true root cause.

All the best,
Mark
________________________________________________
L. Mark Stone, General Manager
reliable networks, a Division of OTT Communications
HIPAA-Compliant Zimbra Hosting Provider since 2006 http://www.reliablenetworks.com
Zeta Alliancehttp://www.zetalliance.org/
AR84
Posts: 15
Joined: Mon Nov 06, 2017 5:12 am

Re: Can proxy & memcached be deactivated on single machine installation?

Postby AR84 » Wed Nov 08, 2017 3:53 am

Thanks for your feedback

I have checked my proxy settings, does this look correct?

zimbraMailMode: https
zimbraMailPort: 80
zimbraMailProxyPort: 8080
zimbraMailReferMode: wronghost
zimbraMailSSLPort: 443
zimbraMailSSLProxyPort: 8443
zimbraReverseProxyHttpEnabled: FALSE
zimbraReverseProxyLookupTarget: TRUE

I think the zimbraMailReferMode looks somehow off?
User avatar
L. Mark Stone
Elite member
Elite member
Posts: 1572
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine
ZCS/ZD Version: 8.6.0 Patch 8
Contact:

Re: Can proxy & memcached be deactivated on single machine installation?

Postby L. Mark Stone » Wed Nov 08, 2017 5:50 pm

AR84 wrote:Thanks for your feedback

I have checked my proxy settings, does this look correct?

zimbraMailMode: https
zimbraMailPort: 80
zimbraMailProxyPort: 8080
zimbraMailReferMode: wronghost
zimbraMailSSLPort: 443
zimbraMailSSLProxyPort: 8443
zimbraReverseProxyHttpEnabled: FALSE
zimbraReverseProxyLookupTarget: TRUE

I think the zimbraMailReferMode looks somehow off?


It's almost all backwards I'm afraid... :-)

zimbraMailwhatever refers to the mailbox service; zimbraMailProxywhatever refers to what the proxy is doing.

IOW: Internet <---Link A---> Proxy <---Link B---> Mailboxd

So, should be for a single-server with proxy:

zimbraMailMode: https (this describes how mailboxd and proxy talk to each other on Link B)
zimbraReverseProxyMailMode: redirect (this describes how the proxy will handle end-user requests that come in on http on Link A)
zimbraMailPort: 8080 (Link B)
zimbraMailProxyPort: 80 (Link A)
zimbraMailReferMode: reverse-proxied (what mailbox should do with queries for mailboxes not on this mailbox server, i.e. punt back to the proxy)
zimbraMailSSLPort: 8443 (Link B)
zimbraMailSSLProxyPort: 443 (Link A)
zimbraReverseProxyHttpEnabled: TRUE (This plus zimbraReverseProxyMailMode puts users who come in on http to https automagically)
zimbraReverseProxyLookupTarget: TRUE (Yes, this mailbox server is a lookup target for the proxy service)

Also check that:

Code: Select all

zimbra@webmail:~$ zmlocalconfig zimbra_require_interprocess_security
zimbra_require_interprocess_security = 1
zimbra@webmail:~$


Hope that helps,
Mark
________________________________________________
L. Mark Stone, General Manager
reliable networks, a Division of OTT Communications
HIPAA-Compliant Zimbra Hosting Provider since 2006 http://www.reliablenetworks.com
Zeta Alliancehttp://www.zetalliance.org/

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 4 guests