MongoDB is a document oriented database (also known as NoSQL database).

learn more… | top users | synonyms (1)

0
votes
1answer
9 views

chef common recipe multiple roles

i have created a mongodb chef recipe, and i am overriding the default attributes on the recipe from the role. name 'mongo_datanode_jackey' description 'this module is currently under testing...' ...
1
vote
1answer
32 views

Cannot connect to mongodb instance on Azure

I have setup a mongodb server on Azure (on Ubuntu 15.04). The instance works and I can connect to mongodb when ssh'd into the machine by simply using 'mongo'. However, when I try to connect from my ...
0
votes
0answers
10 views

Taring mongodump database produce different checksum

(I am french so sorry for bad english) I am trying to backup my mongo database and check for changes with a sha1 checksum. The problem is that the checksum is not the same. $ mongodump --quiet --db ...
0
votes
1answer
100 views
+50

Unusually large number of httpd processes and high CPU load on MongoDB replica set members

I am investigating a strange behavior on 3 CentOS machines serving as a MongoDB replica set, whereas one of them is also hosting a PHP web app utilizing the MongoDB replica set. The basic setup is as ...
-2
votes
0answers
33 views

Where is the expected /etc/init.d/mongod in mongo DB 3.2.1? [on hold]

I have installed mongodb according to this https://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ service mongod stop/start/status It works fine but I can't figure where is the init ...
0
votes
0answers
9 views

mongodump on mongos : Shard not found for server

Trying to mongodump a mongodb 3.2.1 cluster with : - 3 mongos on port 28018 + keyfile internal auth (one shard on rs0) - 3 mongod_config servers on port 28019 using keyfile internal auth + auth - 3 ...
0
votes
1answer
17 views

php:5-apache docker image no /etc/php/apache2/php.ini

I just pulled docker image php:5-apache and it runs well and all but there is no /etc/php5/apache2/php.ini file so I can't add extension=mongodb.so even if it is installed with PECL.
0
votes
0answers
11 views

AWS MongoDB 3.0.6 replicaset - Primary server becomes unresponsive to connections and read timeouts

We have an existing MongoDB replicaset deployment in which all the servers are running on version 3.0.6 on AWS Linux machines within a private VPC. This mongodb version has been deployed since ...
0
votes
0answers
26 views

Mistakenly upgraded MongoDB 2.6 straight to 3.2

I upgraded a dev box form mongo 2.6 to 3.2. I had every intention of upgrading to 3.0 and then 3.2 as per the docs, but thanks to a glorious bit of lack of attention ended up just upgrading straight ...
0
votes
1answer
34 views

Is there a way to send a mongodump over sftp without using diskspace?

Problem We have a mongo database (on ubuntu server) we need to migrate. However the old server has not enough disk space to store mongodump. Can we send it to another computer skipping local storage? ...
0
votes
2answers
26 views

Mongodb log rotation creates an extra empty log file each time it runs

I configured a new mongodb arbiter recently, and used this to test some new mongo config, using the mongo 3 config syntax, at the same time I tested log rotation on the server. This worked nicely: $ ...
0
votes
1answer
9 views

Simple MongoDB EBS Backup Scheme

Can I get by with standard EBS snapshots to back up my small MongoDB replica set? I have a 3-member MongoDB replica set (~2GiB of data across several databases). I don't anticipate it to grow ...
0
votes
0answers
22 views

Upgrading mongoDB shard to 3.2

mongoDB's Upgrade Recommendations for upgrading a sharded cluster from 3.0 to 3.2 only describe to scenario of upgrading the shard members one at a time, which I can understand is what most people ...
0
votes
0answers
28 views

What are the proper Readahead values for a RAID 10 array over 4 EBS PIOPS volumes?

tl;dr - What are the proper readahead values for the different EBS PIOPS volumes in a RAID 10 array ? What about the RAID 10 physical and logical volumes themselves ? What about the chunk size of the ...
1
vote
0answers
21 views

How do I know that I am connected to a config server [migrated]

I need a simple check for identifying that I am connected to a MongoDB config server. I can check the process to differentiate between mongod and mongos: > db.serverStatus().process; mongod Now ...
0
votes
1answer
45 views

MongoDB 3.2 mongod.conf master/slave replication cant be configured via mongod.conf

I need to setup master/slave replication for mongodb 3.2 server. Servers are Centos 6.7 and mongodb is latest 3.2 from offical RPMS. My /etc/mongod.conf is pretty much with default options from the ...
-1
votes
2answers
57 views

