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

Revision as of 11:35, 31 May 2016 by Teodor Vizirov (talk | contribs) (Created page with "{{BC|Certified}} __FORCETOC__ <div class="col-md-12 ibox-content"> =ZCS 8.0.x to 8.6 upgrade fail due to slapd pid location change= {{KB|{{ZC}}|{{ZCS 8.6}}|{{ZCS 8.5}}|{{ZCS 8...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

   KB 22697        Last updated on 2016-05-31  

(0 votes)


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.

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)


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:

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: 2016-05-31

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 Teodor Vizirov
Jump to: navigation, search