LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-11-2006, 11:45 PM   #1
bigstinger
LQ Newbie
 
Registered: May 2006
Posts: 3

Rep: Reputation: 0
RHEL wouldn't login at console after kernel upgrade


Long story short - I use red hat ent linux and I get updates from them - I installed the latest update, and as always it came up with problems with X server. Well, no big deal, login to console and run the script I keep, right? ya, well, when I tried to login, it would just flash right back to the login screen like nothing happened. I did see the below in my logs. I ended up booting up to the bum screen and using putty to ssh in - where I ran the script, X booted up and I could log in again???

Sep 12 00:25:20 localhost login(pam_unix)[4521]: session opened for user patsy by LOGIN(uid=0)
Sep 12 00:25:20 localhost login[4521]: Module is unknown
Sep 12 00:25:30 localhost login(pam_unix)[5650]: session opened for user root by LOGIN(uid=0)
Sep 12 00:25:30 localhost login[5650]: Module is unknown

any gurus got any ideas> mucho gracias amigos!
 
Old 09-12-2006, 04:58 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Hello \& welcome to LQ, hope you like it here.


I use red hat ent linux and I get updates from them - I installed the latest update
Exactly what packages where updated?


Well, no big deal, login to console and run the script I keep
Should we know what it does? I mean, is the function of this script of relevance to solving the problem?


Sep 12 00:25:20 localhost login(pam_unix)[4521]: session opened for user patsy by LOGIN(uid=0)
Sep 12 00:25:20 localhost login[4521]: Module is unknown

Maybe a botched %post-install script in an RPM that didn't (re-)initialise stuff (properly)?
Are these all the related errors from the logs?
 
Old 09-12-2006, 07:50 AM   #3
bigstinger
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Sorry - I upgraded my kernel to the latest greatest available for 86x64

The script I reference is the source for the NVIDIA drivers... I just execute the run file against the latest greatest kernel


I didn't even know that there were post install scripts. I tried to rpm pam -e and pam had some dependencies... Should I "force" reinstall that? Can I even do that?

thanks!
 
Old 09-12-2006, 07:27 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I upgraded my kernel
Hmm. That doesn't make sense, I mean a kernel upgrade has no relation I know to PAM in a way it would influence, hamper or outright mistreat the PAM stack.


I tried to rpm pam -e and pam had some dependencies... Should I "force" reinstall that?
WHY ON EARTH would you want to de-install PAM? It will only cost you time as it will horribly break about any sysauth thing you got goin on there. Don't fix what ain't broken. I mean, it's working now, right?


Can I even do that?
Technically speaking you can ;-p


Are you using custom PAM modules?
Are there any other syslog error messages around update time?
Did you ever have this kind of problem with RHN updates before?
 
Old 09-13-2006, 07:45 AM   #5
bigstinger
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
yeah, I realize that I am not doing a very good job of reporting the essentials here, mostly because I am straight up noob. Anyway, I did not see any errors. It is is working now in that I can log in, but odds are that it would puke on me in console mode...

I use the rpm packages to upgrade through Up2Date. This kernel did not go in smoothly. First, I had dependency conflicts with smartd - I had to uninstall that, install the kernel, and then reinstall the smartd.

I was hoping to figure this out so that it would help out the next person, but I think we aren't going to get too far here. If something else goes awry I will post it here....

cheers!
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
console login hangs RHEL 3 darrenprog Linux - General 7 06-11-2007 04:43 PM
Login problems with XDMCP from a pre-RHEL-4 client to a RHEL-4 server running KDE cspao Red Hat 0 07-21-2006 06:30 AM
RHEL kernel upgrade cycle atmoe Red Hat 2 10-19-2005 01:42 PM
Kernel 2.6.12 upgrade and console text size Dr. Psy Slackware 8 06-23-2005 02:52 AM
Blank console screen after kernel upgrade saltireboy Slackware 2 05-06-2005 03:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:01 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