Page 1 of 1

install error. SLAPD not starting?

Posted: Tue Oct 04, 2005 2:21 pm
by 1342superman
When i install I get this error

Starting servers...Calling GetServiceInfoRequest (zimbra.onamia.k12.mn.us)
RESPONSE: (Zimbra::Mon::serviceInfo)

host

ip 10.0.176.39

name zimbra.onamia.k12.mn.us

done

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException zimbra.onamia.k12.mn.us:389)
Installation complete!
when I do a ps -uux | grep for slapd or zimbra, I get nothing returned indacating slapd. When I search on zimbra I get a lot of mysql/jave/ perl misc stuff but no ldap.

Any ideas?

Also, i should mention that I installed this on FC4 so that may be the issue.

install error. SLAPD not starting?

Posted: Tue Oct 04, 2005 4:45 pm
by 14319KevinH
Try: ldd /opt/zimbra/openldap/libexec/slapd
If that looks ok then try the instructions here:

http://www.zimbra.com/forums/showthread ... pd#post142

install error. SLAPD not starting?

Posted: Wed Oct 05, 2005 7:51 am
by 1342superman
when I run the last command I get an error while loading shared libraries: libssl.so.4

I have copied the results of the command below. Do I need to sym link the library file from somewhere else?


[zimbra@zimbra ~]$ /opt/zimbra/libexec/zmldapinit

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

/opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.4: 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.4: cannot open shared object file: No such file or directory

Started slapd: pid

/opt/zimbra/openldap/bin/ldapmodify: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

/opt/zimbra/openldap/bin/ldapmodify: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

[zimbra@zimbra ~]$

install error. SLAPD not starting?

Posted: Wed Oct 05, 2005 7:53 am
by 1342superman
[root@zimbra ~]# ldd /opt/zimbra/openldap/libexec/slapd

linux-gate.so.1 => (0x00718000)

libdb-4.2.so => /opt/zimbra/lib/libdb-4.2.so (0x00bdc000)

libsasl2.so.2 => /opt/zimbra/cyrus-sasl/lib/libsasl2.so.2 (0x008b7000)

libssl.so.4 => not found

libcrypto.so.4 => not found

libresolv.so.2 => /lib/libresolv.so.2 (0x00655000)

libpthread.so.0 => /lib/libpthread.so.0 (0x00641000)

libc.so.6 => /lib/libc.so.6 (0x004d4000)

libdl.so.2 => /lib/libdl.so.2 (0x00600000)

/lib/ld-linux.so.2 (0x004b6000)

install error. SLAPD not starting?

Posted: Wed Oct 05, 2005 10:15 am
by 1342superman
I made sym links to the libssl.so.5 and libcrypto.so.5 and all is well
ln -s /lib/libssl.so.5 /lib/libssl.so.4

ln -s /lib/libcrypto.so.5 /lib/libcrypto.so.4
then reinstalled and all works well now.

install error. SLAPD not starting?

Posted: Thu Oct 06, 2005 9:22 pm
by ramidotcom
can you just specify how to make these sym links, like what is the syntax

install error. SLAPD not starting?

Posted: Fri Oct 07, 2005 1:45 am
by 14319KevinH
[quote user="ramidotcom"]can you just specify how to make these sym links, like what is the syntax[/QUOTE]
What superman posted is the exact syntax.

install error. SLAPD not starting?

Posted: Mon Oct 10, 2005 12:30 pm
by fak3r
[quote user="ramidotcom"]can you just specify how to make these sym links, like what is the syntax[/QUOTE]ln -s /usr/lib/libssl.so.0.9.7 /lib/libssl.so.4

ln -s /usr/lib/libpcre.so.3 /lib/libpcre.so.0

ln -s /usr/lib/libcrypto.so.0.9.7 /lib/libcrypto.so.4fak3r

install error. SLAPD not starting?

Posted: Tue Apr 17, 2007 2:18 pm
by wynton
[quote user="1342superman"]I made sym links to the libssl.so.5 and libcrypto.so.5 and all is well
ln -s /lib/libssl.so.5 /lib/libssl.so.4

ln -s /lib/libcrypto.so.5 /lib/libcrypto.so.4
then reinstalled and all works well now.[/QUOTE]
I follow your way, it doesn't work. How can I unlinks that I did links before? Thanks.

install error. SLAPD not starting?

Posted: Wed Apr 18, 2007 12:33 am
by jholder
rm /lib/libssl.so.4

rm /lib/libcrypto.so.4