Can't connect to any remote mongoDb

I'm running ubuntu 14.04 and am unable to connect to any remote mongodb server on my home network. I'm pretty sure it worked only a month ago. Furthermore, I have no problems connecting from my work ...
2
votes
1answer
81 views

Mongodb install fails in Ubuntu 14.04 docker container

I am trying to install mongodb on ubuntu 14.04 in a docker container, using the following steps from the official mongodb guides in my Dockerfile: RUN sudo apt-key adv --keyserver ...
1
vote
2answers
42 views

Stop mongos process

May be a dumb question, In a sharded database configuration, I launched my mongos with the following command : mongos --configdb config1:27019,config2:27019,config3:27019 I now need to stop mongo ...
0
votes
1answer
29 views

mongodb sharding - launch mongos with mongos.conf

We are currently setting up a sharded cluster with MongoDB, config servers have been set up using a configuration file : mongod.conf pointing out alternative paths for data and logs folders : ...
0
votes
2answers
21 views

mongo replica set unable to import the example restaurant json

I'm new to mongo and I have just set up a replicaset localy on my laptop. I'm trying to import the demo database of restaurants from here : ...
0
votes
0answers
143 views

MongoDB 3.2 on Windows 8.1, I can not start the service

I am running mongoDB 3.2 the OS is Windows 8.1. I can not seem to start the net service for MongoDB I started Mongod OK and it is listening I started Mongo as well MongoDB shell version: 3.2.0 ...
0
votes
1answer
28 views

Downloading MongoDB dump file from EC2

