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 installing MongoDB (1.4.1) on Ubuntu (8.04 LTS) and I continuously have a problem where I can be in /usr/local/mongodb/bin and run ./mongo or ./mongod and I am returned "No such file or directory."

Let me be very clear here... the files ARE there!

The obvious go-to solution is that it is because of permission issues but the permissions are fine. I've even tried others out, still without any luck.

I'm really at the end here and any help would be MUCH appreciated.

Thank you!

share|improve this question

2 Answers 2

Just going out on a limb here, if you're running the 64bit version of Ubuntu, and the installers need the 32bit libraries, you'll run into this issue. Try running ldd against the files you're trying to run and see if any of the libraries are missing.

share|improve this answer
    
Didn't realize you posted this answer. I posted my answer below. Works great now! –  Tom Apr 27 '10 at 18:59
    
The first time this happened to me was with vendor software which only came in one version, they didn't specify 32bit libraries in their docs as a requirement, and I forgot that Ubuntu only installs 64bit libs by default on a 64bit machine. I was Sooooooo pissed the day I figured this one out. Never again I said... –  Ali Chehab Apr 27 '10 at 19:34

Ready for a good laugh...

I accidentally downloaded the 32-bit version and installed it on 64-bit hardware.

The 64-bit version works like a charm.

Thanks anyway!

share|improve this answer

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.