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
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