- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: login hanging
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
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
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
07-18-2011 11:10 AM - edited 10-19-2013 08:11 PM
07-18-2011 11:10 AM - edited 10-19-2013 08:11 PM
Re: login hanging
>The .sh_history file gets created by default.
Hmm, I wasn't aware there was a file based default.
>RPC lock daemons should be doing whatever the default is.
The problem is they get tired and stop working correctly and hang. ;-)
>users have the same problem unless the histfile is redirected to local filesystem.
As expected if the RPC lock demons aren't working.
>Who is Dave?
Dave Olker
http://h30499.www3.hp.com/t5/user/viewprofilepage/user-id/3154
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2011 02:24 PM
07-18-2011 02:24 PM
Re: login hanging
I've had to restart them in the past before. But I restarted them on this box already.
nfs.server, client stop/start
But I did not restart them on the nfs server. It would cause an outag I'm sure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2011 04:24 AM
07-19-2011 04:24 AM
Re: login hanging
>I've had to restart them in the past before.
That's using a hammer, you need a scalpel:
1) Kill rpc.statd and rpc.lockd ON BOTH SYSTEMS.
$ ps -ef | grep rpc.lockd
$ kill <rpc.lockd pid>
$ ps -ef | grep rpc.statd
$ kill <rpc.statd pid>
2) Remove all entries in /etc/sm and /etc/sm.bak ON BOTH SYSTEMS.
$ rm -r /var/statmon/sm /var/statmon/sm.bak
3) Restart rpc.statd (first), then rpc.lockd, on both systems:
$ /usr/sbin/rpc.statd
$ /usr/sbin/rpc.lockd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2011 10:36 AM
07-19-2011 10:36 AM
SolutionDennis. YOU ARE THE MAN!!! It worked. No more hangs. It took two logins to finally clear but
then it stopped hanging.
Thank you soo much for not giving up on me. It was really starting to bother me that users may
start logging in and getting hung sessions.
I will remember this behavior with rpc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2011 01:38 PM
07-19-2011 01:38 PM
Re: login hanging
>Thank you so much for not giving up on me.
Unfortunately I've had decades of experience with this RPC hang and my shared history file. :-(
- « Previous
- Next »