<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: session hangs at the time of exit in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/session-hangs-at-the-time-of-exit/m-p/3772597#M261570</link>
    <description>Hi Bill,&lt;BR /&gt;&lt;BR /&gt;Yes, my session window do not disappear after exit, but this is happening for only couple of servers, rest others are working fine with similar OS revision &amp;amp; model. Even one of the server which was having this issue, is now working fine ( offcourse I dont know the reason!). So I dont think this is because of my PC or windows.</description>
    <pubDate>Thu, 20 Apr 2006 00:14:24 GMT</pubDate>
    <dc:creator>vaman</dc:creator>
    <dc:date>2006-04-20T00:14:24Z</dc:date>
    <item>
      <title>session hangs at the time of exit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/session-hangs-at-the-time-of-exit/m-p/3772592#M261565</link>
      <description>I have a 9000/800/rp3440 server with hpux 11.31 installed on it. When I exit any login session by exit command or Cntrl + D , my session hangs. Pl let me know what could be the problem.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Apr 2006 11:11:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/session-hangs-at-the-time-of-exit/m-p/3772592#M261565</guid>
      <dc:creator>vaman</dc:creator>
      <dc:date>2006-04-17T11:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: session hangs at the time of exit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/session-hangs-at-the-time-of-exit/m-p/3772593#M261566</link>
      <description>Shalom varman,&lt;BR /&gt;&lt;BR /&gt;First thing I'm going to tell you is that 11.31 has yet to be released. Please do a uname -a and tell us the actualy operating system.&lt;BR /&gt;&lt;BR /&gt;I suggest this prior to logging out:&lt;BR /&gt;stty -a&lt;BR /&gt;env &amp;gt; /tmp/env.txt&lt;BR /&gt;&lt;BR /&gt;Lets see what the environment looks like.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 17 Apr 2006 13:25:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/session-hangs-at-the-time-of-exit/m-p/3772593#M261566</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-04-17T13:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: session hangs at the time of exit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/session-hangs-at-the-time-of-exit/m-p/3772594#M261567</link>
      <description>It sounds like someone has been playing around with traps in your profiles. Start with this:&lt;BR /&gt; &lt;BR /&gt;grep trap /etc/profile $HOME/profile&lt;BR /&gt; &lt;BR /&gt;What you are looking for a trap statement for trap 0 (the exit signal), something like this:&lt;BR /&gt; &lt;BR /&gt; trap "$HOME/.logout" 0&lt;BR /&gt; &lt;BR /&gt;What this says is to run the script called .logout when the user exits. If the script is defective, the hang can occur inside this script. There are countless other items that might be in that trap statement so diagnosing the failure is not easy at all. But fixing it is very easy: comment or remove the trap.&lt;BR /&gt; &lt;BR /&gt;Another possibility is someone has messed with trap 1 (which is called SIGHUP, the action to take if the session has been hing up). Run the grep command above and post the results so we can see what may be happening.</description>
      <pubDate>Mon, 17 Apr 2006 21:42:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/session-hangs-at-the-time-of-exit/m-p/3772594#M261567</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-04-17T21:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: session hangs at the time of exit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/session-hangs-at-the-time-of-exit/m-p/3772595#M261568</link>
      <description>Hi Bill &amp;amp; Steven &lt;BR /&gt;I tried .logout the way u said, but I am not getting anything with 0 &amp;amp; 1&lt;BR /&gt;I compared  with working machine of same os, the env settings are same.&lt;BR /&gt;&amp;amp; the OS ..uname o/p is as &lt;BR /&gt;HP-UX vmpa3 B.11.31 U 9000/800 3481275434 unlimited-user license,&lt;BR /&gt;Is the exit signal creating issues, in that case how can I catch the daemon/process.&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Apr 2006 10:16:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/session-hangs-at-the-time-of-exit/m-p/3772595#M261568</guid>
      <dc:creator>vaman</dc:creator>
      <dc:date>2006-04-19T10:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: session hangs at the time of exit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/session-hangs-at-the-time-of-exit/m-p/3772596#M261569</link>
      <description>The .logout comment was an example of a possible trap setup somewhere in your profiles. Login to a user that hangs on exit and type the command:&lt;BR /&gt; &lt;BR /&gt;trap&lt;BR /&gt; &lt;BR /&gt;Post the response. This will tell you what is happening with the traps.&lt;BR /&gt; &lt;BR /&gt;Now I am assuming that when you say your logout "hangs", you mean that you can no longer get a login prompt. If instead you mean that the window on your PC doesn't disappear when you logout, that is a totally different symptom and the fix is in your PC.</description>
      <pubDate>Wed, 19 Apr 2006 21:32:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/session-hangs-at-the-time-of-exit/m-p/3772596#M261569</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-04-19T21:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: session hangs at the time of exit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/session-hangs-at-the-time-of-exit/m-p/3772597#M261570</link>
      <description>Hi Bill,&lt;BR /&gt;&lt;BR /&gt;Yes, my session window do not disappear after exit, but this is happening for only couple of servers, rest others are working fine with similar OS revision &amp;amp; model. Even one of the server which was having this issue, is now working fine ( offcourse I dont know the reason!). So I dont think this is because of my PC or windows.</description>
      <pubDate>Thu, 20 Apr 2006 00:14:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/session-hangs-at-the-time-of-exit/m-p/3772597#M261570</guid>
      <dc:creator>vaman</dc:creator>
      <dc:date>2006-04-20T00:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: session hangs at the time of exit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/session-hangs-at-the-time-of-exit/m-p/3772598#M261571</link>
      <description>So I was mistaken that the logout is 'hanging'. If something was hanging at the end of a logout, you would not get any prompt to login (in the same window). If I understand correctly, you are expecting the telnet window to close and disappear when you logout. This behavior is a terminal emulator feature and is part of the program you use to connect to the rp3440. &lt;BR /&gt; &lt;BR /&gt;There are hundreds of terminal emulator programs, some based on Xwindows (Reflection/X, Exceed, etc) and others are standalone (Hyperterminal, Reflection/HP, Attachmate, QCTerm, etc). Many programs have default actions when the telnet session is closed, some leave the window running so you can login again while others close the window. And some programs have options to select what to do once the session is closed.&lt;BR /&gt; &lt;BR /&gt;Now Xwindows is quite tricky. While a terminal window will appear on your PC, it did not originate on your PC. Instead, the actual program (xterm, dtterm, hpterm) is running on your server and this program tells your PC how to make and decorate the telnet window. Therefore, options for closing the window are actually stored on the server.&lt;BR /&gt; &lt;BR /&gt;And finally, the actual telnet and TCP/IP protocol that occurs as the session is disconnected is fairly complex. For instance, there may an stty setting that is different on the server(s) that do not close your window at logout. You can run the commands:&lt;BR /&gt; &lt;BR /&gt;trap&lt;BR /&gt;stty -a&lt;BR /&gt; &lt;BR /&gt;on both the problem server(s) and others that work OK and compare the results. Otherwise, use the HP-UX network trace (nettl) or get a copy of Ethereal to trace the closing protocol and you'll be able to track down the differences.</description>
      <pubDate>Thu, 20 Apr 2006 08:17:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/session-hangs-at-the-time-of-exit/m-p/3772598#M261571</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-04-20T08:17:46Z</dc:date>
    </item>
  </channel>
</rss>

