Initializing ldap...FAILED (256)

Ask questions about your setup or get help installing ZCS server (ZD section below).
CVD
Posts: 9
Joined: Fri Sep 12, 2014 10:02 pm

Initializing ldap...FAILED (256)

Post 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!
CVD
Posts: 9
Joined: Fri Sep 12, 2014 10:02 pm

Initializing ldap...FAILED (256)

Post 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?
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Initializing ldap...FAILED (256)

Post 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.
CVD
Posts: 9
Joined: Fri Sep 12, 2014 10:02 pm

Initializing ldap...FAILED (256)

Post 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.
CVD
Posts: 9
Joined: Fri Sep 12, 2014 10:02 pm

Initializing ldap...FAILED (256)

Post by CVD »

That (= apt-get install openssl) helped :) Thanks!
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Initializing ldap...FAILED (256)

Post by marcmac »

FWIW, this is fixed in a future build.
IVD01
Posts: 8
Joined: Fri Sep 12, 2014 10:06 pm

Initializing ldap...FAILED (256)

Post 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
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Initializing ldap...FAILED (256)

Post 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?
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
nnuxx
Posts: 3
Joined: Fri Sep 12, 2014 10:05 pm

Initializing ldap...FAILED (256)

Post 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 :)
IVD01
Posts: 8
Joined: Fri Sep 12, 2014 10:06 pm

Initializing ldap...FAILED (256)

Post 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
Post Reply