Re: write(spawn_id=]: broken pipe



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

.



Relevant Pages

  • Re: How to Create a TCP/IP PrinterPort on a MS Cluster 2k3 via Scr
    ... thus the creation of the port on the node. ... Download the Windows Server 2003 resource kit and add prnadmin.dll to the ... Do you actually think I would post these scripts if it didnt work? ... In your response include the commands you used. ...
    (microsoft.public.windows.server.clustering)
  • Re: System Information Unavailable on XP Pro
    ... Bill, ... Open a Command Prompt window and enter the following commands, ... > You can see I'm multibooting, where WinXP is on partition ... >>> received the reply, "The Windows Management ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Thanks Everyone
    ... All I was able to do was do simple dos commands, ... Windows hadn't loaded, I was hoping I was in the Command Prompt and that I ...
    (microsoft.public.windowsxp.general)
  • Re: [opensuse] RPM Question
    ... of the disks, and what files are stored on what disks, could ... put the commands in shell scripts (think of .bat files, ... packages on my windows machine here at work. ... an internet connection to open up and process an RPM file? ...
    (SuSE)
  • Re: Thanks Everyone
    ... All I was able to do was do simple dos commands, ... Windows hadn't loaded, I was hoping I was in the Command Prompt and that I ...
    (microsoft.public.windowsxp.general)