Operating System - HP-UX
1837981 Members
1847 Online
110124 Solutions
New Discussion

Re: problem in getting prompt

 
SOLVED
Go to solution
sudhir_3
Advisor

problem in getting prompt

when telneting from host hpws5(home dir is on hpws5 which is mounted to cme1 through NFS )another host cme1 then I don't get prompt, evenafter pressing the ctrl+c
please suggest.

Thanks
sudhir
No end of technology
8 REPLIES 8
Karthik S S
Honored Contributor

Re: problem in getting prompt

Sudhir,

Check if the permissions are proper for the home directory. The directory should have execute permission for the owner.

Karthik
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
T G Manikandan
Honored Contributor

Re: problem in getting prompt

Can you check whether the file system is properly exported from the hpw5 system.

Do a
#exportfs -a

on the system.

check and revert

sudhir_3
Advisor

Re: problem in getting prompt

yes user home directory is mounted on cme1 & having the read permission to his home directory. when user logs in to cme1 through console login then he can login & gets prompt after pressing the ctrl+c.
user has problem in login when he tries remotly(through telnet) in getting the prompt even after pressing ctrl+c. below is display where user stuck up after telneting.

RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause in DFARS 252.227-7013.


Hewlett-Packard Company
3000 Hanover Street
Palo Alto, CA 94304 U.S.A.

Rights for non-DOD U.S. Government Departments and Agencies are as set
forth in FAR 52.227-19(c)(1,2).

after above display prompt does not appear.

Thanks sudhir
No end of technology
T G Manikandan
Honored Contributor

Re: problem in getting prompt

Is that only for this user.

Check his .profile file for ksh and sh shells and

.login and .cshrc files for csh.

Probably you can move those files to .old and try

Revert
Anonymous
Not applicable
Solution

Re: problem in getting prompt

had sth like this a few months ago and tracked it down to that .profile did not matter - the nasty beast I've been after was $HISTFILE.

A situation that I encounter if users $HOME is nfs-mounted. Everything was fine after I've added in .profile a $HISTFILE in a locally mounted filesystem, eg "export HISTFILE=/tmp/.$LOGNAME.sh_history"

".profile does not end.....???? "
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd7f56c96588ad4118fef0090279cd0f9,00.html

actually this is just a w/a- probably it's better to restart/fix the nfs server.
Omololu Shobayo
Frequent Advisor

Re: problem in getting prompt

You may have a stale NFS link to the server. This can only be overcome by reboot.

use this command.

Cntrl ]

This will get you out of the link if you telnet from another host.

does the command bdf hang also? If it does, then wait for a server reboot to correst the problem.

The nfs mount point was a hard mount instead of soft.

next time they should mount onthe client using

mount -o soft

Jean-Louis Phelix
Honored Contributor

Re: problem in getting prompt

hi,

You could give points to Thomas Brix ... Almost sure he's rigth. Try to avoid nfs-mounted history files.

Regards.
It works for me (© Bill McNAMARA ...)
sudhir_3
Advisor

Re: problem in getting prompt

I would like to thank Thomas Brix, T G Manikandan, Omololu Shobayo and all who replied.
now user is getting the prompt after pressing the ctrl+c when telneting to cme1.

I will try few more option to get prompt automatically.

Thanks
No end of technology