[SOLVED] Installer aborts due to proxy not detected

Ask questions about your setup or get help installing ZCS server (ZD section below).
User avatar
ThorGoLucky
Advanced member
Advanced member
Posts: 104
Joined: Fri Sep 12, 2014 10:12 pm
Location: Oregon
Contact:

[SOLVED] Installer aborts due to proxy not detected

Postby ThorGoLucky » Fri Jul 22, 2016 5:51 pm

I read the pages that the installer tells me to see, and it says that the installer is supposed to give the option to install zimbra-proxy and zimbra-memcached, but it aborts before giving the option. How do I install zimbra-proxy and zimbra-memcached? Thanks.

zcs-NETWORK-8.7.0_GA_1659.RHEL6_64.20160628192634\install.sh

Code: Select all

ZCS upgrade from 8.6.0 to 8.7.0 will be performed.
Checking for existing proxy service in your environment
Error: proxy not enabled
Error: No proxy detected in your environment. Proxy is required for ZCS 8.7+.
See https://wiki.zimbra.com/wiki/Enabling_Zimbra_Proxy for details on installing proxy.
Checking for existing memcached service in your environment
Error: memcached not enabled
Error: No memcached detected in your environment. Memcached is required for ZCS 8.7+.
See https://wiki.zimbra.com/wiki/Enabling_Zimbra_Memcached for details on installing memcached.
Proxy and Memcached services must exist. Exiting...
Last edited by ThorGoLucky on Wed Jul 27, 2016 3:27 pm, edited 1 time in total.


User avatar
tonster
Zimbra Employee
Zimbra Employee
Posts: 312
Joined: Fri Feb 21, 2014 10:14 am
Location: Ypsilanti, MI
ZCS/ZD Version: Release 8.7.0_GA_1659.RHEL6_64_2016

Re: Installer aborts due to proxy not detected

Postby tonster » Mon Jul 25, 2016 12:02 am

ThorGoLucky wrote:I read the pages that the installer tells me to see, and it says that the installer is supposed to give the option to install zimbra-proxy and zimbra-memcached, but it aborts before giving the option. How do I install zimbra-proxy and zimbra-memcached? Thanks.

zcs-NETWORK-8.7.0_GA_1659.RHEL6_64.20160628192634\install.sh

Code: Select all

ZCS upgrade from 8.6.0 to 8.7.0 will be performed.
Checking for existing proxy service in your environment
Error: proxy not enabled
Error: No proxy detected in your environment. Proxy is required for ZCS 8.7+.
See https://wiki.zimbra.com/wiki/Enabling_Zimbra_Proxy for details on installing proxy.
Checking for existing memcached service in your environment
Error: memcached not enabled
Error: No memcached detected in your environment. Memcached is required for ZCS 8.7+.
See https://wiki.zimbra.com/wiki/Enabling_Zimbra_Memcached for details on installing memcached.
Proxy and Memcached services must exist. Exiting...


You have to install proxy/memcached in your existing 8.6.0 installation before proceeding with the 8.7 upgrade. That requirement is a per-requisite to performing an upgrade to 8.7.
User avatar
ThorGoLucky
Advanced member
Advanced member
Posts: 104
Joined: Fri Sep 12, 2014 10:12 pm
Location: Oregon
Contact:

Re: Installer aborts due to proxy not detected

Postby ThorGoLucky » Mon Jul 25, 2016 5:03 pm

Thanks, tonster. Though when I run the 8.6.0 installer, it says that zimbra-proxy and zimbra-memcached are FOUND. Yet the 8.7.0 installer still says that they are NOT FOUND and aborts. Any suggestions would be appreciated, thanks.
User avatar
DualBoot
Elite member
Elite member
Posts: 1073
Joined: Mon Apr 18, 2016 8:18 pm
Location: Earth
ZCS/ZD Version: ZCS FLOSS - 8.7.11 Mutli servers

Re: Installer aborts due to proxy not detected

Postby DualBoot » Mon Jul 25, 2016 6:05 pm

Maybe you could try this :

Code: Select all

zmprov ms $(zmhostname) +zimbraServiceInstalled memcached
zmprov ms $(zmhostname) +zimbraServiceInstalled proxy

And retry the installer ?
The Guy - DualBoot

PostMaster - WikiMaster - SysAdmin
"Free Your Mind. Think Open Source"
april.org
Zetalliance Member - zetalliance.org
User avatar
tonster
Zimbra Employee
Zimbra Employee
Posts: 312
Joined: Fri Feb 21, 2014 10:14 am
Location: Ypsilanti, MI
ZCS/ZD Version: Release 8.7.0_GA_1659.RHEL6_64_2016

