Operating System - HP-UX
1834501 Members
1786 Online
110068 Solutions
New Discussion

Automounted home dirs = shell prompt takes an age to return

 
SOLVED
Go to solution
Tony Walker_2
Frequent Advisor

Automounted home dirs = shell prompt takes an age to return

Hi Guys,

Here's the situation. Setup and new LDAP server (Solaris machine) and HP client 11i. Tested logins - all is OK and LDAP is functioning fine. Now, I've exported /export/home/ on the LDAP server and setup the client to automount the home dir. As far as I can tell, nsswitch/auto_master/auto_home etc are fine. But - here's what happens. You type your details, it logs in mounts the home dir from the server, runs the $HOME/.profile and then nothing - just hangs. Eventually after the odd CTRL-C it comes back to the prompt with a nicely visible home directory. Whats more, I have another HP client (also 11i) which logs in first time everytime like it should!

Any ideas???

Cheers,

Tony
4 REPLIES 4
Peter Godron
Honored Contributor

Re: Automounted home dirs = shell prompt takes an age to return

Tony,
check that all the network links are working ok. Are both clients directly visible to the server (no complex lookups)?
Regards
Robert-Jan Goossens
Honored Contributor
Solution

Re: Automounted home dirs = shell prompt takes an age to return

Hi Tony,

I know the .sh_history file can have some problems trying to write to a nfs mounted homedir. Could this be the same in your case ?

Best regards,
Robert-Jan
RAC_1
Honored Contributor

Re: Automounted home dirs = shell prompt takes an age to return

On the client, where you have problem, does nslookup resolves ok?? to and fro?? with ip address and with host names?? What is the automount setting in /etc/nsswitch.conf file on this client??

Also modify the .profile of user and try putting user's .sh_history to /tmp for a while and check.

Anil
There is no substitute to HARDWORK
Tony Walker_2
Frequent Advisor

Re: Automounted home dirs = shell prompt takes an age to return

Excellent - HISTFILE=/tmp/.sh_history and the problem went away!

Thanks for your help.

Regards,

Tony