install error. SLAPD not starting?

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

install error. SLAPD not starting?

Post 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.
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

install error. SLAPD not starting?

Post 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
1342superman
Posts: 10
Joined: Fri Sep 12, 2014 9:56 pm

install error. SLAPD not starting?

Post 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 ~]$
1342superman
Posts: 10
Joined: Fri Sep 12, 2014 9:56 pm

install error. SLAPD not starting?

Post 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)
1342superman
Posts: 10
Joined: Fri Sep 12, 2014 9:56 pm

install error. SLAPD not starting?

Post 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.
ramidotcom
Posts: 15
Joined: Fri Sep 12, 2014 9:57 pm

install error. SLAPD not starting?

Post by ramidotcom »

can you just specify how to make these sym links, like what is the syntax
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

install error. SLAPD not starting?

Post 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.
fak3r
Posts: 16
Joined: Fri Sep 12, 2014 9:57 pm

install error. SLAPD not starting?

Post 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
wynton
Posts: 10
Joined: Fri Sep 12, 2014 10:28 pm

install error. SLAPD not starting?

Post 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.
User avatar
jholder
Ambassador
Ambassador
Posts: 4824
Joined: Fri Sep 12, 2014 10:00 pm

install error. SLAPD not starting?

Post by jholder »

rm /lib/libssl.so.4

rm /lib/libcrypto.so.4
Post Reply