Operating System - HP-UX
1833355 Members
3877 Online
110051 Solutions
New Discussion

Telnet/Login/Su/Terminal Hangs

 
Don Dawson
Occasional Contributor

Telnet/Login/Su/Terminal Hangs

Here is a question that I have seen alot but I have never seen a really clear answer for. I recently installed hp-ux 11.0 on a few of our machines and 2 of them are working fine. No problems at all. The third one on the other hand has a problem with users that aren't local. This is an NFS problem undoubtedly and I applied the recommended NFS patchs but it hasn't fixed it. Users can log into the workstations with CDE just fine but when they try to access a term window it doesn't give them a prompt. If root tries to su - (username) it hangs just before giving a prompt and some applications that are remotly mounted wont run. Also if you try to telnet into that machine you don't get a prompt. Any help would be appreciated!

Thanks
3 REPLIES 3
Jeff Machols
Esteemed Contributor

Re: Telnet/Login/Su/Terminal Hangs

Don,

Make sure you inted is running (CDE does not use this). Also make sure telnet, ftp, etc.. are all configured in /etc/inetd.conf. you may try restarting the inetd and see if that helps
Santosh Nair_1
Honored Contributor

Re: Telnet/Login/Su/Terminal Hangs

Don,

We'd had similar issues with NFS mounted home directories. Try changing the HISTFILE environment variable (probably in /etc/profile) to point to a local filesystem (like /tmp/.sh_history.$$). This usually fixes this problem for us. I believe there is a patch that addresses this issue, but don't know the patch number off hand.

-Santosh
Life is what's happening while you're busy making other plans
Eileen Millen
Trusted Contributor

Re: Telnet/Login/Su/Terminal Hangs

This sounds like a lockd hang.
There might be a patch for it.

On UX10.2, if you killed
rpc.statd and rpc.lockd on the file server, the prompt would come back, then clean out
rm -r /var/statmon/sm
rm -r /var/statmon.sm.bak
rm /var/statmon/state
then start the daemons
/usr/sbin/rpc.statd (first)
/usr/sbin/rpc.lockd
this would clear up the problem.

Eileen