- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Speeding up logging in to an NFS-mounted filesyste...
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
06-02-2003 08:35 PM
06-02-2003 08:35 PM
When a user logs in to the box with POSIX shell (or ksh, for that matter), the shell hangs after executing the last line in the init files (either in a copy of /etc/skel/.profile or $ENV defined in ~/.profile). Eventually the user has to ^C to get to the prompt.
The problem does not manifest itself if either: a) the user's login shell is csh, or b) the user's home directory is locally mounted.
The NFS server is a Solaris 9 box if that makes any difference.
Any input appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 09:02 PM
06-02-2003 09:02 PM
Re: Speeding up logging in to an NFS-mounted filesystem with [k]sh.
is there anything in the PATH variable of the ksh - users ?
when files are source each path in the $PATH is tested, and if some is not reachable this might be cause problem or hangs, if they nfs-mounted.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 09:03 PM
06-02-2003 09:03 PM
Re: Speeding up logging in to an NFS-mounted filesystem with [k]sh.
a) Kill rpc.lockd and rpc.statd
# ps -ef|grep rpc.lockd
# kill
==> repeat for rpc.statd
b) Delete all files in /var/statmon
# rm -R /var/statmon/sm.bak
# rm -R /var/statmon/state.bak
# mv /var/statmon/sm /var/statmon/sm.bak
# mv /var/statmon/state /var/statmon/state.bak
c) Restart rpc.statd and rpc.lockd
# /usr/sbin/rpc.statd
# /usr/sbin/rpc.lockd
The NFS locks should then be reclaimed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 02:21 AM
06-03-2003 02:21 AM
SolutionHISTFILE=/tmp/.sh_history.$(whoami)
export HISTFILE
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 03:46 AM
06-03-2003 03:46 AM