Re: Installer aborts due to proxy not detected

Postby tonster » Tue Jul 26, 2016 12:33 am

DualBoot wrote:Maybe you could try this :

Code: Select all

zmprov ms $(zmhostname) +zimbraServiceInstalled memcached
zmprov ms $(zmhostname) +zimbraServiceInstalled proxy

And retry the installer ?


Yeah, sounds like they're installed but not enabled, which is likely the problem. You could try what DualBook does here, but it probably won't be all you need to do. The installer looks for zimbraReverseProxyMailEnabled and zimbraReverseProxyHttpEnabled to ensure that both of those are enabled on >= 1 nodes. If you don't have them enabled, it'll fail.
User avatar
ThorGoLucky
Advanced member
Advanced member
Posts: 104
Joined: Fri Sep 12, 2014 10:12 pm
Location: Oregon
Contact:

Re: Installer aborts due to proxy not detected

Postby ThorGoLucky » Tue Jul 26, 2016 3:48 pm

Thanks, DualBoot and tonster, I was able to install zimbra-proxy and zimbra-memcached, and configure and enable zimbra-proxy. Unfortunately the 8.7.0 installer aborts due to zimbra-memcached not being enabled, even though I successfully ran the above commands that you provided to enable memcached.

Code: Select all

    zimbra-memcached...FOUND zimbra-memcached-8.6.0_GA_1153
    zimbra-proxy...FOUND zimbra-proxy-8.6.0_GA_1153
    zimbra-archiving...NOT FOUND
    zimbra-core...FOUND zimbra-core-8.6.0_GA_1153
ZCS upgrade from 8.6.0 to 8.7.0 will be performed.
Checking for existing proxy service in your environment
Checking for existing memcached service in your environment
Error: memcached not enabled
Error: No memcached detected in your environment. Memcached is required for ZCS 8.7+.
See https://wiki.zimbra.com/wiki/Enabling_Zimbra_Memcached for details on installing memcached.
Proxy and Memcached services must exist. Exiting...
[root@mail zcs-NETWORK-8.7.0_GA_1659.RHEL6_64.20160628192634]#

https://wiki.zimbra.com/wiki/Enabling_Zimbra_Memcached suggests to run the lsof command to see if memcached is listening to port 11211, and it seems normal to me...

Code: Select all

[root@mail zcs-NETWORK-8.7.0_GA_1659.RHEL6_64.20160628192634]# lsof -i :11211
COMMAND    PID      USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
memcached 1005 memcached   26u  IPv4   8634      0t0  TCP *:memcache (LISTEN)
memcached 1005 memcached   27u  IPv6   8635      0t0  TCP *:memcache (LISTEN)
memcached 1005 memcached   28u  IPv4   8638      0t0  UDP *:memcache
memcached 1005 memcached   29u  IPv6   8639      0t0  UDP *:memcache
[root@mail zcs-NETWORK-8.7.0_GA_1659.RHEL6_64.20160628192634]#

Any additional suggestions would be greatly appreciated, thanks.
User avatar
tonster
Zimbra Employee
Zimbra Employee
Posts: 312
Joined: Fri Feb 21, 2014 10:14 am
Location: Ypsilanti, MI
ZCS/ZD Version: Release 8.7.0_GA_1659.RHEL6_64_2016

Re: Installer aborts due to proxy not detected

Postby tonster » Tue Jul 26, 2016 3:58 pm

ThorGoLucky wrote:Thanks, DualBoot and tonster, I was able to install zimbra-proxy and zimbra-memcached, and configure and enable zimbra-proxy. Unfortunately the 8.7.0 installer aborts due to zimbra-memcached not being enabled, even though I successfully ran the above commands that you provided to enable memcached.

Code: Select all

    zimbra-memcached...FOUND zimbra-memcached-8.6.0_GA_1153
    zimbra-proxy...FOUND zimbra-proxy-8.6.0_GA_1153
    zimbra-archiving...NOT FOUND
    zimbra-core...FOUND zimbra-core-8.6.0_GA_1153
ZCS upgrade from 8.6.0 to 8.7.0 will be performed.
Checking for existing proxy service in your environment
Checking for existing memcached service in your environment
Error: memcached not enabled
Error: No memcached detected in your environment. Memcached is required for ZCS 8.7+.
See https://wiki.zimbra.com/wiki/Enabling_Zimbra_Memcached for details on installing memcached.
Proxy and Memcached services must exist. Exiting...
[root@mail zcs-NETWORK-8.7.0_GA_1659.RHEL6_64.20160628192634]#

https://wiki.zimbra.com/wiki/Enabling_Zimbra_Memcached suggests to run the lsof command to see if memcached is listening to port 11211, and it seems normal to me...

Code: Select all

[root@mail zcs-NETWORK-8.7.0_GA_1659.RHEL6_64.20160628192634]# lsof -i :11211
COMMAND    PID      USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
memcached 1005 memcached   26u  IPv4   8634      0t0  TCP *:memcache (LISTEN)
memcached 1005 memcached   27u  IPv6   8635      0t0  TCP *:memcache (LISTEN)
memcached 1005 memcached   28u  IPv4   8638      0t0  UDP *:memcache
memcached 1005 memcached   29u  IPv6   8639      0t0  UDP *:memcache
[root@mail zcs-NETWORK-8.7.0_GA_1659.RHEL6_64.20160628192634]#

Any additional suggestions would be greatly appreciated, thanks.


Run the following on each server:

Code: Select all

zmprov gs `zmhostname` zimbraServiceEnabled
User avatar
ThorGoLucky
Advanced member
Advanced member
Posts: 104
Joined: Fri Sep 12, 2014 10:12 pm
Location: Oregon
Contact:

Re: Installer aborts due to proxy not detected

Postby ThorGoLucky » Tue Jul 26, 2016 4:28 pm

Code: Select all

zimbraServiceEnabled: amavis
zimbraServiceEnabled: antivirus
zimbraServiceEnabled: antispam
zimbraServiceEnabled: opendkim
zimbraServiceEnabled: logger
zimbraServiceEnabled: service
zimbraServiceEnabled: zimbra
zimbraServiceEnabled: zimbraAdmin
zimbraServiceEnabled: zimlet
zimbraServiceEnabled: mailbox
zimbraServiceEnabled: mta
zimbraServiceEnabled: convertd
zimbraServiceEnabled: stats
zimbraServiceEnabled: snmp
zimbraServiceEnabled: ldap
zimbraServiceEnabled: spell
zimbraServiceEnabled: proxy

I don't see memcached listed, but I see it's installed. "chkconfig --list" reveals that it's configured to automatically startup. It stops and starts OK...

Code: Select all

[root@mail /]# service memcached stop
Stopping memcached: [  OK  ]
[root@mail /]# service memcached start
Starting memcached: [  OK  ]
[root@mail /]#

Hmm.
User avatar
tonster
Zimbra Employee
Zimbra Employee
Posts: 312
Joined: Fri Feb 21, 2014 10:14 am
Location: Ypsilanti, MI
ZCS/ZD Version: Release 8.7.0_GA_1659.RHEL6_64_2016

Re: Installer aborts due to proxy not detected

Postby tonster » Tue Jul 26, 2016 4:36 pm

ThorGoLucky wrote:

Code: Select all

zimbraServiceEnabled: amavis
zimbraServiceEnabled: antivirus
zimbraServiceEnabled: antispam
zimbraServiceEnabled: opendkim
zimbraServiceEnabled: logger
zimbraServiceEnabled: service
zimbraServiceEnabled: zimbra
zimbraServiceEnabled: zimbraAdmin
zimbraServiceEnabled: zimlet
zimbraServiceEnabled: mailbox
zimbraServiceEnabled: mta
zimbraServiceEnabled: convertd
zimbraServiceEnabled: stats
zimbraServiceEnabled: snmp
zimbraServiceEnabled: ldap
zimbraServiceEnabled: spell
zimbraServiceEnabled: proxy

I don't see memcached listed, but I see it's installed. "chkconfig --list" reveals that it's configured to automatically startup. It stops and starts OK...

Code: Select all

[root@mail /]# service memcached stop
Stopping memcached: [  OK  ]
[root@mail /]# service memcached start
Starting memcached: [  OK  ]
[root@mail /]#

Hmm.


You can verify it's installed with:

Code: Select all

zmprov gs `zmhostname` zimbraServiceInstalled


You'll want to make sure it's enabled (i.e. it'll start/stop when the system is rebooted or zimbra is restarted via zmcontrol restart) by doing:

Code: Select all

zmprov ms `zmhostname` +zimbraServiceEnabled memcached


NOTE: Make CERTAIN you add the plus sign! Failure to do so will leave you sad.
User avatar
ThorGoLucky
Advanced member
Advanced member
Posts: 104
Joined: Fri Sep 12, 2014 10:12 pm
Location: Oregon
Contact:

Re: Installer aborts due to proxy not detected

Postby ThorGoLucky » Tue Jul 26, 2016 5:45 pm

Ah ha, that +zimbraServiceEnabled command did the trick. The 8.7.0 installer now proceeds as normal. Thank you very much, tonster!

Return to “Installation and Upgrade”

Who is online

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