OPEN-XCHANGE
You are here: Community > Mailinglist
freshmeat.net
[OX User] LDAP server cannot be contacted

Peter Schober peter.schober at univie.ac.at
Wed Aug 13 16:55:37 CEST 2008


* Maccy <maccy at maccomms.co.uk> [2008-08-13 16:23]:
> Here is the relevant section of the logs:

well, this just says what you already know: that PAM and saslauthd
cannot talk to slapd on localhost. what it does not say, is why,
because you're looking at the wrong logfile.

if you want to know why slapd is not running (or crashing) you'd need
to look at it's logfile, usually something like /var/log/slapd. if
that does not exist and you can't find any lines containing the string
'slapd' in any other file in /var/log, you'd possibly need to enable
slapd logging, e.g. by adding this line to /etc/syslog.conf:
local4.*                        -/var/log/slapd
then create the logfile (`touch /var/log/slapd` as root) and then
reload the syslog service.

for this to work you'd also have to make sure /etc/openldap/slapd.conf
does *not* contain a line with "loglevel 0" (the default is 256, which
should be fine, so if there is no line with 'loglevel' you're good as
well). for more on logging see `man slapd.conf`.

note that none of this is really specific to OX and just plain
sysadmin work and LDAP diagnostics. once you have a log file and there
is stuff written to it, you're likely to see some bdb errors which you
then could ask at the openldap-software mailing list about (be sure to
google for the error message first). be prepared for them to tell you
to read the bdb documentation ;)

> We are using OX5 build 5637 (hymalia) on a SLES9 box.

If you still have a valid support contract for this (and this still is
a supported release) forget everything I said above and get the
support you've paid for, from the vendor (Open-Xchange Inc.).
See http://www.open-xchange.com/en/services/support

best regards,
-peter

-- 
peter.schober at univie.ac.at - vienna university computer center
Universitaetsstrasse 7, A-1010 Wien, Austria/Europe
Tel. +43-1-4277-14155, Fax. +43-1-4277-9140



More information about the User mailing list