LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-04-2012, 12:40 PM   #1
zergpack
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
Unable to log into Red Hat Enterprise Linux 5


I have been on the phone helping someone with a RHEL 5 machine, but I was unable to solve the problem and was wondering if anyone else has ever run into this. When he logs in normally is kicked him back out giving an error of being logged in for less than 10 seconds. The recommended solutions were to check if there was available disk space and/or run fsck. Fail-safe login works perfectly fine, he is just unable to do his work through it. This machine is running on a laptop and has worked perfectly fine for over a month. What I have done so far to troubleshoot this issue:

*Checked the avialable space, he has over 50% avialable on every partition.
*Ran fsck during bootup.
*Created a new user and attempting to log in with the new user.
*Checked to see if partitions were mounted RW and not RO.

Reinstalling is not an option. I am looking for possible reason and solutions to call him back and present him with later today.
 
Old 07-04-2012, 12:51 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Is the user logging in from the command line or GUI? If the latter, try having him switch to a text prompt (CTRL+ALT+F1) and log in through that route. If that works, it seems that the graphical environment has some form of problem.

How is the user checking disk space and creating new users if he is unable to login?
 
Old 07-04-2012, 01:07 PM   #3
zergpack
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
He is using fail safe mode. I personally have not heard of fail safe mode to login, but it sounds like just a terminal login method(the same as CTRL + ALT + F1 I would imagine). The fail safe mode gave him full access to the machine through a text prompt. I would assume his main method is logging in through the GUI and did not think that the problem could be with that. Is there a way to check to see if the GUI is working properly? Is there a recommended way to reinstalling it if something is corrupt in the GUI?
 
Old 07-06-2012, 01:10 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
I've never heard of fail safe mode (except in MSWin). but if you can get text mode (eg ctrl-alt-f2 or 3 or 4...) then login and run
Code:
startx
and see if it works.
If it doesn't, you'll get bunch of msgs on the scree to help find the problem
You can also edit /etc/inittab and set
Code:
id:3:initdefault:
which brings the system up in cli mode by default, then try 'startx'.
 
Old 07-07-2012, 03:09 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
"fail safe" ?? on rhel ???

i guess it could be the text boot
hopefully it is run 3 and NOT 1

have him boot "almost" normal
but during the 3 second count down hit < e >
then use the down key once and add a "blank space " then a 3
hit < enter> then < b>

( add a 3 to the end of the boot line )

boot into runlevel 3 AS ROOT

nano IS installed by default but i like MC( midnight commander) for the terminal boot

cd to the logs ( /var/log/????? and read them and find the error

the "boot.0.log " should have it
(check the name with "ls"
Code:
cd /var/log
ls
nano boot.0.log
 
  


Reply



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
LXer: Red Hat invites users to help create the next Red Hat Enterprise Linux LXer Syndicated Linux News 0 09-01-2011 02:30 AM
Unable to access Red Hat Enterprise in graphical mod errorsunknownp Linux - Enterprise 3 12-16-2008 12:35 PM
Unable to find kernel-source for Red Hat Enterprise 4 skleed Linux - Software 1 06-15-2005 10:42 AM

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

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