after resolving some certificate errors with LDAP service I'm getting the following error during upgrade process:
Code: Select all
Sat Mar 4 13:28:35 2017 Starting ldap...
Sat Mar 4 13:28:35 2017 *** Running as zimbra user: /opt/zimbra/bin/ldap start
Failed to start slapd. Attempting debug start to determine error.
58bab319 backend_startup_one (type=mdb, suffix=""): bi_db_open failed! (80)
Sat Mar 4 13:29:14 2017 failed with exit code: 256.
Sat Mar 4 13:30:51 2017 UPGRADE FAILED - exiting.
Code: Select all
/opt/zimbra/openldap-2.4.33.4z/sbin/slapindex -F /opt/zimbra/data/ldap/config entryDN
viewtopic.php?t=13551
After that I rerun the upgrade and I get:
Code: Select all
[] FATAL: failed to initialize LDAP client
com.zimbra.cs.ldap.LdapException: LDAP error: : An error occurred while attempting to connect to server xxx.xxx.xxx:389: java.io.IOException: An error occurred while attempting to establish a connection to server xxx.xxx.xxx:389: java.net.ConnectException: Connection refused
ExceptionId:main:1488632348999:4ca653bd2aab364a
Code:ldap.LDAP_ERROR
at com.zimbra.cs.ldap.LdapException.LDAP_ERROR(LdapException.java:90)
Before this error I can find some others in the installation log file (both are attached, 1st and 2nd installation run):
Code: Select all
...
ERROR: account.INVALID_ATTR_VALUE (invalid attr value: invalid attr value - unable to modify attributes: ldap host=xxx.xxx.xxx:389: attribute 'zimbraDeviceLockWhenInactive' cannot have multiple values) (cause: com.zimbra.cs.ldap.LdapException$LdapInvalidAttrValueException invalid attr value - unable to modify attributes: ldap host=xxx.xxx.xxx:389: attribute 'zimbraDeviceLockWhenInactive' cannot have multiple values)
...
Sat Mar 4 13:58:57 2017 Updating from 8.0.6_GA
Sat Mar 4 13:58:59 2017 *** Running as zimbra user: /opt/zimbra/bin/zmprov -r -m -l -- mcf +zimbraStatThreadNamePrefix qtp
ERROR: service.FAILURE (system failure: unable to refresh entry) (cause: com.zimbra.cs.ldap.LdapException LDAP error: - unable to get attributes: ldap host=xxx.xxx.xxx:389: An error occurred while attempting to connect to server xxx.xxx.xxx:389: java.io.IOException: An error occurred while attempting to establish a connection to server xxx.xxx.xxx:389: java.net.ConnectException: Connection refused)
...
If I run a third time the update process it ends with no errors but there is obviously a problem because some services do not start, mainly mailboxd.
If someone can point me out to the root cause of that problem I would appreciate that a lot. I've been trying to perform this upgrade with no luck since time ago...
Thanks for your time!
Best, Pau.