ZCS 8.0.x to 8.6 upgrade fail due to slapd pid location change

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

ZCS 8.0.x to 8.6 upgrade fail due to slapd pid location change

   KB 22697        Last updated on 2018-11-28  




0.00
(0 votes)

Problem

ZCS upgrade from 8.0.8 to 8.6 stops with the following error:

Restoring existing configuration file from /opt/zimbra/.saveconfig/localconfig.xml...done
Operations logged to /tmp/zmsetup08142014-140153.log
Upgrading from 8.0.8_GA_6152 to 8.6.0_BETA1_1002
Stopping zimbra services...done.
This appears to be 8.0.8_GA
Starting mysql...done.
Checking ldap status...not running.
Checking ldap status...not running.
Starting ldap...failed with exit code: 256.
UPGRADE FAILED - exiting.

In the /tmp/zmsetup.log file we see more:

unable to open pid file "/opt/zimbra/openldap/var/run/slapd.pid": 2 (No such file or directory)

Resolution

1. Create a symlink from the old location to the new:

ln -s /opt/zimbra/data/ldap/state/run /opt/zimbra/openldap/var/run

2. Start ldap and make sure the installation completes successfully:

ldap start

3. After the installation, remove the symlink:

unlink /opt/zimbra/openldap/var/run

Additional Content

This error is caused because the /opt/zimbra/.install_history file was left behind by previous installations. To uninstall zimbra:

./install.sh -u
rm -rf /opt/zimbra

Bug: https://bugzilla.zimbra.com/show_bug.cgi?id=94980 provides more information.


Verified Against: Zimbra Collaboration 8.6, 8.5, 8.0 Date Created: 31/05/2016
Article ID: https://wiki.zimbra.com/index.php?title=ZCS_8.0.x_to_8.6_upgrade_fail_due_to_slapd_pid_location_change Date Modified: 2018-11-28



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Wiki/KB reviewed by SME1 SME2 COPY EDITOR Last edit by Heera Singh Koranga
Jump to: navigation, search