- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: .profile does not end.....????
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2000 10:32 AM
09-26-2000 10:32 AM
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.
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.
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.
Sometimes, after a few days, the problem disappears. Sometimes, it lasts for weeks.
Well....whad'ya think??? Hmmmmm???
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2000 11:10 AM
09-26-2000 11:10 AM
Re: .profile does not end.....????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2000 12:10 PM
09-26-2000 12:10 PM
Re: .profile does not end.....????
if /bin/test -f
then
else
exit
fi
Or something to that effect...I believe -d checks for directories.
Just a thought,
Steve

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2000 11:27 PM
09-26-2000 11:27 PM
Solutionhad 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.
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"
Good luck,
Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2000 04:58 AM
09-27-2000 04:58 AM
Re: .profile does not end.....????
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.
Now if I can get an answer from HP of how to address this without the work around provided by Thomas.
This forum stuff is great!!