Not getting login prompt


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Not getting login prompt
# 1  
Old 01-06-2014
Not getting login prompt

Hi,

we have a server that runs on redhat linux. It was working fine until last year and all of sudden we are not able to ssh on to that server. we are getting the ping response but not getting the login prompt when tried to connect via ssh.

Port 22 is opened and i have tested it out using telnet command.

So i have requested the guys at the data center to reboot the machine forcefully and when he tries to do it nothing come up on the screen it seems.

When its powered on nothing appears on the screen seems like it is completely dead and the keyboard doesn't work it seems. There is no boot process when powered off/on.

Any advise how to proceed ahead so that we can boot the server and resolve the issue?

Thanks,
P
# 2  
Old 01-06-2014
It's a bit late, but whenever you can't get to a system via the network, a better next step is to get to it via the system console. You could have asked the
guys in the data center to do this.

"Nothing comes up on the screen" is too vague.

What kind of machine is this? W

What is attached to the system console of the machine? Are you using KVM? Does this server have a service processor?

Do you get a bios screen at least? Can you go into the setup of the bios at the system console?
# 3  
Old 01-07-2014
Hi,

Here is more info. this is work station on which guava software is running to monitor all the oracle databases running on other servers.

It is a IBM machine and only IBM logo is comming up it seems on the screen and keyboard is not responding to any key strokes as well as mentioned by datacentre guys.

It is running on RHEL 4 and it doesn't have any console access which is bad.

So for the time being i have requested the data centre guys to reboot the machine and see if they can find any errors if so asked them to send a screen shot as we dont have console access to it.

Any ideas how to proceed ahead?

Thanks,
P

Moderator's Comments:
Mod Comment please don't "quote" if you answer directly to the last post!


---------- Post updated at 01:56 PM ---------- Previous update was at 11:01 AM ----------

Hi,

Update after requesting the data center guys to restart the machine they came back saying that boot sequence stops when it starts reading system from HDD.

Currently they are trying to
clone HDD it on another and see what it gives.

Any suggestions how to proceed next?

Thanks,
P


Last edited by DukeNuke2; 01-07-2014 at 07:50 AM..
# 4  
Old 01-08-2014
It looks like the boot disk is faulty.
So trying to clone it is a good idea.
If that is successful, replace the disk by the clone disk.
Furthermore, (if not successful,) an expensive SCSI disk has a possibility to "repair" a sector (remap to a spare sector). The contents of a "repair"ed sector is unknown, that can mean a little data loss/corruption. (That's why everyone says: re-install the OS, then restore from last data backup.)
# 5  
Old 01-09-2014
Hi,

Unfortunately the cloning the hard disk has failed and we dont have the backups of this machine as this is a desktop which is a mistake to have on it without backups.

At the moment i thinking of two ways

1. use rescue mode by booting from installation media and see if we can manually mount the hard disk, if so recover the scripts and application data software that is needed.

2. Connect this hard disk as a secondary hard disk to any other linux server and see we can mount it or not?

Not sure how to proceed on repairing the sector?

Thanks,
P
# 6  
Old 01-09-2014
Yes you can do 1. and 2.: trying to mount, or running fsck on the device first then mount.
2.: use a non-production Linux system for this! If there is HW error (retrying to read sectors) the system will partly or fully freeze for a few seconds or minutes (dependent on the strategy in the kernel drivers).
I have no experience how to handle the repair of sectors on x86 systems!
I did this several times on Sparc systems (format -> analyse -> read test), so the disk became readable again. Such a "repair"ed disk will get more bad sectors, so it is advisable to immediately clone the disk.
# 7  
Old 01-09-2014
Need to see how far these can work.

The guys at the data center doesnt have any linux knowledge and that is really hard to explain them how it should be done.
So waiting for one of the technical guy who comes back to work mostly this weekend which will be more helpful in recovering the data.

Anyway thanks for the suggestions and will keep it posted how it goes.
If any one has any more ideas please contribute.

Thanks,
P
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Only get login prompt and nothing else

When I login as root or any user it prompts for the Login again. never prompts for password.login: root Login incorrect login: Does not matter what user login I try I get the same response (3 Replies)
Discussion started by: KMRWHUNTER
3 Replies

2. HP-UX

Not getting prompt after login

Hi, I'm a normal user in hp-ux box. today i'm unable to get prompt after i successfully logged in into the hp-ux box. what could be the problem? what should should i check? (4 Replies)
Discussion started by: sam_bd
4 Replies

3. Shell Programming and Scripting

Ec2 login prompt script

Hey guys, trying to create a script that will run in the background until a user logs in and then present them with different options to proceed further. It is on an Ubuntu 10.04 Amazon ec2 system. The system runs 24/7 as it is and just needs to feed the prompt to whoever logs in. Is this... (3 Replies)
Discussion started by: 3therk1ll
3 Replies

4. Shell Programming and Scripting

passing login details to htaccess login prompt

Hi, How i can pass the login details to the URL which is password protected with the htaccess using command line or script (perl,or shell,or php). Any help or hint appreciated. Thanks, SJ (4 Replies)
Discussion started by: SilvesterJ
4 Replies

5. Ubuntu

start service when get login prompt

Hi Team, I am using DRBL environment on Ubuntu. When my machine starts some times it's not starting lxdm & nslcd service. Because of that i didn't get graphic mode & also not able to authenticate user as nslcd is also stops. I have to login as root and restart these two services, then i am able... (0 Replies)
Discussion started by: paragnehete
0 Replies

6. Solaris

How to prompt for the new password during the first login

Hi All, I have created a new user. Using the below command I have created the user successfully. useradd -c "Test user" -d /tmp/test -g Testgroup -s /bin/ksh -u 601 Test I don't want to set the password using “passwd” command after creating a user. I want to prompt for the new... (2 Replies)
Discussion started by: kalpeer
2 Replies

7. Linux

delay getting ssh login prompt

Hi, We currently have a problem on a centos server when i try to ssh to it there is a significant delay in getting a login prompt. What would be the steps in troubleshooting this issue? I have try to narrow down a possible network issue but cannot see anything obviously wrong in the routing table,... (4 Replies)
Discussion started by: borderblaster
4 Replies

8. UNIX for Dummies Questions & Answers

Login Prompt - Sol 10

Hello When I login as root - my prompt is # I want to change this and I understand the setting (PS1=) needs to go into a file called .profile, but I don't know where this file is for the root user. The root users home folder is / when I type env. Should I be creating a home folder for the... (4 Replies)
Discussion started by: deedaz
4 Replies

9. UNIX for Dummies Questions & Answers

changing login prompt on redhat

Hi... Can anyone help! I am in dire need to change the "login:" prompt to "username:" any ideas? Thanks in advance :) (6 Replies)
Discussion started by: juilan
6 Replies

10. UNIX for Dummies Questions & Answers

No login prompt

Hi, I am not getting login prompt when connecting to the red hat linux 7.2 server from windows machine and i am unable to login to server, after giving username at login prompt cusor blinks, no respnse. I can able to login to server thro ssh. Pl can i know how to solve this problem. Very badly... (4 Replies)
Discussion started by: bache_gowda
4 Replies
Login or Register to Ask a Question