0

I am experiencing an odd problem in CentOS 6.

when I try to use yum or rpm nothing happens.

For example if I type

yum update

it simply returns to the command prompt.

I have checked that yum and rpm exists in /usr/bin and it is present and the permissions are correct. I have even copied the yum binary file from another server and still it does not work.

Does anyone have any ideas on what to try to resolve this?

Thank you

6
  • What happens when you run rpm -qa and yum clean all; yum info yum?
    – ZaSter
    May 7, 2013 at 0:22
  • Nothing at all. Its like the command does not exist...but it does. Very odd. We have had to rebuild the server to resolve the issue.
    – dgibbs
    May 7, 2013 at 7:10
  • Odd indeed. Sounds like there was a library package that did not get installed or installed properly.
    – ZaSter
    May 7, 2013 at 20:17
  • You probably should post the system rebuild as the answer to this question and then accept your own answer.
    – ZaSter
    May 9, 2013 at 19:04
  • 1
    I know this is old but I had the same issue. For me my memory usage was too high, I didn't have any free memory. So for others that stumble across this problem, mem usage could be the root of the problem.
    – MBarton
    Sep 8, 2016 at 18:47

1 Answer 1

2

Final solution was to completely re-install the operating system. Not an ideal fix but we could not see another way around it.

edit: Turns out my colleague installed dante-server on the server. The rpm from epel is broken and causes major issues on CentOS servers currently. To resolve the issue stop dante-server from running.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .