LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 11-03-2010, 11:12 AM   #1
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
very slow login (60 second timeout exceeded)


Hi, I upgraded world on my Gentoo amd64 box (pam 1.1.3 was in there) and since then su, sudo and login take a very long time. Such that for certain users the 60 second timeout is exceeded even before it prompts for a password, and kdm won't log in either. From my research, I get the impression that it could be related to some DNS lookup. However, even with a disconnected cable, stopped network serivces and empty resolv.conf, the problem still persists. I'm open to any suggestions. (I did run revdep-rebuild)

PS : I upgraded another amd64 box, and there are no issues there...

Thanks,
Serafean
 
Old 11-03-2010, 11:34 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I would install sar and set it up to run automatically. sar reports can be very helpful when diagnosing performance problems. It always runs in the background and makes very detailed reports of resource usage.

Also you can look at the /var/log/messages file to see if there are any problems reported. You can increase the log level of various software components to report more or less detail about their function.
 
1 members found this post helpful.
Old 11-03-2010, 04:28 PM   #3
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997

Original Poster
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
Hi, thanks for the tip with sar I'll definitely be using more of that.

As to my problem, looking very closely at /var/log/messages I saw "krb5_parse_name failed". It would appear that the "kerberos" use flag crept into pambase, and that was the reason of slow logins.

just curious, what advantage would I get using kerberos?

Thanks

Serafean
 
Old 11-03-2010, 06:30 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by serafean View Post
just curious, what advantage would I get using kerberos?
Kerberos is used for single-sign-on. It has been in use for a long time in the UNIX world. Microsoft has adopted it for NT LAN Manager 2 authentication. NTLM2 is used in Microsoft networks on computers running Microsoft Server 2003 or later.
 
  


Reply

Tags
gentoo, login, pam


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mailbox is full: retry timeout exceeded ?? juan1987 Linux - Newbie 1 02-10-2010 04:27 AM
wget timeout very slow Basta Linux - General 1 04-21-2005 08:02 AM
Cedega: CS 1.6 Slow -> timeout Arch.Fox Linux - Games 0 11-09-2004 12:51 PM
login timeout tobyl LQ Suggestions & Feedback 3 06-28-2003 02:34 PM
login timeout. sarin LQ Suggestions & Feedback 3 07-19-2002 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 01:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration