LinuxQuestions.org
Help answer threads with 0 replies.
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, 12:12 PM   #1
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 871
Blog Entries: 9

Rep: Reputation: 103Reputation: 103
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, 12:34 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
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, 05:28 PM   #3
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 871
Blog Entries: 9

Original Poster
Rep: Reputation: 103Reputation: 103
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, 07: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: 331Reputation: 331Reputation: 331Reputation: 331
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 05:27 AM
wget timeout very slow Basta Linux - General 1 04-21-2005 09:02 AM
Cedega: CS 1.6 Slow -> timeout Arch.Fox Linux - Games 0 11-09-2004 01:51 PM
login timeout tobyl LQ Suggestions & Feedback 3 06-28-2003 03:34 PM
login timeout. sarin LQ Suggestions & Feedback 3 07-19-2002 09:36 PM


All times are GMT -5. The time now is 10:05 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration