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

(Address family not supported by protocol)



when I start slapd i encountered with following error:

daemon: socket() failed errno=97 (Address family not supported by protocol)
daemon: bind(6) failed errno=98 (Address already in use)
daemon: bind(6) failed

but when run slapcat, it return

dn: ou=groups, dc=sunset , dc=ce , dc=sharif , dc=edu
objectClass: top
objectClass: organizationalUnit
ou: groups

dn: ou=people, dc=sunset , dc=ce , dc=sharif , dc=edu
objectClass: top
objectClass: organizationalUnit
ou: people

my slapd.conf is:

include         /usr/local/etc/openldap/schema/core.schema
include         /usr/local/etc/openldap/schema/cosine.schema
include         /usr/local/etc/openldap/schema/inetorgperson.schema

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

database        ldbm
suffix          "dc=sunset,dc=ce,dc=sharif,dc=edu"
rootdn          "cn=Manager,dc=sunset,dc=ce,dc=sharif,dc=edu"
rootpw          secret
directory       /usr/local/var/openldap-ldbm
index   objectClass     eq

my ldap.conf is:
BASE    dc=sunset,dc=ce , dc=sharif, dc=edu
URI     ldap://sunset.ce.sharif.edu, ldap://sunset.ce.sharif.ac.ir:666

I use openldap 2.0.23.
how can I resolve this problem?


Attachment: ""
Description: Binary data