Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

While trying to install mongo db on my centos 5

-bash: ./mongod: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory

after command uname -a I am getting this

Linux vps.server.com 2.6.32 #1 SMP Thu Sep 22 13:24:07 MSD 2011 i686 i686 i386 GNU/Linux
share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

You are attempting to run a x86_64 (64bit) program on a x86 (32bit) machine.

Go get mongo db install for 32bit, and that'll fix it.

share|improve this answer
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.