[Date Prev][Date Next] [Chronological] [Thread] [Top]

slapd won't start - bind() failed errno 98



Hi all,

I downloaded OpenLDAP 1.2.1 today and managed to build it on my Linux
(Intel) machine - at least, the tests were successful. Then I edited the
.conf files (ldap.conf and slapd.conf) according to the man pages and
created a minimal database using ldif2ldbm.

Starting slapd, however, failed, and /var/log/messages told me this:

slapd[11431]: bind() failed errno 98 (Address already in use)

Which address is in use ?
Where could I find out ?
is there something wrong in the .conf files (attached) ?

My Linux machine's name is fedp365.sns-felb.debis.de
It's known to a name server
I'm doing everything under root.

I browsed through the archives but errno 98 was not mentioned yet.

Thanks in advance for a helpful hint
Stephan


--- lapd.conf ---

#
# LDAP Defaults - on FEDP365 (.sns-felb.debis.de)
#
# Stephan Burkhardt 19.05.1999
# letzte Aenderung: 19.05.1999

# See ldap.conf(5) for details
# This file should be world readable.

BASE    o=debis, c=de
HOST  fedp365.sns-felb.debis.de		# yes or no ?

# HOST    ldap.openldap.org ldap-master.openldap.org:666
PORT    389

SIZELIMIT       100     # max search size
TIMELIMIT       15      # search time
# DEREF         never   # Dereferenzierung von aliassen never | always


--- slapd.conf ---

#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
# Stephan Burkhardt 19.05.1999
# letzte Aenderung  19.05.1999
#
include         /usr/local/etc/openldap/slapd.at.conf
include         /usr/local/etc/openldap/slapd.oc.conf
loglevel        8       # added by sb
schemacheck     off
# referral      ldap://fedp365.sns-felb.debis.de
referral        ldap://ldap.itd.umich.edu

pidfile         /usr/local/var/slapd.pid
argsfile        /usr/local/var/slapd.args

#######################################################################
# ldbm database definitions
#######################################################################

database        ldbm
suffix          "o=debis, c=de"
#suffix         "o=Your Organization Name, c=US"
directory       /usr/tmp
rootdn          "cn=root, o=debis, c=de"
#rootdn         "cn=root, o=Your Organization Name, c=US"
rootpw          secret
# cleartext passwords, especially for the rootdn, should
# be avoided.  See slapd.conf(5) for details.


-- 
Stephan Burkhardt       debis telecommunications services
Fellbach, Germany       e-mail......: sburkhardt@debis.de
X.400................: c=de;a=debis;g=stephan;s=burkhardt
Tel: (49)-711-17-49457             Fax: (49)-711-17-40308