[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

root login cleared when Enter is pressed

Posted on 2004-04-14
9
Medium Priority
?
460 Views
Last Modified: 2013-12-06
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
Comment
Question by:Kulwa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 45

Assisted Solution

by:sunnycoder
sunnycoder earned 300 total points
ID: 10830514
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
 

Author Comment

by:Kulwa
ID: 10830590
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
 
LVL 40

Expert Comment

by:jlevie
ID: 10830593
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
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 
LVL 8

Assisted Solution

by:da99rmd
da99rmd earned 300 total points
ID: 10830812
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
 
LVL 1

Accepted Solution

by:
ipuschner earned 400 total points
ID: 10831128
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
 
LVL 45

Expert Comment

by:sunnycoder
ID: 10831273
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
 

Author Comment

by:Kulwa
ID: 10831354
i'm working now, if i  get stuck i will let you know
Thanks all
0
 
LVL 8

Expert Comment

by:da99rmd
ID: 10831385
Is he working or is the server working  ? :)

/Rob
0
 

Author Comment

by:Kulwa
ID: 10831446
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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month14 days, 13 hours left to enroll

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question