MongoDB is a scalable, high-performance, open source, document-oriented database. Official builds are available for Linux, Windows, OS X and Solaris. Database administration questions are generally better suited to dba.stackexchange.com

learn more… | top users | synonyms (1)

-1
votes
1answer
12 views

MongoDB not found on OS X 10.10.4

I installed mongoDB on my Mac running OS X 10.10.4. When I did which mongo I got: mongo not found I tried to install mongodb again but I got this: Warning: mongodb-3.0.5 already installed, it's ...
0
votes
1answer
31 views

Starting mongoDB without a visible CMD [duplicate]

I have a batch file that looks like this: del db.log start /b mongod --dbpath %~dp0 --logpath db.log It should delete the existing log file, and then start mongodb without creating a new cmd, ...
0
votes
1answer
26 views

npm install mongodb error

I get the following error when I try to install the nodejs mongodb driver: (precise)me@localhost:~$ sudo npm install mongodb npm http GET https://registry.npmjs.org/mongodb npm ERR! Error: failed to ...
1
vote
1answer
148 views

mongod start failed (monogdb 3.0.2, database storageEngine-wiredTiger)

I was using mongodb for a month yesterday morning after unusual shutdown my mongodb is failing to start. Here I am using wiredTiger Storage Engine, I think the wiredTiger.wt file got corrupted but I ...
0
votes
1answer
72 views

how to install mongodb on gentoo?

Im trying to install mongodb but as soon as i do emerge dev-db/mongodb i get [ebuild N ] dev-libs/snowball-stemmer-0.20140325::gentoo USE="- static-libs" 127 KiB [ebuild N ] ...
0
votes
0answers
63 views

Having trouble gettng Mongo Express to work

I've installed the node_module using: npm install mongo-express I added "mongo-express" to my package.json dependencies (though I don't think this is necessary) I've changed the configuration file ...
1
vote
1answer
70 views

When connecting a MongoDB client to a MongoDB server, I get: 'Couldn't connect to server'

I am just learning MongoDB, and I tried to connect one of my machines (the client) to the server (which is a Toshiba L875D). The server is running Windows 8.1 and the client Windows 7. Here is a ...
0
votes
1answer
94 views

MongoDB manually preparing for upstart but not running

I am on Ubuntu 14.04.1 LTS. $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04 Codename: trusty Instead of using the system ...
1
vote
1answer
496 views

Can't start mongodb by launchctl on OS X Yosemite (10.10.2)

I've installed mongodb 2.4 via homebrew: brew install homebrew/versions/mongodb24 Then I've made a simlink to the config provided by homebrew: ln -sfv ...
-3
votes
1answer
37 views

i have three laptops with HD:500gb ,ram:4gb,OS:windows7 is it possible to form a cluster? If notwhy and How can I able to make use of cluster? [closed]

with HD:500gb , ram:4gb , OS:windows7 is it possible to form a cluster? If not why(i need more laptop or something) and How can I able to make use of cluster?
0
votes
1answer
36 views

Testing MongoDB vulnerability on Azure

I have read these news about MongoDB vulnerabilities. http://securityaffairs.co/wordpress/33487/hacking/40000-vulnerable-mongodbonline.html I am using mongo from Azure in a product where privacy is ...
0
votes
1answer
293 views

Trying to reinstall MongoDB. First it says package is not installed, then it says already installed?

I have a problem with a service, it fails to start. I am trying to troubleshoot it by re-installing it. When I try to start or stop the service I see the following: When I try uninstalling ...
0
votes
1answer
267 views

Mongodb not shutting down via --shutdown command

i need help with a problem on shutting mongod down gracefully. I'm running mongodb on docker . i run mongod like with the command : mongod --config /etc/mongod.conf and when i close with : ...
0
votes
1answer
7 views

MobgoDB - Get a list of records from a collection sorted by count and uniqueness of a field

So I have a bunch of documents in a MongoDB collection and it seems that the collection is growing a little faster than we thought. Is there a way to get a list from a collection that will count the ...
4
votes
1answer
135 views

Server Separation to avoid attacks?

I currently have 1 server with a full LAMP stack on it as well as Mongo DB. Is there any benefit to spliting up these services onto different servers in regards to redundancies? For example: Server ...
0
votes
0answers
153 views

Tokumx-mongo three server shard with one primary and two secondary . But one shard down how to repair?

** I have setup 3 servers with tokumx-mongo . All three server's ps -ef output :- root 18128 1 9 Aug13 ? 5-13:15:19 /usr/local/tokumx/bin//mongod -f /etc///mongodb.27018.conf ...
0
votes
0answers
167 views

