Re: write(spawn_id=]: broken pipe
- From: "Alexandre Ferrieux" <alexandre.ferrieux@xxxxxxxxx>
- Date: 14 Apr 2007 06:01:09 -0700
On Apr 14, 12:11 pm, "Ranjan" <ranjan.kap...@xxxxxxxxx> wrote:
I have written a small expect script to telnet a FreeBSD machine and
send some commands to that machine remotely, through Windows XP
machine
These commands are being sent periodically in a loop. After sending
few command , the scripts throws the following exception:
write(spawn_id=]: broken pipe
This tells you one thing: the telnet process has died. From there, you
should investigate:
(1) Which side broke the connection first (use WireShark on your
windows machine, or a tcpdump/tethereal on the unix one).
(2) If the first F packet comes from the remote host, what happened
there (the in.telnetd and children). I don't know FreeBSD but if there
were something like strace(Linux) or truss(Solaris), I'd try it.
-Alex
.
- Follow-Ups:
- Re: write(spawn_id=]: broken pipe
- From: Ranjan
- Re: write(spawn_id=]: broken pipe
- References:
- write(spawn_id=]: broken pipe
- From: Ranjan
- write(spawn_id=]: broken pipe
- Prev by Date: Re: LDAP troubles
- Next by Date: exec encoding
- Previous by thread: write(spawn_id=]: broken pipe
- Next by thread: Re: write(spawn_id=]: broken pipe
- Index(es):
Relevant Pages
|