I'm running Ubuntu Server 12.04 (32 bit) on an old (1998) computer.
I installed MongoDB in an Ubuntu Server VM inside VMware using these instructions: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/. Everything works fine, and I can access MongoDB at the regular port 27017
./mongo 172.16.150.131:27017
Now, I want to make a dummy replica set and another db instance for testing my app.
I need to uninstall mongodb completely from my system(Ububtu 11.10) and intall new version of mongodb 2.0.5
mongo db
MongoDB shell version: 2.0.1
connecting to: db
Wed Jun 6 13:05:03 Error: couldn't connect to server 127.0.0.1 shell/mongo.js:84
exception: connect failed
I have a MongoDB instance running in a VMWare VM with Ubuntu Server 12.04.
I'm new to linux and mongodb so this is probably a newbe question...
I can start mongo like this (alt #1)
$ mongod --dbpath /mnt/datadrive/data --logpath /mnt/datadrive/data/mongod.log
But when I start is "service-wise" (alt #2)
$ sudo service mongod start
I get:
Starting mongod: can't open /mnt/datadrive/data/mongod.log
for log file: errno:13 Permission denied
(i've set the dbpath and l
I am trying to install mongodb on Windows 8.
I am using following command to install Mongodb.
C:\mongodb\bin\mongod.exe --auth --config C:\mongodb\mongod.cfg --install
And getting this error:
Wed Mar 13 19:13:23 Trying to install Windows service 'MongoDB'
Wed Mar 13 19:13:23 Error connecting to the Service Control Manager: Access is denied.
I have mongo installed on the server and running, I can query the command line. PHP and Apache are running fine as well. The problem, however, is that mongo.so isn't in the php lib directory, and I can't find mongo.so to move it there. sudo find / -name mongo.so doesn't yield any results. I also can't really find anywhere to download it.
How should I proceed?
I have a MongoDB 2.0.4 installation on Ubuntu 12.10. Recently I had some problems connecting to the database from the outside, and figured out there was something which prevented MongoDB from starting correctly. As suggested on several sources (see StackOverflow) I removed /var/lib/mongodb/mongodb.lock and ran mongod --repair.
I have problem, i cant figure out, how to fix..
So i am on MacOSX machine, running php 5.3.15 version, using mongo 1.3.1 version.
When i try to execute php script, in which i try to connect to remote mongodb server, I get segmentation fault(11)..
I installed php driver with
sudo pecl install mongo
I have seen, that this problem is quite popular, but havent found real solution yet..
I dont know