Install old version php on Centos

I have troubles with php + mongodb After redeploying project, php throw 500 because "Can't canonicalize query: BadValue $in needs an array" (https://jira.mongodb.org/browse/PHP-1051) I install same ...
1
vote
1answer
422 views

alias not working with my mongo --eval command

I have the following mongo shell command to delete all users that aren't admins mongo --eval 'db.users.remove({group:{$ne:"admin"}})' collection This works. I want to create an alias for this ...
1
vote
1answer
2k views

PHP: Mongo client not found

I've installed XAMPP on my MacBook. PHP and MySQL are working fine, so I followed it up with mongo. I did the following: brew install mongo (success) brew install autoconf (success) sudo ...
0
votes
1answer
57 views

Sign in with Mongo shell without having password shown?

How can I sign into the Mongo shell without showing my password? Everything says to either use mongo -u user -p password -authenticationDatabase admin or mongo > use admin; > db.auth('user', ...
0
votes
1answer
1k views

brew/mongodb doesn't stop when I close terminal

I installed mongodb with brew and I didn't load the launchctl plist. When I run the mongod command to start the server in foreground and suddenly close my iTerm the mongodb process stays up and I ...
-1
votes
1answer
174 views

CentOS - Upgrading MongoDB to 2.6.1 with no internet

I'm trying to install MongoDB 2.6.1 on my CentOS machine that has no access to the internet. I've downloaded the rpm files from the repo, and when I try installing, I keep getting the ...
2
votes
1answer
68 views

Linux multi-tasking

I'm working on deploying a node project to a Linux box on amazon EC2. The project uses mongoDB. I'm trying to run node and mongoDB simultaneously on the box but I'm unfamiliar with linux. Is it ...
0
votes
1answer
686 views

how to query across collections in rockmongo [closed]

If I have a collection of users and a collection of properties which has a user_id in each properties document; how do I get a list of users' and the zip codes (zip` is a field in the 'properties" ...
0
votes
0answers
303 views

how to create ssh connection with remote mongodb server using mongohub and a private key

i'm using trying to use mongohub to access data on a remote mongodb server. right now I can ssh on to the server using the following command: ssh -i mykey.pem ubuntu@xx.xxx.x.xxx The userid is ...
2
votes
1answer
889 views

Cannot access Mongodb from internet

I am using Mongodb database ,which is installed with the ip address 126.22.252.25. The Ubuntu version info is 12.04.3 LTS. My Mongodb uses the default 27017 port. On this local machine I can use ...
3
votes
1answer
1k views

Why journaling use so much space in mongodb?

I have a mongodb database that uses approximately 1GB of space. I was surprised when my server ran out of space, and then I realized that the journal uses 3GB. The documentation says that "Once ...
6
votes
4answers
13k views

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 command returns error

I'm trying to install Mongodb on Ubuntu 12 but when I run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 This returned the error below: keyserver.ubuntu.com host ...
3
votes
1answer
1k views

Installing MongoDB on Debian conflict

When installing MongoDB I encountered conflict. How do I tell which package it conflict with? I tried both aptitude and apt-get, and I tried the 10gen version as well. But I’ve no idea what it is in ...
1
vote
0answers
2k views

How do I uninstall MongoDB on MacOSX?

My installation is not from MacPorts or Homebrew. I did it from the 10gen build as specified in http://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/
1
vote
0answers
379 views

MongoDB PHP driver installation issue in Red Hat Linux

My server OS is Red Hat Linux. I installed MongoDB 2.2.3 successfully on my server, following this tutorial. I also tried following these instructions for installing the PHP driver for MongoDB, but ...
0
votes
1answer
949 views

mongoexport csv output array values

I'm using mongoexport to export some collections into CSV files, however when I try to target fields which are members of an array I cannot get it to export correctly. command I'm using: ...
3
votes
1answer
810 views

Bash script help | mongoDB

I am writing a bash script which uses mongoimport utility to add data to the database. The following command runs successfully: $ mongoimport -h localhost:27017 -d test -c ecg --fieldFile ...
0
votes
2answers
79 views

please explain these mongo statistics

My setup: I have 2 hosts, and 2 shards each. Host1 has 2 shards, and is the master of the replicas host2 has the secondaries of the 2 shards. . host1: shard1 (repset1),shard2 (repset2) host2: ...
1
vote
1answer
363 views

MongoDB Command Line Tool

Is it possible to enter arbitrary command in MongoVUE and get result? If there is not such feature do you know any other windows app that can be used as mongo front-end console?