Starting ldap failed with exit code 256

While Upgrading Zimbra Collaboration Suit ZCS, Some time we got following error:-

Starting ldap...failed with exit code: 256. 



Error log :-
Restoring existing configuration file from /opt/zimbra/.saveconfig/localconfig.xml...done
Operations logged to /tmp/zmsetup.04252014-145633.log
Upgrading from 8.X.X to 8.X.X
Stopping zimbra services...done.
Starting mysql...done.
This appears to be 8.X.X
Checking ldap status...not running.
Running zmldapapplyldif...done.
Checking ldap status...not running.
Starting ldap...failed with exit code: 256.
UPGRADE FAILED - exiting.

Resolution :-
Execute below command to fix permission issue.
[ root@amitmaheshwari.in ] # /opt/zimbra/libexec/zmfixperms -verbose -extended

Try to re-run Zimbra setup 
[ root@amitmaheshwari.in ] #  /opt/zimbra/libexec/zmsetup.pl

This resolution has resolved " ldap error issue" , I hope it will work for you.