Impossible to update to 8.8.X from 8.7.11 (Ubuntu 16.04)

Ask questions about your setup or get help installing ZCS server (ZD section below).
lisek
Posts: 10
Joined: Wed Feb 07, 2018 10:01 am

Impossible to update to 8.8.X from 8.7.11 (Ubuntu 16.04)

Post by lisek »

Hi.

I'm trying to update my zimbra server (open source)

Everytime I end UP with the same problem, and didn't find anything about anyone facing the same.

I've got Zimbra from ages, and Updated everytime. Currenty It's running 8.7.6 but I can upgrade it to 8.7.11 without any problems.

I'm trying to Update to 8.8.5 or 8.8.6 - both failed.

Upgrade process runs smoothly without any problems.
The problem is that after this update nginx want start and pops out:

Code: Select all

zmproxyctl start
Starting proxy...nginx: [emerg] unknown directive "mail_login_ip_imap_max" in /opt/zimbra/conf/nginx/includes/nginx.conf.mail:142
failed.

If I comment out this line in template file for this config file, it will popup another, and another, and another from different lines. Also from other nginx config files.

Do someone know what is going on and how to solve it?
User avatar
Gren Elliot
Advanced member
Advanced member
Posts: 183
Joined: Tue Jun 10, 2014 4:45 am

Re: Impossible to update to 8.8.X from 8.7.11 (Ubuntu 16.04)

Post by Gren Elliot »

What is the output of:

Code: Select all

dpkg -s zimbra-nginx zimbra-proxy zimbra-proxy-base zimbra-proxy-components
lisek
Posts: 10
Joined: Wed Feb 07, 2018 10:01 am

Re: Impossible to update to 8.8.X from 8.7.11 (Ubuntu 16.04)

Post by lisek »

Well. Before update it looks like this (8.7.6)

Code: Select all

Package: zimbra-nginx
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 1338
Maintainer: Zimbra Packaging Services <packaging-devel@zimbra.com>
Architecture: amd64
Version: 1.7.1-1zimbra8.7b7.16.04
Depends: libc6 (>= 2.14), libpcre3, zimbra-cyrus-sasl-lib (>= 2.1.26-1zimbra8.7b1), zimbra-openssl-lib (>= 1.0.2h-1zimbra8.7b1), zlib1g (>= 1:1.2.0), zimbra-proxy-base
Description: nginx Binaries
Homepage: http://nginx.org

Package: zimbra-proxy
Status: install ok installed
Priority: optional
Section: Mail
Maintainer: build@zimbra.com
Architecture: amd64
Version: 8.7.6.GA.1776.UBUNTU16.64
Depends: zimbra-core, zimbra-proxy-components
Description: Best email money can buy

Package: zimbra-proxy-base
Status: install ok installed
Priority: optional
Section: mail
Installed-Size: 8
Maintainer: Zimbra Packaging Services <packaging-devel@zimbra.com>
Architecture: all
Version: 1.0.0-1zimbra8.7b1.16.04
Depends: zimbra-base
Description: Zimbra proxy Base
 Zimbra proxy Base is used as a simple method to allow removing
 all the zimbra-proxy specific packages

Package: zimbra-proxy-components
Status: install ok installed
Priority: optional
Section: mail
Installed-Size: 8
Maintainer: Zimbra Packaging Services <packaging-devel@zimbra.com>
Architecture: all
Version: 1.0.1-1zimbra8.7b1.16.04
Depends: zimbra-proxy-base, zimbra-nginx (>= 1.7.1-1zimbra8.7b7.16.04)
Description: Zimbra components for proxy package
 Zimbra proxy components pulls in all the packages used by
 zimbra-proxy
After Update to 8.8.6 looks like this:

Code: Select all

