[Date Prev][Date Next]
AW: Problem with running slapd on clusters
Sorry, I forgot to mention what OS I'm running: It's a True64 machine.
Thank you for the advise.
Von: Thomas Nau [mailto:firstname.lastname@example.org]
Gesendet: Montag, 29. April 2002 07:45
Betreff: Re: Problem with running slapd on clusters
as I don't know which OS you are using I have to guess: seems that the
socket is in TIME_WAIT state which doesn't allow you to use the IP/port
pair for a while (details in Stevens TCP/IP Vol 1). If you check the
sources (line 473, openldap-2.0.23/servers/slapd/daemon.c) you will see
/* enable address reuse */
tmp = 1;
rc = setsockopt( l.sl_sd, SOL_SOCKET, SO_REUSEADDR,
(char *) &tmp, sizeof(tmp) );
If my assumption is right you should check if setsockopt() gets called.
Hope this helps,