1753782 Members
7168 Online
108799 Solutions
New Discussion юеВ

Telnetd error

 
SOLVED
Go to solution
Sentinel_2
Advisor

Telnetd error

Hi All,
I am having some problems with users which are disconnected from the their telnet session with the server.
They are using TVNT Plus Telnet Terminal emulation and the server is B.10.20, it is updated with the latests patches for telnet for this baseline.

This error is comingp up continuosly in syslog:
telnetd[25728]: Error checking child termination status: error 4: Interrupted system call

I┬┤d appreiate if you could help me with this
4 REPLIES 4
Ramesh S
Esteemed Contributor

Re: Telnetd error

Hi

telnetd[25728]: Error checking child termination status: error 4: Interrupted system call

This error is reported when telnetd (pid 25728 in this case) is exiting and
it sends a SIGHUP signal to its child - this is usually a shell process.
The child process does not confirm acceptance of the SIGHUP after 30s -
maybe it's hung, maybe it's been setup to ignore SIGHUP. So telnetd logs the
error and exits.

To find out why the error occurs I suggest you enable inetd -l to allow
connection logging to syslog

Thanks & Regards

Ramesh
TTr
Honored Contributor

Re: Telnetd error

I would say that your users kill their TVNT window without logging out of their telnet session and closing the connection properly.

Try and duplicate that by using the TVTN yourself.
Sentinel_2
Advisor

Re: Telnetd error

I have modified the .profile of the users not to ignore the SIGHUP.
So now it is trap "" 2 3 instead of trap "" 1 2 3.
I haven├В┬┤t seen more erros in syslog like the above mentioned. Anyway the users are still complaining about being disconnected from their telnet session.

I see these two errors in syslog:
Feb 28 10:22:34 d270 telnetd[6727]: recv: Connection reset by peer
Feb 28 10:32:33 d270 telnetd[8966]: recv: Connection timed out
Is there anyplace to configure the timeout for telnet?

Thanks
john123
Trusted Contributor
Solution

Re: Telnetd error

Set the time-out value in inetd.conf and do inetd -C
to set time out to 240 second

telnet stream tcp nowait root /usr/lbin/telnetd telnetd -n240