• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 462
  • Last Modified:

root login cleared when Enter is pressed

Hi there

I have two problems here.
1. BIG PROBLEM:-I have a Linux red hat 7.2, it was working fine till this morning, when I tried to log on as root, I typed user name "root", pressed enter and it just cleared the screen and the login screen came back up.
So I restarted (CTRL-ALT-DELETE), all services seem to start well, but when tried to log on again, same thing happen. I am using it(Linux box) as mail server , proxy as well webserver, and it looks to work fine because i can surf and i can send e-mail, the only problem i can not log in...

PLEASE HELP ME QUICKLY AS I AM IN NEED...

2. How/where can I specify, so that httpd service start automatically when I reboot by Linux box
0
Kulwa
Asked:
Kulwa
  • 3
  • 2
  • 2
  • +2
3 Solutions
 
sunnycoderCommented:
Hi Kulwa,

1. Is it only the root login or all logins which are disabled ? Do you have another administrative account through which you can gain access ?

2. http://sol4.net/linux/apache1.shtml


Sunnycoder
0
 
KulwaAuthor Commented:
Sunnycodder
it looks that all logins are disabled, because i tried to logon using another user (admin) who i created during installation, the same behavior is happening

Kulwa
0
 
jlevieCommented:
Any number of fixable problems can cause what you are seeing with the Gui login. To really find out what is happening use Ctrl-Alt-F2 for switch to an alternate text mode console and login as root. If that fails there should be an error message indicating what the problem is. If we know what's wrong we can suggest a solution.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
da99rmdCommented:
When you have the error message from above on the bootup promt write linux single and you will automaticly get root access. If this dont work either then you have to take a redhat 7.2 boot cd or disk and boot in to linux rescue mode and try to fix the problem from there.

/Rob
0
 
ipuschnerCommented:
For question number one: It seems like your login Script is broken. Try getting one from another installation, or run a repair from your Red Hat CD.

For your second question: You can add a link into your /etc/rc.d/rc5.d directory (or which ever structure your Red Hat has). Assuming you use Apache Webserver, and yourApache Directory is in "/usr/local/apache" you should say "ln -s /usr/local/apache/bin/apachectl start /etc/rc.d/rc5.d/S99apache" This starts (the "S99") Apache when reaching runlevel 5 (thats why it is put in rc5.d)
You can do this also with mysql or any other file you want to start on startup.

Greets Igor
0
 
sunnycoderCommented:
error message, as jlevie said, might provide some clue ... may be someone has played a prank and placed a logout command in /etc/profile !!!
0
 
KulwaAuthor Commented:
i'm working now, if i  get stuck i will let you know
Thanks all
0
 
da99rmdCommented:
Is he working or is the server working  ? :)

/Rob
0
 
KulwaAuthor Commented:
Rob
I'm (working) trying to make the server work, i have managed to boot from the cd but, still i can not find the problem...
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 3
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now