On 12/18/2013 11:24 AM, jsatlar wrote:[color=blue]
We have recently upgraded our server hardware (IBM X3100 M4) and OS
(SLES 11 SP2). Since this upgrade, we have had issues with dropped
telnet connections.[/color]
Does this happen if you use SSH? I know, you’re not using it now, but if
it works while telnet does not then that would be an interesting data
point, and maybe good for the business since putty and other SSH clients
are free (no idea if ‘Glink’ is or not).
[color=blue]
We have approxiamately 130 filed offices, all of which have their own
local server. Users use Glink terminal emulator (which we have used for
15+ years) on a PC running Windows XP (which we have been running for
several years) to establish a telnet connection to the local server.
When the user has logged in, Glink passes a command to the server in the
form “-program_name-; exit”, and the session is associated with a pts.
Previous to the upgrade (and even now, for the most part), this performs
as expected; -program_name -executes and, upon successful termination of
the program, the user is logged out.[/color]
When does this termination happen? I am assuming when the user decides to
exit the program, so at the end of the day, or the end of a task, or
something. Does the length of the connection seem to matter?
[color=blue]
What we are seeing now, at least once a day and at all field offices, a
single workstation (and not always the same one) will lose the telnet
connection. A ps -ef still shows program_name running (still associated
with the workstation), but no longer associated with a pts. Currently,
for lack of a better solution, we have a cron job that runs every other
minute that checks for and, if found, kills this orphaned session.[/color]
Please post the contents of the /etc/xinetd.d/telnet (or whatever is
setting up your telnet service) file here within Code tags (# symbol in
the web interface toolbar) so we can try to duplicate things. Also,
anything in /var/log/messages or /var/log/firewall from the time of the
disconnect may be useful.
[color=blue]
This Glink / Windows XP arrangement has worked well forn us in the past
under various hardware configurations using AIX 5.0, SLES8, and SLES 9
SP2. Are there some TCP parameters that perhaps need to be tweaked under
SLES 11 that are causing this issue?[/color]
If nothing else shows up, get a LAN trace from at least the server side,
if not both the server and client sides, to see what is really happening
on the wire. Currently we do not know which side is causing the
disconnect, so while it is likely SLES (since nothing else has changed) we
do not know why SLES would do that, but we may see that reason (RST packet
from a firewall or router that does not like long connections, for
example) in a trace.
Code:
sudo /usr/sbin/tcpdump -n -s 0 -i any -w /tmp/telnet.cap port 23
–
Good luck.
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…