ZCO 8.0.x to 8.6 upgrade fail due to slapd pid location change
ZCS 8.0.x to 8.6 upgrade fail due to slapd pid location change
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)
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:
3. After the installation, remove the symlink:
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.