Quantcast
Channel: Zimbra Forums
Viewing all articles
Browse latest Browse all 1448

Installation and Upgrade • Re: Maldua's Zimbra FOSS Builds - Share your feedback

$
0
0
Hello,trying upgrade from 10.1.4 to 10.1.7 on Ubuntu 22.04.
Getting ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/data/tmp/mysql/mysql.sock' (111 "Connection refused").

Please see below all upgrade output:



root@posta:/opt/install/zcs-10.1.7_GA_4200000.UBUNTU22_64.20250425163635# ./install.sh

Operations logged to /tmp/install.log.fhCqILPT
Checking for existing installation...
zimbra-license-tools...NOT FOUND
zimbra-license-extension...NOT FOUND
zimbra-network-store...NOT FOUND
zimbra-ldap...FOUND zimbra-ldap-10.1.4.GA.4200000.UBUNTU22.64
zimbra-logger...FOUND zimbra-logger-10.1.4.GA.4200000.UBUNTU22.64
zimbra-mta...FOUND zimbra-mta-10.1.4.GA.4200000.UBUNTU22.64
zimbra-dnscache...NOT FOUND
zimbra-snmp...NOT FOUND
zimbra-license-daemon...NOT FOUND
zimbra-store...FOUND zimbra-store-10.1.4.GA.4200000.UBUNTU22.64
zimbra-apache...FOUND zimbra-apache-10.1.4.GA.4200000.UBUNTU22.64
zimbra-spell...NOT FOUND
zimbra-convertd...NOT FOUND
zimbra-memcached...FOUND zimbra-memcached-1.6.21-1zimbra8.7b1.22.04
zimbra-proxy...FOUND zimbra-proxy-10.1.4.GA.4200000.UBUNTU22.64
zimbra-archiving...NOT FOUND
zimbra-onlyoffice...NOT FOUND
zimbra-core...FOUND zimbra-core-10.1.4.GA.4200000.UBUNTU22.64
ZCS upgrade from 10.1.4 to 10.1.7 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-p ... a-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]
Verifying integrity of message store databases. This may take a while.
mysqld is alive
No errors found


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)


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

Install zimbra-dnscache [N]

Install zimbra-snmp [N]
Upgrading zimbra-store
Upgrading zimbra-apache

Install zimbra-spell [N]
Upgrading zimbra-memcached
Upgrading zimbra-proxy
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-store
zimbra-apache
zimbra-memcached
zimbra-proxy

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

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

zimbra-core-components will be downloaded and installed.
zimbra-timezone-data will be installed.
zimbra-common-mbox-conf-attrs will be installed.
zimbra-common-mbox-native-lib will be installed.
zimbra-common-core-libs will be installed.
zimbra-common-mbox-conf will be installed.
zimbra-common-core-jar will be installed.
zimbra-common-mbox-conf-msgs will be installed.
zimbra-common-mbox-db will be installed.
zimbra-common-mbox-docs 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-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-mbox-store-libs will be installed.
zimbra-mbox-webclient-war will be installed.
zimbra-mbox-admin-console-war will be installed.
zimbra-store will be installed.
zimbra-apache-components will be downloaded and installed.
zimbra-apache 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 (8):
zimbra-core-components
zimbra-ldap-components
zimbra-mta-components
zimbra-store-components
zimbra-jetty-distribution
zimbra-apache-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.

Removing existing packages

done

Removing deployed webapp directories

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

Installing local packages (23):
zimbra-timezone-data
zimbra-common-mbox-conf-attrs
zimbra-common-mbox-native-lib
zimbra-common-core-libs
zimbra-common-mbox-conf
zimbra-common-core-jar
zimbra-common-mbox-conf-msgs
zimbra-common-mbox-db
zimbra-common-mbox-docs
zimbra-common-mbox-conf-rights
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-mbox-war
zimbra-mbox-conf
zimbra-mbox-service
zimbra-mbox-store-libs
zimbra-mbox-webclient-war
zimbra-mbox-admin-console-war
zimbra-store
zimbra-apache
zimbra-proxy
...done

Running Post Installation Configuration:

Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
HOSTNAME=posta.xxxyyyzzz .com.tr
LDAPHOST=posta.xxxyyyzzz .com.tr
LDAPPORT=389
SNMPTRAPHOST=
SMTPSOURCE=admin@xxxyyyzzz .com.tr
SMTPDEST=admin@xxxyyyzzz .com.tr
SNMPNOTIFY=0
SMTPNOTIFY=0
LDAPROOTPW=*
LDAPZIMBRAPW=*
LDAPPOSTPW=*
LDAPREPPW=*
LDAPAMAVISPW=*
LDAPNGINXPW=*
Restoring existing configuration file from /opt/zimbra/.saveconfig/localconfig.xml...done
Copying /tmp/install.log.fhCqILPT to /opt/zimbra/log
Operations logged to /tmp/zmsetup.20250531-074830.log
Adding /opt/zimbra/conf/ca/ca.pem to cacerts
Upgrading from 10.1.4_GA_4200000 to 10.1.7_GA_4200000
Stopping zimbra services...done.
This appears to be 10.1.4_GA
Starting mysql...done.
Checking ldap status...not running.
Checking ldap status...not running.
Starting ldap...done.
Running mysql_upgrade...done.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/data/tmp/mysql/mysql.sock' (111 "Connection refused")
Sat May 31 07:49:31 2025: Error while running '/opt/zimbra/bin/mysql --user=zimbra --password=MIcaczeKgk5b8wdt18JXkdV3 --database=zimbra --batch --skip-column-names'.
root@posta:/opt/install/zcs-10.1.7_GA_4200000.UBUNTU22_64.20250425163635#

Statistics: Posted by expert_az — Sat May 31, 2025 8:02 am



Viewing all articles
Browse latest Browse all 1448

Latest Images

Trending Articles



Latest Images