<?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: .profile does not end.....???? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-does-not-end/m-p/2448073#M10003</link>
    <description>Can you display in this forum a sample user .profile ?</description>
    <pubDate>Tue, 26 Sep 2000 18:10:05 GMT</pubDate>
    <dc:creator>Robert Gamble</dc:creator>
    <dc:date>2000-09-26T18:10:05Z</dc:date>
    <item>
      <title>.profile does not end.....????</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-does-not-end/m-p/2448072#M10002</link>
      <description>Here's a good one for you. I have a K380 on which all user home directories reside. There are multiple J2240 machines being used as multi-user, network accessible development sandboxes. The users access the J-boxes via TCP/IP rlogin using Hummingbird PC.&lt;BR /&gt;The filesystem holding the home directories on the K380 is NFS mounted to the J-boxes. Occassionally (like after a J-box reboot), the users logging in will not get a prompt after completion of their .profile. This only happens with users whose home directories are NFS mounted. Others, such as root, etc. complete and present a prompt as they should. With the others, the .profile completes, but never exits. Once it hangs, you can break out with a control-c, but you only get that far if you telnet or rlogin from a working window to another machine. Using the rlogin from Hummingbird times out and gives you an error screen.&lt;BR /&gt;I know we should be using automount and that this would probably solve the problem, but that decision is not mine. I need to fix this maddening situation with the parameters as they are, if possible.&lt;BR /&gt;The K380 is on HP-UX 11.00. Some of the J-boxes are 10.20 and some are 11.00. Both exhibit the symptom.&lt;BR /&gt;Sometimes, after a few days, the problem disappears. Sometimes, it lasts for weeks.&lt;BR /&gt;Well....whad'ya think???  Hmmmmm???</description>
      <pubDate>Tue, 26 Sep 2000 17:32:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-does-not-end/m-p/2448072#M10002</guid>
      <dc:creator>Chuck Lackey</dc:creator>
      <dc:date>2000-09-26T17:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: .profile does not end.....????</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-does-not-end/m-p/2448073#M10003</link>
      <description>Can you display in this forum a sample user .profile ?</description>
      <pubDate>Tue, 26 Sep 2000 18:10:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-does-not-end/m-p/2448073#M10003</guid>
      <dc:creator>Robert Gamble</dc:creator>
      <dc:date>2000-09-26T18:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: .profile does not end.....????</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-does-not-end/m-p/2448074#M10004</link>
      <description>Having not seen the profile this is a bit of a shot in the dark, but the profile may be calling something that should be mounted.  You could put in some if/then logic before the statement to check for the directory/file first.&lt;BR /&gt;if /bin/test -f &lt;FILENAME&gt;&lt;BR /&gt;then &lt;BR /&gt; &lt;COMMANDS&gt;&lt;BR /&gt;else&lt;BR /&gt; exit&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Or something to that effect...I believe -d checks for directories.&lt;BR /&gt;&lt;BR /&gt;Just a thought,&lt;BR /&gt;Steve&lt;/COMMANDS&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Tue, 26 Sep 2000 19:10:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-does-not-end/m-p/2448074#M10004</guid>
      <dc:creator>Steve Sauve</dc:creator>
      <dc:date>2000-09-26T19:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: .profile does not end.....????</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-does-not-end/m-p/2448075#M10005</link>
      <description>Hi Chuck,&lt;BR /&gt;&lt;BR /&gt;had sth like this a few months ago and tracked it down to that .profile did not matter - the nasty beast I've been after was $HISTFILE.&lt;BR /&gt;&lt;BR /&gt;A situation that I encounter if users $HOME is nfs-mounted. Everything was fine after I've added in .profile a $HISTFILE in a locally mounted filesystem, eg "export HISTFILE=/tmp/.$LOGNAME.sh_history"&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Thomas</description>
      <pubDate>Wed, 27 Sep 2000 06:27:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-does-not-end/m-p/2448075#M10005</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-09-27T06:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: .profile does not end.....????</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-does-not-end/m-p/2448076#M10006</link>
      <description>Thank you, Thomas Brix. That takes care of the problem, though there is still an underlying problem in that this is intermittent.&lt;BR /&gt;&lt;BR /&gt;Thanks to all for your responses. I guess I wasn't clear in my question that I knew the problem was not the .profile itself. I knew that it completed and whatever was hanging was something between the end of .profile and the beginning of display of $PS1.&lt;BR /&gt;&lt;BR /&gt;Now if I can get an answer from HP of how to address this without the work around provided by Thomas.&lt;BR /&gt;&lt;BR /&gt;This forum stuff is great!!</description>
      <pubDate>Wed, 27 Sep 2000 11:58:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-does-not-end/m-p/2448076#M10006</guid>
      <dc:creator>Chuck Lackey</dc:creator>
      <dc:date>2000-09-27T11:58:22Z</dc:date>
    </item>
  </channel>
</rss>

