ackerman@kira.uvm.edu (Steve Ackerman) (06/19/89)
We are running SunOS 4.0 here at UVM, and we've noticed a problem with telnetd and inetd. It seems that if inetd is killed, and then restarted, in.telnetd does not seem to work properly. In fact, it appears to hang on a ioctl call while trying to turn ECHOing on. I noticed this problem when I crash inetd while attempting to install a program into /etc/inetd.conf. Needless to say, I botched it, and inetd aborted when it tried to load the program. Later on, users complained about telnet not working. Does anyone have a solution to this? I've attached a script that duplicates the problem. If this has been discussed before, I must have missed it and I apologize for dragging it up again. Thanks for any help! Steve ----------------------------script-------------------------- Script started on Sun Jun 18 13:41:57 1989 grover# telnet grover Trying 132.198.1.3 ... Connected to grover. Escape character is '^]'. SunOS UNIX (grover) login: ackerman Password: Last login: Sun Jun 18 13:25:08 from timmy SunOS Release 4.0 (client-50) #3: Mon Aug 1 01:56:46 EST 1988 grover.ackerman 1 > exit grover.ackerman 2 > logout Connection closed by foreign host. grover# ps -aux | egrep inetd root 907 10.4 4.2 76 146 p4 S 13:42 0:00 egrep inetd root 142 0.0 1.1 34 38 ? S Jun 16 0:15 inetd grover# kill 142 grover# !ps ps -aux | egrep inetd root 909 15.8 4.2 76 146 p4 S 13:43 0:00 egrep inetd grover# /usr/etc/inetd grover# !ps ps -aux | egrep inetd root 912 34.1 0.0 34 0 ? S 13:43 0:12 /usr/etc/inetd root 914 13.5 4.2 76 146 p4 S 13:44 0:00 egrep inetd grover# telnet grover Trying 132.198.1.3 ... Connected to grover. Escape character is '^]'. ackerman ^] telnet> ^Z Stopped grover# ps -aux | grep telnetd root 928 10.8 3.8 24 132 p4 S 13:46 0:00 grep telnetd root 925 0.0 0.0 28 0 p6 S 13:46 0:00 in.telnetd grover# trace -p 925 Process 925 attached - interrupt to quit ioctl (3, 0x80067409, 0xfffce4) = ^C Process 925 detached grover# grover# exit There are stopped jobs. grover# fg telnet grover Connection closed by foreign host. grover# exit grover# script done on Sun Jun 18 13:47:31 1989 ============================================================================ Steven Ackerman, Systems Programmer | EMBA-CF University of Vermont uunet!uvm-gen!ackerman | Burlington, Vermont 05401 Internet: ackerman@uvm.edu | Telephone: (802) 656-2926