I've searched through and found many instances of this error. I tried all of the listed fixes I could find, installed openssl and openssl-devel, edited /opt/zmbra/bin/ldap.

Always get these 2 errors:

Initializing ldap...FAILED (256) or
Initializing ldap...FAILED (512)

In this context:
Code:
Save config in file: [/opt/zimbra/config.6157]
Saving config in /opt/zimbra/config.6157...Done
The system will be modified - continue? [No] Yes
Operations logged to /tmp/zmsetup.log.6157
Initializing ldap...FAILED (256)


ERROR



Configuration failed

Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
complete the configuration

Here are the last few lines from the zmsetup and install logs.

install.log:
Code:
COMMAND: zmlocalconfig -f -e zimbra_home='/opt/zimbra'
COMMAND: zmlocalconfig -f -e zimbra_index_directory='${zimbra_home}/index'
COMMAND: zmlocalconfig -f -e zimbra_index_idle_flush_time='600'
COMMAND: zmlocalconfig -f -e zimbra_index_lru_size='100'
COMMAND: zmlocalconfig -f -e zimbra_index_max_uncommitted_operations='200'
COMMAND: zmlocalconfig -f -e zimbra_java_home='${zimbra_home}/java'
COMMAND: zmlocalconfig -f -e zimbra_ldap_password='zimbra'
COMMAND: zmlocalconfig -f -e zimbra_ldap_userdn='uid=zimbra,cn=admins,cn=zimbra'
COMMAND: zmlocalconfig -f -e zimbra_log4j_properties='${zimbra_home}/conf/log4j.properties'
COMMAND: zmlocalconfig -f -e zimbra_log_directory='${zimbra_home}/log'
COMMAND: zmlocalconfig -f -e zimbra_logger_mysql_password='D54_BD_10Onaub_P3K8K3nV_60Y'
COMMAND: zmlocalconfig -f -e zimbra_mysql_connector_maxActive='10'
COMMAND: zmlocalconfig -f -e zimbra_mysql_password='t6wRXxUsLWuG1N4R0xSAIRCERRUi'
COMMAND: zmlocalconfig -f -e zimbra_mysql_user='zimbra'
COMMAND: zmlocalconfig -f -e zimbra_server_hostname='mail.fonestream.com'
COMMAND: zmlocalconfig -f -e zimbra_store_directory='${zimbra_home}/store'
COMMAND: zmlocalconfig -f -e zimbra_store_sweeper_max_age='480'
COMMAND: zmlocalconfig -f -e zimbra_uid='500'
COMMAND: zmlocalconfig -f -e zimbra_user='zimbra'
COMMAND: zmlocalconfig -f -e zimlet_directory='${tomcat_directory}/webapps/service/zimlet'
and zmsetup.log:
Code:
adding new entry "cn=(GMT\+09.00) Osaka / Sapporo / Tokyo,cn=timezones,cn=config,cn=zimbra"

adding new entry "cn=(GMT\+09.00) Seoul,cn=timezones,cn=config,cn=zimbra"

adding new entry "cn=(GMT\+09.00) Yakutsk,cn=timezones,cn=config,cn=zimbra"

adding new entry "cn=(GMT\+09.30) Adelaide,cn=timezones,cn=config,cn=zimbra"

adding new entry "cn=(GMT\+09.30) Darwin,cn=timezones,cn=config,cn=zimbra"

adding new entry "cn=(GMT\+10.00) Brisbane,cn=timezones,cn=config,cn=zimbra"

adding new entry "cn=(GMT\+10.00) Canberra / Melbourne / Sydney,cn=timezones,cn=config,cn=zimbra"

adding new entry "cn=(GMT\+10.00) Guam / Port Moresby,cn=timezones,cn=config,cn=zimbra"

adding new entry "cn=(GMT\+10.00) Hobart,cn=timezones,cn=config,cn=zimbra"

adding new entry "cn=(GMT\+10.00) Vladivostok,cn=timezones,cn=config,cn=zimbra"

adding new entry "cn=(GMT\+11.00) Magadan / Solomon Is. / New Calenodia,cn=timezones,cn=config,cn=zimbra"

adding new entry "cn=(GMT\+12.00) Auckland / Wellington,cn=timezones,cn=config,cn=zimbra"

adding new entry "cn=(GMT\+12.00) Fiji / Kamchatka / Marshall Is.,cn=timezones,cn=config,cn=zimbra"

adding new entry "cn=(GMT\+13.00) Nuku'alofa,cn=timezones,cn=config,cn=zimbra"
Any ideas? Anything else I should search for?

This is on CentOS 4.2 fresh install.