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

Re: Slurpd replication retry (real problem)



Ah, well after sending my last post I've learned a bit more.
It looks like when slurpd goes into the retry loop,
it fails to rebind with the replication credentials  (at least there
is no mention of binding during the retry cycle).


Slurpd debug when slave is not present:
---------------------------------------
ldap_init
bind to null.fork.com:389 as cn=Admin, o=ATG, c=US (simple)
ldap_simple_bind_s
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
open_ldap_connection
ldap_pvt_gethostbyname_a: host=null.fork.com, r=0
ldap_err2string
Error: ldap_simple_bind_s for null.fork.com:389 failed: Can't contact LDAP server

Slurpd after slave is restarted
----------------------------------
Retrying operation for DN CN="A. JAMES PARKER",OU=CUST,O=ATG,C=US on replica null.fork.com:389
replica null.fork.com:389 - modify dn "CN="A. JAMES PARKER",OU=CUST,O=ATG,C=US"
ldap_modify_ext
ldap_send_initial_request
open_ldap_connection
ldap_connect_to_host
ldap_pvt_gethostbyname_a: host=null.fork.com, r=0
ldap_new_socket: 7
ldap_prepare_socket: 7
ldap_connect_to_host: Trying 199.2.123.13:389
ldap_connect_timeout: fd: 7 tm: -1 async: 0
ldap_ndelay_on: 7
ldap_is_sock_ready: 7
ldap_ndelay_off: 7
ldap_delayed_open successful, ld_host is (null)
ldap_send_server_request
ldap_result
wait4msg (infinite timeout)
** Connections:
* host: null.fork.com  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Wed Nov 24 13:51:22 1999

** Outstanding Requests:
 * msgid 2,  origid 2, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
   Empty
do_ldap_select
read1msg
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ldap_read: result msgid 2, original id 2
read1msg:  0 new referrals
request 2 done
res_errno: 0, res_error: <>, res_matched: <>
ldap_free_request (origid 2, msgid 2)
ldap_free_connection
ldap_free_connection: refcnt 1
ldap_parse_result
ber_scanf fmt ({iaa) ber:
ber_scanf fmt (}) ber:
ldap_msgfree
ldap_err2string
Error: ldap_modify_s failed modifying "Unknown error": CN="A. JAMES PARKER",OU=CUST,O=ATG,C=US
ldap_err2string
Error: ldap operation failed, data written to "/usr/local/ldap/null.fork.com:389.rej"

==================================================================
*        Fork Company - Great Software and Great Service         *
*  Jay D. Allen           jay@fork.com    Portland Oregon, USA   * 
==================================================================