- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Issues with logging in - Hist file change reqd
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
11-01-2002 08:41 AM
11-01-2002 08:41 AM
I am facing issues with our NIS environment. I have rebooted two servers which host the home directories of all users. Also, one of them is the primary NIS server.
Now, when i change the HISTFILE location in the master "UNI.PROFILE" file to point to /tmp/.sh_history/username
it works fine. If i keep pointing to the user home directory which is being used through NIS the users are not able to login at all. Some users have to wait and then do a ctrl+c to work.
Can someone kindly suggest a resolution or some patches for this. Pls consider very urgent.
HP has not been able to come up with a solution yet since 3 days.
Regards,
Anil
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 09:15 AM
11-01-2002 09:15 AM
Re: Issues with logging in - Hist file change reqd
1) Kill rpc.lockd and rpc.statd:
# kill `ps -ef|grep rpc.lockd|grep -v grep|awk '{print $2}'`
# kill `ps -ef|grep rpc.statd|grep -v grep|awk '{print $2}'`
===> Kill rpc.lockd and rpc.statd
2) Delete all files in /var/statmon.
# cd /var/statmon
# rm sm.bak
# rm state.bak
# mv sm sm.bak
===> The sm dir determines which hosts will reclaim its rpc lock.
# mv state state.bak
3) Restart rpc.statd and rpc.lockd
# /usr/sbin/rpc.statd
# /usr/sbin/rpc.lockd
Another situation I've seen is a corrupted .sh_history file. This can be resolve by "zeroing" the file. This might be of help to you too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 09:20 AM
11-01-2002 09:20 AM
Re: Issues with logging in - Hist file change reqd
Thanks for the suggestions. I will try to implement them. But i am having problems with a wider view. The problem is not occuring on just one server. I have 50 servers in my environment and it is happening on most of them. The NIS server is just one.
Can you please suggest how should i try to use your solution on all the servers.
Regards,
Anil ( I shall assign points to your helpful solutions once we are done.. thanks very much again for the gr8 help)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 09:50 AM
11-01-2002 09:50 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 11:11 AM
11-01-2002 11:11 AM
Re: Issues with logging in - Hist file change reqd
You are one hell of a master on these issues.
I have seen a lot of your postings. All answers have been very technical and wonderful.
Double points to you for this.
I normally don't do this.. but you are worth it.
Cheers,
Anil