dpkg -s zimbra-nginx zimbra-proxy zimbra-proxy-base zimbra-proxy-components
Package: zimbra-nginx
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 1338
Maintainer: Zimbra Packaging Services <packaging-devel@zimbra.com>
Architecture: amd64
Version: 1.7.1-1zimbra8.7b7.16.04
Depends: libc6 (>= 2.14), libpcre3, zimbra-cyrus-sasl-lib (>= 2.1.26-1zimbra8.7b1), zimbra-openssl-lib (>= 1.0.2h-1zimbra8.7b1), zlib1g (>= 1:1.2.0), zimbra-proxy-base
Description: nginx Binaries
Homepage: http://nginx.org

Package: zimbra-proxy
Status: install ok installed
Priority: optional
Section: Mail
Maintainer: build@zimbra.com
Architecture: amd64
Version: 8.8.6.GA.1906.UBUNTU16.64
Depends: zimbra-core, zimbra-proxy-components, zimbra-memcached
Description: Best email money can buy

Package: zimbra-proxy-base
Status: install ok installed
Priority: optional
Section: mail
Installed-Size: 8
Maintainer: Zimbra Packaging Services <packaging-devel@zimbra.com>
Architecture: all
Version: 1.0.0-1zimbra8.7b1.16.04
Depends: zimbra-base
Description: Zimbra proxy Base
 Zimbra proxy Base is used as a simple method to allow removing
 all the zimbra-proxy specific packages

Package: zimbra-proxy-components
Status: install ok installed
Priority: optional
Section: mail
Installed-Size: 8
Maintainer: Zimbra Packaging Services <packaging-devel@zimbra.com>
Architecture: all
Version: 1.0.1-1zimbra8.7b1.16.04
Depends: zimbra-proxy-base, zimbra-nginx (>= 1.7.1-1zimbra8.7b7.16.04)
Description: Zimbra components for proxy package
 Zimbra proxy components pulls in all the packages used by
 zimbra-proxy
Upgrade process looks like this:

Code: Select all

./install.sh

Operations logged to /tmp/install.log.MxKJHO8o
Checking for existing installation...
    zimbra-chat...NOT FOUND
    zimbra-drive...NOT FOUND
    zimbra-imapd...NOT FOUND
    zimbra-network-modules-ng...NOT FOUND
    zimbra-rpost...NOT FOUND
    zimbra-ldap...FOUND zimbra-ldap-8.7.6.GA.1776.UBUNTU16.64
    zimbra-logger...FOUND zimbra-logger-8.7.6.GA.1776.UBUNTU16.64
    zimbra-mta...FOUND zimbra-mta-8.7.6.GA.1776.UBUNTU16.64
    zimbra-dnscache...FOUND zimbra-dnscache-8.7.6.GA.1776.UBUNTU16.64
    zimbra-snmp...FOUND zimbra-snmp-8.7.6.GA.1776.UBUNTU16.64
    zimbra-store...FOUND zimbra-store-8.7.6.GA.1776.UBUNTU16.64
    zimbra-apache...FOUND zimbra-apache-8.7.6.GA.1776.UBUNTU16.64
    zimbra-spell...FOUND zimbra-spell-8.7.6.GA.1776.UBUNTU16.64
    zimbra-convertd...NOT FOUND
    zimbra-memcached...FOUND zimbra-memcached-1:1.4.37-2.u16
    zimbra-proxy...FOUND zimbra-proxy-8.7.6.GA.1776.UBUNTU16.64
    zimbra-archiving...NOT FOUND
    zimbra-core...FOUND zimbra-core-8.7.6.GA.1776.UBUNTU16.64
ZCS upgrade from 8.7.6 to 8.8.6 will be performed.
Validating ldap configuration
LDAP validation succeeded.  Continuing.


----------------------------------------------------------------------
PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
SYNACOR, INC. ("SYNACOR") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for this Zimbra Collaboration Suite Software:
https://www.zimbra.com/license/zimbra-public-eula-2-6.html
----------------------------------------------------------------------



Do you agree with the terms of the software license agreement? [N] y



Checking current number of databases...

