1833568 Members
3441 Online
110061 Solutions
New Discussion

login very slow

 
SOLVED
Go to solution
Luca Rasconi
Frequent Advisor

login very slow

Hi all,
after enter login and password, spend a lot of time (5 min.) before i can see the prompt.
What is the possible cause of this problem?

Thank you a lot
Luca
Luca
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: login very slow

Most likely hostname resolution or NFS problems.


Pete

Pete
Helen French
Honored Contributor
Solution

Re: login very slow

Couple of things to check:
1) Check if this happens in console too, if no then it can be a network issue. If no, other system configuration needs to be checked out
2) If this happens to all users, check the global profile (/etc/profile) and see if there any process that makes the login slow. If it's only a single user, check his $HOME/.profile file and see if anything wrong there.
3) Check the $HOME directory. If it's NFS mounted check the NFS performance. In the $HOME directory, check all profile files, permissions, file sizez etc.
4) Check system performance, file system sizes, log files (syslog.log) etc.
Life is a promise, fulfill it!
John J Read
Frequent Advisor

Re: login very slow

This happened to me a few times on a server that was using NIS. The box somehow lost it's NIS server. I had to do a ypset to the nis slave again.

ie: ypset host

Type: ypcat ypservers for a list of available servers if you are running NIS.





David_246
Trusted Contributor

Re: login very slow

Hi Luca,

Once logged in try to run a non-excisting command. Does it take a long time again ??
do a "unset PATH" and repeat the unknown command.
If this goes better look at what directory's are taken in your PATH variable, probably some non-excisting NFS FS. your shell will probe each PATH for excistance of the command you just typed.

Also LD_LIBRARY_PATH can holdup these kind of nfs-FS. So better to check if you don't have any NFS FS in any path.

use "set" to display all settings.


Regs David
@yourservice
Luca Rasconi
Frequent Advisor

Re: login very slow

Thank you.
It was a strange line in /etc/profile.


Ciao
Luca
Luca