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

Re: Can't contact LDAP server (81)



Do you mean you don't see any slapd running when you
start slapd? If so check your log file
(/var/log/messages) for any error messages for your
starting of slapd.


--- shreedhar <shreedhar@lucidindia.net> wrote:
> If start sevice using
> [root@devserv shreedhar]# /usr/local/libexec/slapd
> -f /usr/local/etc/openldap/s
> lapd.conf
> 
> I could able found that the server entry ps list.
> 
> if run add comman using 
> [root@devserv shreedhar]# /usr/local/bin/ldapadd -d
> 255 -D "o=stixen.co.uk,c=uk
> " -x -w secret -f /home/shreedhar/ldap/Test2.ldif
> 
> i am getting the follwing errors
> 
> ldap_create
> ldap_bind_s
> ldap_simple_bind_s
> ldap_sasl_bind_s
> ldap_sasl_bind
> ldap_send_initial_request
> ldap_new_connection
> ldap_int_open_connection
> ldap_connect_to_host: TCP localhost:389
> ldap_new_socket: 4
> ldap_prepare_socket: 4
> ldap_connect_to_host: Trying 127.0.0.1:389
> ldap_connect_timeout: fd: 4 tm: -1 async: 0
> ldap_ndelay_on: 4
> ldap_is_sock_ready: 4
> ldap_is_socket_ready: error on socket 4: errno: 111
> (Connection refused)
> ldap_close_socket: 4
> ldap_perror
> ldap_bind: Can't contact LDAP server (81)
> 
> May  know what's the reason.
> Sreedhar
> 


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com