Do you want to verify message store database integrity? [Y] n


Use Zimbra's package repository [Y]


Configuring package repository

Checking for installable packages

Found zimbra-core (local)
Found zimbra-ldap (local)
Found zimbra-logger (local)
Found zimbra-mta (local)
Found zimbra-dnscache (local)
Found zimbra-snmp (local)
Found zimbra-store (local)
Found zimbra-apache (local)
Found zimbra-spell (local)
Found zimbra-memcached (repo)
Found zimbra-proxy (local)
Found zimbra-chat (repo)
Found zimbra-drive (repo)
Found zimbra-imapd (local)


The Zimbra Collaboration Server appears to already be installed.
It can be upgraded with no effect on existing accounts,
or the current installation can be completely removed prior
to installation for a clean install.

Do you wish to upgrade? [Y]

Scanning for any new or additional packages available for installation
Existing packages will be upgraded
    Upgrading zimbra-core
    Upgrading zimbra-ldap
    Upgrading zimbra-logger
    Upgrading zimbra-mta
    Upgrading zimbra-dnscache
    Upgrading zimbra-snmp
    Upgrading zimbra-store
    Upgrading zimbra-apache
    Upgrading zimbra-spell
    Upgrading zimbra-memcached
    Upgrading zimbra-proxy

Install zimbra-chat [N]

Install zimbra-drive [N]

Install zimbra-imapd (BETA - for evaluation only) [N]
Checking required space for zimbra-core
Checking space for zimbra-store
Checking required packages for zimbra-store
zimbra-store package check complete.

Installing:
    zimbra-core
    zimbra-ldap
    zimbra-logger
    zimbra-mta
    zimbra-dnscache
    zimbra-snmp
    zimbra-store
    zimbra-apache
    zimbra-spell
    zimbra-memcached
    zimbra-proxy

The system will be modified.  Continue? [N] y

Beginning Installation - see /tmp/install.log.MxKJHO8o for details...

                          zimbra-core-components will be downloaded and installed.
                            zimbra-timezone-data will be installed.
                    zimbra-common-mbox-conf-msgs will be installed.
                           zimbra-common-mbox-db will be installed.
                         zimbra-common-mbox-conf will be installed.
                   zimbra-common-mbox-native-lib will be installed.
                         zimbra-common-mbox-docs will be installed.
                   zimbra-common-mbox-conf-attrs will be installed.
                  zimbra-common-mbox-conf-rights will be installed.
                                     zimbra-core will be installed.
                          zimbra-ldap-components will be downloaded and installed.
                                     zimbra-ldap will be installed.
                                   zimbra-logger will be installed.
                           zimbra-mta-components will be downloaded and installed.
                                      zimbra-mta will be installed.
                      zimbra-dnscache-components will be downloaded and installed.
                                 zimbra-dnscache will be installed.
                          zimbra-snmp-components will be downloaded and installed.
                                     zimbra-snmp will be installed.
                         zimbra-store-components will be downloaded and installed.
                       zimbra-jetty-distribution will be downloaded and installed.
                                 zimbra-mbox-war will be installed.
                                zimbra-mbox-conf will be installed.
                             zimbra-mbox-service will be installed.
                                    zimbra-store will be installed.
                        zimbra-apache-components will be downloaded and installed.
                                   zimbra-apache will be installed.
                         zimbra-spell-components will be downloaded and installed.
                                    zimbra-spell will be installed.
                                zimbra-memcached will be downloaded and installed.
                         zimbra-proxy-components will be downloaded and installed.
                                    zimbra-proxy will be installed.

Downloading packages (11):
   zimbra-core-components
   zimbra-ldap-components
   zimbra-mta-components
   zimbra-dnscache-components
   zimbra-snmp-components
   zimbra-store-components
   zimbra-jetty-distribution
   zimbra-apache-components
   zimbra-spell-components
   zimbra-memcached
   zimbra-proxy-components
      ...done

