Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
    
What happens when you run rpm -qa and yum clean all; yum info yum? –  ZaSter May 7 '13 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 '13 at 7:10
    
Odd indeed. Sounds like there was a library package that did not get installed or installed properly. –  ZaSter May 7 '13 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 '13 at 19:04
    
Not really a fix but when limited on time this is what we had to do. –  dgibbs May 10 '13 at 7:42
add comment

1 Answer

up vote 2 down vote accepted

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 stopping dante-server from running.

share|improve this answer
    
+1 Good answer. Thanks. –  ZaSter May 10 '13 at 20:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.