I created a dump file using mongodump command in my EC2. Then I tried to download it to my local computer for backing up purpose using a similar command shown bellow as described here. (at the very ...
0
votes
1answer
55 views

MongoDB 80,000+ insertions per second

To test my MongoDB 3.2 / WiredTiger on CentOS6, I use the script from http://vladmihalcea.com/2013/12/01/mongodb-facts-80000-insertssecond-on-commodity-hardware/. Here I list the script (a little ...
1
vote
1answer
2k views

mongo db installation showing storage engine error

I just installed monodb(version 3.2) at my windows machine. I created /data/db directory also. when i give the command "mongod" to start it, it shows the following error exception in initAndListen: ...
0
votes
1answer
32 views

Can't remove mongod.lock

all. I want to remove mongod.lock. When I try sudo rm -rf mongod.lock I got this rm: cannot remove ‘mongod.lock’: Read-only file system Can anyone tell me how to force remove it? Thanks, Ami
0
votes
1answer
19 views

Choosing the right storage when hosting MongoDB on EC2

I'm setting up a MongoDB cluster on Amazon EC2 instances and the documentation says... ...for best performance we recommend separate volumes for data files, the journal, and the log. Each has ...
0
votes
1answer
17 views

MongoDB replica set: Why the last remaining server becomes secondary?

I am experimenting with MongoDB replica sets to test the high availability scenarios. I have set up a 3 server replica set. When I stop the primary server, one of the remaining 2 servers becomes ...
0
votes
1answer
48 views

Edit edit /etc/mongo.conf and uncomment “auth=true”

I am trying to disable the auth, and many places tell em to nano /etc/mongo.conf and uncomment "auth=true" Yet there is no config file there. I have tried also edit /etc/mongod.conf and ...
0
votes
1answer
16 views

Connect to mongodb through ssh

I'm not sure if it's related to this one, but I have a similar problem. The problem is unless I have port 27017 opened, Robomongo fails to connect even with "ssh tunnel" option. Port, address and ...
1
vote
1answer
55 views

AWS, NodeJS - Connecting app to Mongodb on another EC2 instance

I am trying to connect my app, running on one EC2 instance, to MongoDB, running on another EC2 instance. I'm pretty sure the problem is in the security settings, but I'm not quite sure how to handle ...
2
votes
0answers
55 views

MongoDB replication failure

I am trying to debug an odd issue that results in the failure or a replica set secondary becoming out of date and unable to catchup with the primary (running on AWS, AWS linux). The typical ...
0
votes
0answers
114 views

Failed to authenticate with mechanism MONGODB-CR AuthenticationFailed MONGODB-CR credentials missing in the user document

When i have to connect remote database in Mongodb getting error on log using robomongo database. tail -f /var/log/mongodb/mongodb.log 2015-10-03T00:29:51.275-0500 I ACCESS [conn25] Failed to ...
1
vote
1answer
487 views

Enabling WiredTiger engine in MongoDB 3

I've problem with enabling WiredTiger engine by setings in mongod.conf I'm using Centos 7, and this is my config #/etc/mongod.conf storage: wiredTiger: engineConfig: ...
0
votes
1answer
43 views

What happens to read/write operations during automatic client failover in MongoDB Replication

We have setup a 3 node replication set configuration for MongoDB. I want to know what happens to read/write operations during primary switchover. To be more explicit, few read/write operations were ...
2
votes
1answer
63 views

Gearman writing “Too many open files” into the log. Disk space issues

We're running a service that makes screenshots of URL supplied and posts it to our S3 bucket. Similar to manet, but our custom coded nodejs app. We don't store the screenshots on our local hard drive. ...
0
votes
0answers
34 views

Nginx/Passenger (with Rails, Capistrano and MongoDB replica set)

I've encountered a problem with a Ruby on Rails application that runs under Nginx/Passenger and connects to MongoDB replica set. Everything worked fine until suddenly the application stopped ...
0
votes
1answer
47 views

Cannot access ports behind VPC on AWS

I am running two servers on a VPC in AWS. One is an ubuntu server running mongodb on port 27017 and the only public port is 22. On a separate CoreOS server I have several containers that are ...
0
votes
0answers
83 views

Kill Meteor On Ubuntu

I will try to post calmly but really I want to throw my computer out the window. I have resized my digital ocean droplet, and all of a sudden there is a second instance of meteor running, with a ...
0
votes
0answers
9 views

Mongo geoquey on nested element

I have an entity type with an array of elements like this: { id:..., locations:[ { type: "home", location : [ 30.09 , 4.0 ] }, { type: "office", location : ...
1
vote
1answer
169 views

Trying to downgrade MongoDB on CentOS

I'm running CentOS 6.7 on a Hyper-V, which means that I can't do an in-place upgrade to 7.0. Today I did a server restart, and some time between the last time I did a restart and today my ...
0
votes
1answer
128 views

What is the minimum amount of servers for a production mongoDB cluster?

On the mongoDB documentation for a production cluster architecture I read that the minimum amount of servers for a running production mongoDB cluster is 7: Is it possible to share the routers, ...
1
vote
2answers
63 views

MongoDB automatic failover between 2 data centers

If I deploy a MongoDb replica set across only 2 data centers, if one entire data center fails, can there be automatic failover to the other data center? Consider the situation where 1 data center has ...
0
votes
1answer
44 views

How to make mongodb database size bigger?

I have been uploading photos with reports to mongodb. I reached the database size limit. How do I increase the size of the database? db.stats() { "db" : "fieldops", "collections" : 6, ...
0
votes
0answers
27 views

Error reparing mongo db

I have one mongo 3.0.2 database on Ubuntu 14.04.3 LTS. Size of data directory - 3.5 TB. Database worked during several days with failed RAM hardware. Now RAM is replaced with good one, but database ...
0
votes
1answer
25 views

How to *securely* install MongoDB from its official repository?

The official MongoDB guide suggests that I add a .repo with gpgcheck=0 over HTTP protocol. I'm getting the feeling that this is a very insecure setup - I am worried about exposing myself to MiTM ...
0
votes
1answer
37 views

Unable to unstall mongodb, Debian 6.0

When I run sudo apt-get purge mongodb-org*, I get this: me@myserver:/var/lib$ sudo apt-get purge mongodb-org* Reading package lists... Done Building dependency tree Reading state information... Done ...
2
votes
1answer
143 views

Monitoring MongoDB 3 using StackDriver in GCE

Has anyone successfully managed to monitor a MongoDB 3 cluster (or standalone db) with StackDriver in GCE ? I've setup a MongoDB 3.0.6 cluster in GCE (replica set with 2 replica and 1 arbiter) I'm ...
0
votes
1answer
179 views

MongoDB on CentOS 6.6 - Cannot create admin

I have a fresh install of CentOS 6.6 and installed MongoDB 3.0.6 as per the instructions here. https://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat/ I am unable to create the admin ...
1
vote
1answer
44 views

MongoDB on RHEL vs. Ubuntu [closed]

I'm looking to install MongoDB on an Amazon EC2 instance, to me AMI doesn't matter much... but maybe it should. While searching online for how-to's, I've only found thorough guides for installing ...