Saving existing configuration file to /opt/zimbra/.saveconfig

Shutting down zimbra mail

Backing up the ldap database...done.
Upgrading the remote packages

Removing deployed webapp directories

Installing repo packages (11):
   zimbra-core-components
   zimbra-ldap-components
   zimbra-mta-components
   zimbra-dnscache-components
   zimbra-snmp-components
   zimbra-store-components
   zimbra-jetty-distribution
   zimbra-apache-components
   zimbra-spell-components
   zimbra-memcached
   zimbra-proxy-components
      ...done

Installing local packages (21):
   zimbra-timezone-data
   zimbra-common-mbox-conf-msgs
   zimbra-common-mbox-db
   zimbra-common-mbox-conf
   zimbra-common-mbox-native-lib
   zimbra-common-mbox-docs
   zimbra-common-mbox-conf-attrs
   zimbra-common-mbox-conf-rights
   zimbra-core
   zimbra-ldap
   zimbra-logger
   zimbra-mta
   zimbra-dnscache
   zimbra-snmp
   zimbra-mbox-war
   zimbra-mbox-conf
   zimbra-mbox-service
   zimbra-store
   zimbra-apache
   zimbra-spell
   zimbra-proxy
      ...done

Running Post Installation Configuration:

Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
   HOSTNAME=mail.someservername.com
   LDAPHOST=mail.someservername.com
   LDAPPORT=389
   SNMPTRAPHOST=mail.someservername.com
   SMTPSOURCE=admin@mail.someservername.com
   SMTPDEST=admin@mail.someservername.com
   SNMPNOTIFY=yes
   SMTPNOTIFY=yes
   LDAPROOTPW=*
   LDAPZIMBRAPW=*
   LDAPPOSTPW=*
   LDAPREPPW=*
   LDAPAMAVISPW=*
   LDAPNGINXPW=*
Restoring existing configuration file from /opt/zimbra/.saveconfig/localconfig.xml...done
Operations logged to /tmp/zmsetup.20180207-160916.log
Adding /opt/zimbra/conf/ca/ca.pem to cacerts
Upgrading from 8.7.6_GA_1776 to 8.8.6_GA_1906
Stopping zimbra services...done.
This appears to be 8.7.6_GA
Starting mysql...done.
Checking ldap status...not running.
Checking ldap status...not running.
Starting ldap...done.
Checking ldap status...already running.
Running mysql_upgrade...done.
Stopping mysql...done.
Applying updates for 8.8.6_GA
Updating global config and COS's with attributes introduced after 8.7.6_GA...done.
Stopping ldap...done.
Upgrade complete.

Checking ldap status....not running.
Starting ldap...done.
Setting defaults...done.
Setting defaults from existing config...done.
Checking for port conflicts
Setting defaults from ldap...done.
Saving config in /opt/zimbra/config.15947...done.
Operations logged to /tmp/zmsetup.20180207-160916.log
Setting local config values...done.
Initializing core config...Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Creating server entry for mail.someservername.com...already exists.
Setting Zimbra IP Mode...done.
Saving CA in ldap...done.
Saving SSL Certificate in ldap...done.
Setting spell check URL...done.
Setting service ports on mail.someservername.com...done.
Setting Keyboard Shortcut Preferences...done.
Setting zimbraFeatureTasksEnabled=FALSE...done.
Setting zimbraFeatureBriefcasesEnabled=FALSE...done.
Setting Master DNS IP address(es)...done.
Setting DNS cache tcp lookup preference...done.
Setting DNS cache udp lookup preference...done.
Setting DNS tcp upstream preference...done.
Setting TimeZone Preference...done.
Initializing mta config...done.
Setting services on mail.someservername.com...done.
Adding mail.someservername.com to zimbraMailHostPool in default COS...done.
Creating user spam.e1zcoh0wx@mail.someservername.com...already exists.
Creating user ham.m6iilt0s@mail.someservername.com...already exists.
Creating user virus-quarantine.rdgwwhca@mail.someservername.com...already exists.
Setting spam training and Anti-virus quarantine accounts...done.
Configuring SNMP...done.
Setting up syslog.conf...done.
Starting servers...done.
Checking for deprecated zimlets...done.
Checking for network zimlets in LDAP...done.
Removing network zimlets...
Finished removing network zimlets.
Installing common zimlets...
        com_zimbra_email...done.
        com_zimbra_webex...done.
        com_zimbra_attachcontacts...done.
        com_zimbra_date...done.
        com_zimbra_bulkprovision...done.
        com_zimbra_url...done.
        com_zimbra_tooltip...done.
        com_zimbra_adminversioncheck...done.
        com_zimbra_srchhighlighter...done.
        com_zimbra_mailarchive...done.
        com_zimbra_cert_manager...done.
        com_zimbra_proxy_config...done.
        com_zimbra_attachmail...done.
        com_zimbra_phone...done.
        com_zimbra_ymemoticons...done.
        com_zimbra_viewmail...done.
        com_zimbra_clientuploader...done.
