LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 08-09-2005, 03:34 PM   #1
alexia
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
Question lose telnet session (timeout ? - putty)


Hello,

I am using putty to open a telnet session on my aix system (5.3).
My problem is I lose my session when I leave the day before (end of day) and come back the next day on morning I don't have anymore a putty open . An d my prblem is that I was running a backup system on DVD and I run others scripts and want to see the status.
But no more session and each time I must open a new one.

Do you think I have something wrong on aix configuration or on putty or it is anoher problem ?

Thanks in advance.
Alexia
 
Old 08-10-2005, 07:36 AM   #2
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
Hi, Alexia,
Three things, let's suppose that your AIX system has no special protections.
1) Most of Microsoft Windows systems have default settings saying that the telnet session must be closed after certain time without activity. So, your PC by itself will close the putty telnet session. Look on your Microsoft Windows network settings to see if it's easy to change that setting.
2) If your global site experiences a network failure (cable removed or anything else) you can loose your telnet session. Then, if you are running a scripts which does not need input from your hands, you may consider starting this script with the nohup option. for instance try "nohup sleep 10 &". This will put the session output in the file named nonup.out, and will survive any loss of telnet connection.
3) Personally, I use vnc emulation. I start a session on the AIX system, and then I connect with vnc client.
If you startup something inside a vnc client session, you can reconnect to this session from another terminal, or from your home ! And if your pc is powered off when you come the next morning, you power on again, enter inside your vnc session, and have your screen alive and you can continue your backup process.
 
Old 08-11-2005, 02:55 PM   #3
alexia
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Hi thanks for the reply. But I have others telnet session opens on another aix system and I didn't lose it. So I think there is a parameter probably that I should change to keep my session open (putty - telnet).
If someone have an idea where I can check ?

Thanks in advance.

Regards.
Alexia.
 
Old 08-12-2005, 07:43 AM   #4
yvan-mickael
LQ Newbie
 
Registered: Jul 2005
Posts: 3

Rep: Reputation: 0
hi is there a reboot at the end of the backup
whith # uptime
you can see if your system is up since 4hours or since 15 days 2H34 for exemple.
bye
 
Old 08-15-2005, 09:52 PM   #5
alexia
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Hi,

Thanks for the reply. But my prblem is that I lose only my telnet (putty session) my system is ok up &running.
I have this message:
Shell will time out in 60 seconds.
ksh: Timed out waiting for input.

Do you know where I can change the parameters to keep my telnet session open ?

Thanks in advance.
 
Old 08-16-2005, 07:41 AM   #6
binx
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
Work-around

I haven't been able to figure out why I'm timing out, either (not that I've looked too hard), but my solution is to open a background xterm process. The original putty window times out, but the xterm remains. (Same w/ an emacs window).
 
Old 08-16-2005, 09:03 PM   #7
alexia
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Talking I find the solution

Hi,

I find the problem it was the following variables setted to :
TIMEOUT=10800 (for bash)
TMOUT=10800 (for ksh)

So I change TMOUT to keep my session open but only my session I just change the value and export I didn't change the file profile .

Thanks a lot for your help.
Regards.
Alexia
 
Old 08-17-2005, 07:47 AM   #8
Yordan
Member
 
Registered: Nov 2004
Posts: 57

Rep: Reputation: 15
Nicely found, Alexia. Congratitulations!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD - putty session takes forever to start... lazlow69 *BSD 1 11-13-2005 11:55 PM
Client for 'raw telnet mode' like PuTTY wies Linux - Networking 1 03-30-2005 10:20 AM
Lose permissions mid-session johngcarlsson Linux - Newbie 18 08-02-2004 07:23 PM
msec in MDK 10 makes me lose permissions mid-session johngcarlsson Mandriva 2 07-19-2004 07:00 PM
How to change the timeout on a telnet session? gimpytoday Linux - Networking 1 06-23-2004 10:24 AM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 04:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration