LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AIX (https://www.linuxquestions.org/questions/aix-43/)
-   -   lose telnet session (timeout ? - putty) (https://www.linuxquestions.org/questions/aix-43/lose-telnet-session-timeout-putty-351607/)

alexia 08-09-2005 03:34 PM

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 :mad: . 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

zorba4 08-10-2005 07:36 AM

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.

alexia 08-11-2005 02:55 PM

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.

yvan-mickael 08-12-2005 07:43 AM

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

alexia 08-15-2005 09:52 PM

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.

binx 08-16-2005 07:41 AM

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).

alexia 08-16-2005 09:03 PM

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:D

Yordan 08-17-2005 07:47 AM

Nicely found, Alexia. Congratitulations!:)


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