Find the answer to your Linux question:
Results 1 to 2 of 2
hi all i want to setupldap on my redhat 8 box i have made changes to slapd.conf and ldap.conf but when i give command ldapsearch it says cant contact ldap ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2003
    Location
    India
    Posts
    12

    ldap error


    hi all
    i want to setupldap on my redhat 8 box i have made changes to slapd.conf and ldap.conf but when i give command ldapsearch it says cant contact ldap server secondly when i give command
    /usr/sbin/slapd -d 64 -f /etc/openldap/slapd.conf
    it says the fowllowing..
    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
    slapd stopped
    connections_destroy: nothing to destroy

    plz help me its really urgent

    thanks in advance

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Address family not supported? Could it be trying to use IPv6 or something? Try stracing (see the command strace if you don't know) the process and see exactly what kind of socket it tries to create.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •