Link to home
Start Free TrialLog in
Avatar of Chris Kenward
Chris KenwardFlag for United Kingdom of Great Britain and Northern Ireland

asked on

CentOS 5.3 - can't boot - HELP!

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
Avatar of ealcaniz
ealcaniz
Flag of Ireland image

why don't initialize with init 3, text enviorement and try to install the packet with rpm -i ....
Avatar of Chris Kenward

ASKER

I'm no guru and I don't understand the "Init 3". How would I go about doing that then?
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,



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
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 ]
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
ommm yes, you are right ... openssl is required by tooo many software include Gnome ....

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
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
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
SOLUTION
Avatar of fosiul01
fosiul01
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
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
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
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi i am really sorry , i had an interview  today so didnot able to check any email

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