- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: login issues on nis client.
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
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
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-18-2010 08:15 PM
тАО09-18-2010 08:15 PM
Actually I'm being able to login but don't get prompt ... if I repeatedly hit ctrl+c several times then I get it.
I tried creating a local user and works just fine.
I was thinking on a profile issue?
I have the nis master and two clients, all running hpux 11iv1. Issue only happens on one client.
All are in the same subnet.
I restarted nis client without success.
nsswitch.conf file:
#
# /etc/nsswitch.nis:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#
passwd: files [NOTFOUND=continue] nis
group: files [NOTFOUND=continue] nis
hosts: files [NOTFOUND=continue]dns [NOTFOUND=continue] nis [NOTFOUND=continue]
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: files
automount: files [NOTFOUND=continue] nis
aliases: files nis
services: files nis
Please tell me if more info is required.
Thanks all for the time&help!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2010 08:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2010 08:30 PM
тАО09-18-2010 08:30 PM
Re: login issues on nis client.
Check the portmap daemon is up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2010 10:14 AM
тАО09-19-2010 10:14 AM
Re: login issues on nis client.
>I was thinking on a profile issue?
Possibly or a history file over NFS. Add "set -x" to your .profile and see how far it gets.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2010 02:50 AM
тАО09-20-2010 02:50 AM
Re: login issues on nis client.
Check the syslog what error do you get when you try to login.
Do you use automount ??
If yes also restart the daemon, and see what happens.
If you have any problem reply.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2010 07:07 AM
тАО09-20-2010 07:07 AM
Re: login issues on nis client.
It might be a problem related to a ksh bug. If your Home is on NFS ksh cannot lock the history file. Try to set the HISTFILE to a local filesystem and see what happens:
Give this line to the end of your .profile:
export HISTFILE=/tmp/.histfile_$LOGNAME
See this thread also:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1284995104760+28353475&threadId=1105150
Regards,
Viktor
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2010 07:18 PM
тАО09-21-2010 07:18 PM
Re: login issues on nis client.
I had to umount nfs mounts and restart nfs client/server on both servers, after that, I was able to log in as usual again.
Before restarting nis daemons, bdf output showed a nfs stale file handle on the server that is exporting the homes.
"bdf: /home/montools: Stale NFS file handle"
So that might be the reason why i was having a delay in the log in ...
I've assigned points, will close this thread uppon end user confirmation.
Thanks all for the time&help!