Closed bgreenlee closed 12 years ago
Can you please check if there is something in /usr/local/mongodb?
There is:
$ ls -lR /usr/local/mongodb/
/usr/local/mongodb/:
total 8
drwxr-xr-x 2 root root 4096 2011-12-05 14:47 bin
drwxr-xr-x 2 root root 4096 2011-12-05 14:47 data
-rw-r--r-- 1 root root 0 2011-12-05 14:47 mongodb.log
/usr/local/mongodb/bin:
total 8336
-rwxr-xr-x 1 root root 8532916 2011-12-05 14:47 mongod
/usr/local/mongodb/data:
total 0
If I try to execute mongod
, though, I get:
$ sudo /usr/local/mongodb/bin/mongod
sudo: unable to execute /usr/local/mongodb/bin/mongod: No such file or directory
That is a really strange problem. Can you check if mongo is running in the background
ps aux | grep mongo
No, not running. Also:
$ sudo /etc/init.d/mongodb start
Starting MongoDB: start-stop-daemon: Unable to start /usr/local/mongodb/bin/mongod: No such file or directory (No such file or directory)
mongodb.
If there is a problem with mongod this shouldn't be running as well. Is it possible for you to download mongo from http://www.mongodb.org/downloads and replace mongod . I am trying to find the culprit right now.
Looks like the issue is that the installer doesn't check the architecture before downloading mongo. I'm running a 64-bit kernel. When I downloaded the 64-bit version of mongodb, it worked.
Also, note that your script downloads 2.0.0, while the latest production release is 2.0.1 (released 2011-10-22).
Thank you so much for that. I am going to add 64 bit checker, first thing tomorrow morning
The installer didn't work for me on my Ubuntu 10.04 VM. In particular, there seems to be a problem with the mongodb install. Below is the log of my install.