?
Solved

CentOS 5.3 - can't boot - HELP!

Posted on 2009-04-22
18
Medium Priority
?
1,037 Views
Last Modified: 2013-12-15
I've just done the most stupid thing... I've followed someone's documentation to the letter without any thought as I went, as to whether it would screw up my own installation. The document called for the removal of openssl, saying that it was OK to do that because I could install it again later.... BANG! I can no longer boot the OS.

I'm running GNOME and even if I go into (I)nteractive, I can't seem to stop GNOME from starting, so when it goes blank (obviously needed openssl !!) that's it - I'm sat there looking at a blank screen, even if there is a login screen underneath.

Am I totally stuffed, or is there a way not to have to reinstall the server from scratch?

Cheers
Chris
0
Comment
Question by:kenwardc
  • 10
  • 7
18 Comments
 
LVL 3

Expert Comment

by:ealcaniz
ID: 24202983
why don't initialize with init 3, text enviorement and try to install the packet with rpm -i ....
0
 

Author Comment

by:kenwardc
ID: 24203153
I'm no guru and I don't understand the "Init 3". How would I go about doing that then?
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 24203252
i have doubt that openssl is related to Gui desktop (GNOME)

when system will boot up totolay, ( you used to Gui Desktop where you used to type user naem and password,but now you seeing black screen) when you wil see black screen ..


press alt+ctl+f1 to go to console mood

or you can use putty to login to the server via ssh

or
boot the server with linux rescue disk

so it will take you to system maintanece label,
from their you need to change to boot the server to runlevel 3 by editing
/etc/innitab file
currently its setup
id:5:initdefault:
change it to
id:3:initdefault:

then reboot

but try with alt+ctl+f1,



0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

Author Comment

by:kenwardc
ID: 24203756
Hi there fosiul01

OK - I've managed to login using runlevel 3 but now if I do rpm -i openssl there appears to be no package to install. If one does a rpm -e does that completely delete the package from the disk as well as uninstall it? If it does, how do I use the command line interface to bring openssl.rpm back to the machine. So far so good! Thanks for your help.

Cheers
Chris
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 24203792
what about
yum install openssl ??

or download the openssl rpm by yourself, and then install it ..

you sure its openssl is giving trouble ??? [ let see ]
0
 

Author Comment

by:kenwardc
ID: 24203844
Hi fosiul01
Because there is no openssl on the system, yum will not run anymore. I'm looking for the .rpm file for openssl so I can install it but at this point I cannot find an rpm. Will keep looking!

Cheers
Chris
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 24203913
ommm yes, you are right ... openssl is required by tooo many software include Gnome ....

0
 

Author Comment

by:kenwardc
ID: 24204537
How do I download the .rpm file using the command line interface. WGET also doesn't work because it also needs openssl to run, so just gives me an error.

Also, to let you know - this is a VMWare installation. I've tried to put in the CD and get the Virtual Machine to boot from it but it always goes straight to the OS and boots CentOS. I have the CD set to "client" because the internal CD on the 2950 server won't be seen by the VMware application as a valid boot device.

Soo.. somehow I need to use the failed OS to grab and install openssl. Any help with this specific aspect gratefully received at this point.

Cheers
Chris
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 24205003
easy way would be

download the rpm in xp pc,
download wincp

let the server boot,

then from wincp connect to the server, you will see all the filesystem, upload the rpm in the server

then go to the server and install
0
 

Author Comment

by:kenwardc
ID: 24212379
Aaah - not so easy - I don't have vsftpd running on the server and I have no idea how to install or start it from the command line. Can you help with this?

Cheers
Chris
0
 
LVL 29

Assisted Solution

by:fosiul01
fosiul01 earned 2000 total points
ID: 24212796
Good morning,
you dont need Vstfpd,
just download wincp. and connect with the server.
wincp does not need any ftp server
0
 

Author Comment

by:kenwardc
ID: 24212984
Aha! OK will try that. I downloaded it but it looked like an FTP client. Apologies - still learning about Unix operating systems! Will let you know how it goes.

Many thanks
Chris
0
 

Author Comment

by:kenwardc
ID: 24213607
More trouble I'm afraid. The WinCP client will not connect to the server, even though the server and the XP machine are connected in the same network and there is no firewall. I simply get "connection refused" from WinCP.

I think though that you are absolutely right. All I need to do is reinstall openssl and all will be fine. I'm about to try doing a "linux rescue" from booting from the install media to see if that allows me to skip through the install process and reinstall the openssl package. If not, I guess I'm going to have to reinstall the entire operating system.

I'll come back and let you know how I get on.

Cheers
Chris
0
 

Author Comment

by:kenwardc
ID: 24213618
Oh! Just out of interest and to update you on the install from media. I managed to find that, if I select "Options" from within VMware and add a delay of 10 seconds to the boot time, then tell the VM to boot from the local client CD-ROM, it works fine.

Cheers
Chris
0
 

Accepted Solution

by:
kenwardc earned 0 total points
ID: 24215787
Hi fosiul01

OK - I've resinalled the OS so I'm going to assume all will be good as it's a completely new install. Thank you very much for your efforts to help me. Although I didn't manage to get the WinCP etc. to work for me, I know that, if I'd been able to reinstall the openssl package, all would have been good, so am awarding you the points.

Thanks again for your help.
Chris
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 24218766
Hi i am really sorry , i had an interview  today so didnot able to check any email

0
 

Author Comment

by:kenwardc
ID: 24220332
No worries mate - I had to get it done so decided to blow it away and reinstall the OS from scratch. In a way it was a shame because it would have been a great learning experience for me but you have helped a huge amount anyway. Thanks so much for coming to the rescue. Look forward to calling on your expertise again some time.

All the best
Chris
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month14 days, 18 hours left to enroll

839 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