Finished installing common zimlets.
Getting list of all zimlets...done.
Updating non-standard zimlets...
Finished updating non-standard zimlets.
Restarting mailboxd...done.
Skipping creation of default domain GAL sync account - existing install detected.

You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Server.
The only information that will be transmitted is:
        The VERSION of zcs installed (8.8.6_GA_1906_UBUNTU16_64)
        The ADMIN EMAIL ADDRESS created (admin@mail.someservername.com)

Notify Zimbra of your installation? [Yes] No
Notification skipped
Setting up zimbra crontab...done.


Moving /tmp/zmsetup.20180207-160916.log to /opt/zimbra/log


Configuration complete - press return to exit

and:

Code: Select all

Host mail.someserver.com
        amavis                  Running
        antispam                Running
        antivirus               Running
        cbpolicyd               Running
        dnscache                Running
        ldap                    Running
        logger                  Running
        mailbox                 Running
        memcached               Running
        mta                     Running
        opendkim                Running
        proxy                   Stopped
                proxy is not running.
        service webapp          Running
        snmp                    Running
        spell                   Running
        stats                   Running
        zimbra webapp           Running
        zimbraAdmin webapp      Running
        zimlet webapp           Running
        zmconfigd               Running

Still not working:

Code: Select all

zmproxyctl start
Starting proxy...nginx: [emerg] unknown directive "mail_login_ip_imap_max" in /opt/zimbra/conf/nginx/includes/nginx.conf.mail:142
failed.

In nginx logs:

Code: Select all

2018/02/07 16:15:14 [emerg] 4143#0: unknown directive "mail_login_ip_imap_max" in /opt/zimbra/conf/nginx/includes/nginx.conf.mail:142
2018/02/07 16:22:24 [emerg] 16895#0: unknown directive "mail_login_ip_imap_max" in /opt/zimbra/conf/nginx/includes/nginx.conf.mail:142
nginx version:

Code: Select all

/opt/zimbra/common/sbin/nginx -v
nginx version: nginx/1.7.1
Last edited by lisek on Wed Feb 14, 2018 11:44 am, edited 1 time in total.
User avatar
Gren Elliot
Advanced member
Advanced member
Posts: 183
Joined: Tue Jun 10, 2014 4:45 am

Re: Impossible to update to 8.8.X from 8.7.11 (Ubuntu 16.04)

Post by Gren Elliot »

Nothing there jumps out at me. Grasping at straws here:
Could you do:

Code: Select all

sudo find /opt/zimbra -name nginx
which nginx
With Zimbra down (zmcontrol stop) do:

Code: Select all

sudo grep -r -l mail_login_ip_imap_max /opt/zimbra/
For me, the output is:

Code: Select all

/opt/zimbra/conf/nginx/templates/nginx.conf.mail.template
/opt/zimbra/conf/nginx/includes/nginx.conf.mail
/opt/zimbra/common/sbin/nginx
/opt/zimbra/.bash_history
lisek
Posts: 10
Joined: Wed Feb 07, 2018 10:01 am

Re: Impossible to update to 8.8.X from 8.7.11 (Ubuntu 16.04)

Post by lisek »

So. The First one is:

Code: Select all

find /opt/zimbra -name nginx
/opt/zimbra/common/sbin/nginx
/opt/zimbra/conf/nginx
/opt/zimbra/data/nginx
/opt/zimbra/data/tmp/nginx

and for the second one:
Mine output is:

Code: Select all

/opt/zimbra/conf/nginx/templates/nginx.conf.mail.template
/opt/zimbra/conf/nginx/includes/nginx.conf.mail
/opt/zimbra/log/zmsetup.20180209-094359.log
/opt/zimbra/log/nginx.log
In log files there is nothing more then the line I've posted on first post.
In upgrade log I can see that apt was not upgrading zimbra-components, only zimbra-proxy - last was up to date, and not upgraded - maybe I've should force them to install somehow.

Here are sums for template files, could you check yours please?

Code: Select all

f7f63e1c9c82e15ef8f379179b12488a  /opt/zimbra/conf/nginx/templates/nginx.conf.mail.template
a553bcc254e2c4958e8256b0ee5eb393  /opt/zimbra/conf/nginx/includes/nginx.conf.mail
And this file was not found by grep like in your config, but is where it should be:

Code: Select all

/opt/zimbra/common/sbin/nginx -v
nginx version: nginx/1.7.1

md5sum /opt/zimbra/common/sbin/nginx
180de2269c7ec1e16273e77c6411d1d0  /opt/zimbra/common/sbin/nginx
and last one - executed as zimbra user:

Code: Select all

which nginx
/opt/zimbra/common/sbin/nginx
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2796
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.6 Network Edition
Contact:

Re: Impossible to update to 8.8.X from 8.7.11 (Ubuntu 16.04)

Post by L. Mark Stone »

lisek wrote:Hi.

I'm trying to update my zimbra server (open source)

Everytime I end UP with the same problem, and didn't find anything about anyone facing the same.

I've got Zimbra from ages, and Updated everytime. Currenty It's running 8.7.6 but I can upgrade it to 8.7.11 without any problems.

I'm trying to Update to 8.8.5 or 8.8.6 - both failed.

Upgrade process runs smoothly without any problems.
The problem is that after this update nginx want start and pops out:

Code: Select all

zmproxyctl start
Starting proxy...nginx: [emerg] unknown directive "mail_login_ip_imap_max" in /opt/zimbra/conf/nginx/includes/nginx.conf.mail:142
failed.

If I comment out this line in template file for this config file, it will popup another, and another, and another from different lines. Also from other nginx config files.

Do someone know what is going on and how to solve it?
Why not just use the Zextras backup to upgrade to a new server?
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
lisek
Posts: 10
Joined: Wed Feb 07, 2018 10:01 am

Re: Impossible to update to 8.8.X from 8.7.11 (Ubuntu 16.04)

Post by lisek »

Well. This is some kind of thing I could try. Didn't think of this because zextras backup is commercial tool, I didn't think about it, but Trial license should be enough for me to make it possible. Will try If other solutions fail.

I don't have anything special in my config, so - I'm pretty sure, there is something wrong with install package or online repos. That's why I'm talking here, hoping that will find solution and someone will maybe fix this in future releases.
andregrehs
Posts: 3
Joined: Thu Jul 20, 2017 11:23 am

Re: Impossible to update to 8.8.X from 8.7.11 (Ubuntu 16.04)

Post by andregrehs »

Hi all!

I´m facing the same issue here. I´m previosly upgrading from 8.7.9 to 8.8.8.

All proxy ports is down.

