On Wed, Dec 23, 2009 at 12:31:53PM +0000, hadi motamedi wrote:
Please find below : [root@mss-1 tmp]# rpm -q centos-release centos-release-5-2.el5.centos
And you conveniently left out the kernel revision that would be returned by the second part of the command I gave you, namely "uname -a".
It sounds very much like a broken server, either a crippled OpenVZ or similar VPS or a server broken by someone that didn't know what they were doing and went to some trouble to remove the yum subsystem. Akemi pointed you to http://wiki.centos.org/TipsAndTricks/BrokenVserver and it is worth your time to read it and see if you can unbreak that box.
John