home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.ultrix:8866 comp.protocols.tcp-ip:5603
- Path: sparky!uunet!mcsun!sunic!dkuug!stl.dk!jbn
- From: jbn@stl.dk (Jens Bloch Nielsen)
- Newsgroups: comp.unix.ultrix,comp.protocols.tcp-ip
- Subject: ULTRIX 4.2A rsh- or TCP/IP-problem.
- Message-ID: <Bz8tqE.LKL@stl.dk>
- Date: 14 Dec 92 09:44:37 GMT
- Organization: Soeren T. Lyngsoe, Hoersholm, Denmark
- Lines: 52
-
- We have some DECstation 5000/125 and DECsystem 5000/200 running 4.2A
- connected by ethernet (TCP/IP). When we try execute a remote shell (rsh)
- from one system to another in order to run a command (a script or a
- system-command), the rsh sometimes hangs (never exits). The command
- or script is always executed as expected, but the rsh never exits.
-
- A netstat shows that the TCP/IP-connection is not closed correctly.
- There is a CLOSE_WAIT on the local machine (the system from which the
- rsh was issued) and a FIN_WAIT_2 on the remote system.
-
- This indicates that the connection has been closed on the remote machine
- but the local machine never receives the close-ack.
-
- Example:
-
- If we issue the following command on the system tst05:
-
- rsh tst01 dobackup.x
-
- Dobackup.x is a script that executes find-commands and rcp-commands
- on tst01/tst05.
-
-
- a netstat after termination of the script on tst01 and tst05 shows (not
- all tcp-connections shown):
-
- tst05:
-
- Active Internet connections
- Proto Recv-Q Send-Q Local Address Foreign Address (state)
- ..
- ..
- tcp 0 0 tst05.1020 tst01.1021 CLOSE_WAIT
- tcp 0 0 tst05.1021 tst01.shell CLOSE_WAIT
- ..
- ..
-
- tst01:
-
- Active Internet connections
- Proto Recv-Q Send-Q Local Address Foreign Address (state)
- ..
- ..
- tcp 0 0 tst01.1021 tst05.1020 FIN_WAIT_2
- tcp 0 0 tst01.shell tst05.1021 FIN_WAIT_2
- ..
- ..
-
-
- Does anyone know this problem and perhaps a method to avoid it. ??
- Is there bug in a ultrix systemcall (used by rsh), rsh or TCP/IP
- that could cause this problem ??
-