[zimbra@zimbra ~]$ zmproxyctl start
Starting proxy...nginx: [emerg] unknown directive "mail_login_ip_imap_max" in /opt/zimbra/conf/nginx/includes/nginx.conf.mail:142
failed.


Any update?
User avatar
vavai
Advanced member
Advanced member
Posts: 174
Joined: Thu Nov 14, 2013 2:41 pm
Location: Indonesia
ZCS/ZD Version: 0
Contact:

Re: Impossible to update to 8.8.X from 8.7.11 (Ubuntu 16.04)

Post by vavai »

I got similar problem on Zimbra 8.7.0 upgrade into 8.8.8 on Ubuntu 14.04.5 64 bit and decided to open bug : https://bugzilla.zimbra.com/show_bug.cgi?id=108981
User avatar
mdhenandi
Posts: 1
Joined: Mon Aug 21, 2017 2:50 am

Re: Impossible to update to 8.8.X from 8.7.11 (Ubuntu 16.04)

Post by mdhenandi »

Hi,

I've a similar problem and i've been follow up this is issue to zimbra support. It looks like zimbra nginx file was corrupt and that is the reason proxy service was not starting.

If you check and compare the md5sum of nginx binary file with our test setup and found md5sum was different.

To fix this issue we have moved nginx binary and re-installed zimbra-nginx package then restarted proxy service.

These are the steps which we have followed to fix the issue.

Code: Select all

root@mail:~# 
root@mail:~# md5sum /opt/zimbra/common/sbin/nginx
6abb9b1776793e786fd011dd193ff6aa  /opt/zimbra/common/sbin/nginx 
root@mail:~# 
root@mail:~# mv /opt/zimbra/common/sbin/nginx /opt/zimbra/common/sbin/nginx_OLD 
root@mail:~#
root@mail:~# apt-get install --reinstall zimbra-nginx   
root@mail:~# md5sum /opt/zimbra/common/sbin/nginx 
ac7e9f1747b651a91421b01fd07e4f5c  /opt/zimbra/common/sbin/nginx  
root@mail:~# 
root@mail:~# su - zimbra
zimbra@mail:~$
zimbra@mail:~$ zmproxyctl restart
Stopping proxy...done.
Starting proxy...done.
zimbra@mail:~$  
zimbra@mail:~$ 
root@mail:~# netstat -ntpl | grep nginx
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      11562/nginx.conf
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      11562/nginx.conf
tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN      11562/nginx.conf
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      11562/nginx.conf
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN      11562/nginx.conf
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      11562/nginx.conf
root@mail:~#
root@mail:~# netstat -ntpl | grep java
tcp        0      0 0.0.0.0:7025            0.0.0.0:*               LISTEN      27202/java
tcp        0      0 159.65.14.98:34870      0.0.0.0:*               LISTEN      27202/java
tcp        0      0 0.0.0.0:7993            0.0.0.0:*               LISTEN      27202/java
tcp        0      0 0.0.0.0:7995            0.0.0.0:*               LISTEN      27202/java
tcp        0      0 0.0.0.0:8443            0.0.0.0:*               LISTEN      27202/java
tcp        0      0 0.0.0.0:8735            0.0.0.0:*               LISTEN      27202/java
tcp        0      0 0.0.0.0:7071            0.0.0.0:*               LISTEN      27202/java
tcp        0      0 159.65.14.98:8736       0.0.0.0:*               LISTEN      27202/java
tcp        0      0 0.0.0.0:7072            0.0.0.0:*               LISTEN      27202/java
tcp        0      0 0.0.0.0:7073            0.0.0.0:*               LISTEN      27202/java
tcp        0      0 127.0.0.1:7171          0.0.0.0:*               LISTEN      17279/java
tcp        0      0 0.0.0.0:7110            0.0.0.0:*               LISTEN      27202/java
tcp        0      0 0.0.0.0:7143            0.0.0.0:*               LISTEN      27202/java
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      27202/java
root@mail:~#
Now, Please Check again your proxy :-).
Post Reply