Maybe I did not explain the whole point, my script on machine A is
binds/unbinds with machine B, and what i expect is that when B machine
suspend system state
bind becomes impossible
>What state is the TCP connection in when you've suspended the server (B)
>tried to make a connection from A? Netstat should tell you this.
after suspension of system state on B, socket's state on A is established
and the perl script on A is "frozen" at the instruction
$mesg = $ldap->bind($ldap_dn, password=>$ldap_password);
Thanks for your help,
Pour : Nicolas CHRISTOPHE <nchristophe.ATIX.COHERIS@...>,
Objet : Re: frozen bind instruction
On 27/11/02 8:33 am, Nicolas CHRISTOPHE
> Dear all,
> I would like to know if there is any possibility of timeout with the
> perl-ldap bind instruction.
> This is linked to the following troubleshooting : I have got machine A
> redhat 6.2
> with perl script and machine B sunOs 5.6 with ldap database.
> When the B sun machine is powered on I can bind to it succesfully with
> following line on machine A :
> $mesg = $ldap->bind($ldap_dn, password=>$ldap_password);
> When I shut the B sun machine down or just stop nds service, the bind
> isn't possible from A and
> that is normal. The problem is when I suspend system state on the sun B
> machine , then the perl
> script is blocked at the above line.
What state is the TCP connection in when you've suspended the server (B)
tried to make a connection from A? Netstat should tell you this.
I don't know if there's anything we can change on the socket, or whether
there's some TCP variable that can be tuned on the Sun.
Get latest updates about Open Source Projects, Conferences and News.