Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
Guess I'm stating the obvious to say - that was a really
Bad Idea [TM].
No way to know how far things got in the process, but the compressed man pages are normal. I'd boot the system from installation media in rescue mode, or from a CentOS 5.7 LiveCD and attempt to decompress files in /etc and /boot except those that
should be compressed, such as the following:
# find /etc /boot -name \*.gz
/etc/alternatives/pack200.1.gz
/etc/alternatives/unpack200.1.gz
/etc/alternatives/java.1.gz
/etc/alternatives/keytool.1.gz
/etc/alternatives/tnameserv.1.gz
/etc/alternatives/orbd.1.gz
/etc/alternatives/servertool.1.gz
/etc/alternatives/rmiregistry.1.gz
/etc/alternatives/rmid.1.gz
/boot/grub/splash.xpm.gz
/boot/symvers-2.6.18-274.el5.gz
/boot/symvers-2.6.18-274.17.1.el5.gz
Then proceed to other directories such as /bin /lib /usr /var ...
Depending on how far the process got, and what you run into trying to recover, you may just want to back up everything over the network or to removable media, do a fresh install, then recover what you need.
In any case, after re-installation or recovery you should be at the current/supported release 5.7. Obsolete releases are not supported, nor is it advisable to be running them.
This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=37&topic_id=35271&post_id=152117