Page 1 of 2

Initializing ldap...FAILED (256)

Posted: Wed Jan 25, 2006 7:17 am
by CVD
I'm trying the Debian install. The error I get isn't very descriptive, so I have no idea where to look. Are there more verbose logs available? If so, where? If not, what to do to solve this error?
(System is a clean debian sarge installation, nothing else (except ssh and stuff) runs on the machine.)
Any help is appreciated!

Initializing ldap...FAILED (256)

Posted: Wed Jan 25, 2006 7:23 am
by CVD
I actually read http://www.zimbra.com/forums/showthread.php?t=1349, but even with libbind-dev and bind packages installed, I'm still getting this error. Any ideas?

Initializing ldap...FAILED (256)

Posted: Wed Jan 25, 2006 8:51 am
by marcmac
[quote user="CVD"]I actually read http://www.zimbra.com/forums/showthread.php?t=1349, but even with libbind-dev and bind packages installed, I'm still getting this error. Any ideas?[/QUOTE]
You could post the error, so we had something to go on aside from "it doesn't work"


Check /tmp/install.log.* or /tmp/zmsetup.log.*. If it's an ldap issue, apt-get install openssl may help.

Initializing ldap...FAILED (256)

Posted: Wed Jan 25, 2006 9:32 am
by CVD
[quote user="marcmac"]You could post the error, so we had something to go on aside from "it doesn't work"[/QUOTE]
I did? Look at the subject of this thread...
[QUOTE]Check /tmp/install.log.* or /tmp/zmsetup.log.*. If it's an ldap issue, apt-get install openssl may help.[/QUOTE]
Okay, I'll try that. I'll report back if it worked or I got some more info out of the logs.

Initializing ldap...FAILED (256)

Posted: Wed Jan 25, 2006 11:32 am
by CVD
That (= apt-get install openssl) helped :) Thanks!

Initializing ldap...FAILED (256)

Posted: Wed Jan 25, 2006 11:48 am
by marcmac
FWIW, this is fixed in a future build.

Initializing ldap...FAILED (256)

Posted: Wed Mar 08, 2006 6:14 am
by IVD01
[quote user="CVD"]I did? Look at the subject of this thread...

Okay, I'll try that. I'll report back if it worked or I got some more info out of the logs.[/QUOTE]
Hi Guys,
I have tried installing the "openssl" package and I still have the following ldap problem. Could someone please assist?
*** CONFIGURATION COMPLETE - press 'a' to apply

Select from menu, or press 'a' to apply config (? - help) a

Save configuration data to a file? [Yes]

Save config in file: [/opt/zimbra/config.28500]

Saving config in /opt/zimbra/config.28500...Done

The system will be modified - continue? [No] y

Operations logged to /tmp/zmsetup.log.28500

Setting local config values...Done

Creating SSL certificate...Done

Initializing ldap...FAILED (256)


ERROR

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


Copy of the tmp log file as follows -
Certificate is to be certified until Mar 8 11:58:10 2007 GMT (365 days)
Write out database with 1 new entries

Data Base Updated

unable to write 'random state'

Signature ok

subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=linux.businesssoftware.net.au

Getting CA Private Key

unable to write 'random state'

/opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.5: cannot open shared object file: No such file or directory

/opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.5: cannot open shared object file: No such file or directory

db_recover: Finding last valid log LSN: file: 1 offset 28

/opt/zimbra/openldap/libexec/slapd: error while loading shared libraries: libssl.so.5: cannot open shared object file: No such file or directory

ERROR - failed to start slapd


/opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.5: cannot open shared object file: No such file or directory

/opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.5: cannot open shared object file: No such file or directory

db_recover: Finding last valid log LSN: file: 1 offset 28

/opt/zimbra/openldap/libexec/slapd: error while loading shared libraries: libssl.so.5: cannot open shared object file: No such file or directory

ERROR - failed to start slapd

Initializing ldap...FAILED (256)

Posted: Wed Mar 08, 2006 6:49 am
by phoenix
You would be better starting a new thread instead of adding to an old one.
Anyway, is your DNS setup correctly for the Zimbra server? Is your hosts file correct as per the Quick Install guide?

Initializing ldap...FAILED (256)

Posted: Wed Mar 08, 2006 6:50 am
by nnuxx
hello IVD01 :cool:
try this:

install latest openssl (v0.9.7xxx i believe)
login as root, or became root

#cd /usr/lib

#ln -s libcrypto.so.0.9.7 libcrypto.so.5

#ln -s libssl.so.0.9.7 libssl.so.5
hopefully, he will find that lib he is looking for... ;)

next try reading this post
cheers :)

Initializing ldap...FAILED (256)

Posted: Wed Mar 08, 2006 7:23 am
by IVD01
[quote user="10330phoenix"]You would be better starting a new thread instead of adding to an old one.
Anyway, is your DNS setup correctly for the Zimbra server? Is your hosts file correct as per the Quick Install guide?[/QUOTE]


Hi Bill,
Yes the DNS is correct on my Centos install, I have also tried installing a newer version of openssl, and i still had no luck. Is there anything else that I can try. BTW, I appreciate your help on this.
Scott