1834017 Members
2544 Online
110063 Solutions
New Discussion

Re: login problem

 
Patricia Tang
Advisor

login problem

Hi All,

I having problem to login to HP-UX11.
After i enter the login password, the last login message have prompt out. But it take long time to display the "login message" i mean display the content of /etc/motd, and the prompt sign.

Anyone know what's wrong with it?
Please advise.

Thanks in advance

Regards,
Pat
6 REPLIES 6
vtpaulson
Frequent Advisor

Re: login problem

Hi Patricia,

Just with these data I can only suggest you to check the following...

* If the problem is only for perticular account look for any disk related problem. May be disk is heavily utilised where the home directory is...
* Look for .profile & /etc/profile or equivalent to your shell for any unwanted entries....
* Match your system with March 2001 patch bundle may be you have missed out some of the patches..

Paulson
Shahul
Esteemed Contributor

Re: login problem


Hi

I can not say this is the exact problem. But I can share some of the points what I experienced.

One is that if ur home directory is an NFS mounted directory, some times it will take long time to get login prompt. For that the solution is go to remote machine and restart NFS server service.

Or in ur profile may contain some utilities which is mounted thru NFS. In this case also better U restart NFS server service in remote Machine.

Second is ur server is over loaded it will take more time to get the login prompt. This U can see by using top caommand.

Checkup these things and come out with more inputs like only only user is facing problem or everybody?


Best of luck

Shahul
Michael Tully
Honored Contributor

Re: login problem

This particular problem can occur
with not just NFS if it is not patched
up to date, but also if you are
using a Token Ring network. As suggested
check the other end where you have NFS.

Michael
Anyone for a Mutiny ?
Ravi_8
Honored Contributor

Re: login problem

Hi,
check the /etc/nsswitch.conf file . the first option should be the local files(/etc/hosts,passwd,services etc..) and then nis, dns.
never give up
Alex Glennie
Honored Contributor

Re: login problem

fyi there's known problems of ksh/sh hanging when the home directory is NFS mounted

Fix by setting HISTFILE to point to a locally mounted directory such as /tmp/.sh_hist.$LOGNAME ?
Bill McNAMARA_1
Honored Contributor

Re: login problem

Can you log in as root?
Is it a problem with CDE or with text terms?

Any chance of executing a remote shell
as root, remsh hostname

You may need to boot into single user mode if you can't login to read your log files... or worse still if you've go a serious shell problem, you may have to boot of the support media and mount your / through the memory based kernel/shell and investigate/modify that way.

Bill
It works for me (tm)