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

learn more… | top users | synonyms (1)

0
votes
0answers
179 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
133 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 ...
2
votes
1answer
5k 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
60 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
22 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
27 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
88 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
21 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
124 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
65 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
204 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 ...
2
votes
1answer
1k 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
72 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
76 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
40 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
79 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
130 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
10 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
242 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
350 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
104 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
78 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
34 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
26 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
55 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
269 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
292 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
56 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 ...
0
votes
2answers
75 views

What type of Azure configuration should I use for a MongoDB deployment?

I keep running into a lot of different competing information on what type of VM and where the data should be stored for a MongoDB deployment in Azure. When reading over the D series VMs it ...
1
vote
0answers
99 views

Mongodb failing to start using init script with dbpath on mounted drive

I've been trying to set up a mongodb instance (2.6.11) on my CentOS 6.3 to use a data location on a different drive because of space constraints on the default location of /var/lib/mongo I've changed ...
0
votes
2answers
119 views

how to change the startup order of init scripts in SUSE 11

I want to start service in the following order mysql mongodb after reboot I have changed the services mysql init scripts to lrwxrwxrwx 1 root root 8 Sep 8 11:05 S30mysql -> ../mysql lrwxrwxrwx ...
0
votes
1answer
924 views

No package mongodb-org available

I am attempting to install MongoDB on CentOS 6.5. I believe I am following the instructions precisely step-by-step, but continue to get the error No package mongodb-org available after issuing the ...
3
votes
1answer
210 views

Upgrading MongoDB 2.x replica set to 3.x

I have a MongoDB replica set consisting of two database nodes and one arbiter. I want to upgrade the replica set by launching new, larger instances (Google compute engine), installing MongoDB 3, then ...
0
votes
1answer
112 views

How to allocate more resources to Node.JS process?

I'm not a (very good) back-end developer so understanding processes and memory are a little about my pay grade. I'm currently building an app using the MEAN stack. I have a separate Express server ...
1
vote
0answers
129 views

Digital Ocean and Scalable MongoDb [closed]

I am looking into using the MEAN stack on Digital Ocean but am struggling a bit on the MongoDb side of things. Digital Ocean don't allow you to add a custom size of SSD to your droplets which causes ...
0
votes
0answers
11 views

ExpressJS + MongoDB: Better to make one API call with 10,000 objects, or 10,000 individual API calls? [duplicate]

I'm building an app that relies on a web scraper built in Node/Express, which operating on the same localhost as my front-facing Node/Express app. I'm trying to optimise as much as possible and I'm ...
1
vote
1answer
337 views

Issue with bind_ip on mongodb mon Virtualbox

I have been struggling with mongo bind IP for a while , I think this is the time to shout for help. I am using hostonly network 192.168.56.0/24 . I have 4 boxes. 3 boxes for mongo ...
0
votes
0answers
42 views

How to monitor MongoDB cursors

I have a MongoDB cluster with 1 PRIMARY and 2 SECONDARY servers. In the last couple of days the number of open cursors has risen from 10-20 a sec to more than 2K and keep rising. I'm getting a lot of ...
0
votes
0answers
52 views

MongoDB: exception: no primary shard configured for db: config, code: 8041

I have set up mongodb sharded cluster with 2 replica set having 3 member each, 3 config server and 2 mongos instance on AWS. I am getting following error I SHARDING [Balancer] moveChunk result: { ...
0
votes
0answers
12 views

MongoDB with ReplicaSet perform updates / compact

I have a MongoDB in ReplicaSet with 1 primary, 1 secondary and 1 arbitrer. I'm doing an heavy update operation on a huge collection (more than 2.5M records), this operation will decrease the ...
0
votes
1answer
467 views

Authentication in a Mongo Sharded Cluster

I have a mongo shared cluster and replica sets: The ShardA Replica set: A1. 10.77.14.241 A2. 10.77.14.242 AA. 10.77.14.243 Arbiter Some parameters of /etc/mongod.conf: #bind_ip=127.0.0.1 ...
0
votes
0answers
34 views

ISSnode not able to reconnect to MongoDB on Azure Webapps

Its weird that ISSNODE is preventing re-connection to mongodb replica set in the following scenario. Primary server goes down and secondary server is set as primary server, at this period the ...
0
votes
1answer
22 views

How could I access the auto scaling DB servers because not knowing the IP address

I put the web servers and db servers in different auto scaling group. Those machines in auto scaling group will be added or removed dynamically. Therefore, I have no idea about what's the db server ...
0
votes
0answers
22 views

Can mongos 2.6.x / 3.x connect to mongod 2.4.x?

We are currently in the process of upgrading our 2.4.x mongodb sharded cluster to 3.x (via 2.6.x). We have a large number of mongos instances, as we have mongos installed locally on each of the ...
0
votes
1answer
315 views

Check services running on the server and restart them if they have stopped? (python script)

I am trying to write a python script which shows me the services which are running on my server. The thing is that mongodb keeps going down on the server and each time it happens I have to manually ...
0
votes
0answers
237 views

Unable to install php-mongo extension

i'm trying to install the mongo.so extension but it fails. According to PHP Mongo Installation manual, i should run : sudo pecl install mongo tho i get this error : downloading ...
1
vote
1answer
205 views

Issue with permissions on MongoDB data directory

TL;DR: MongoDB complains about permissions on a directory where everything is allowed. I am running MongoDB v2.4.10 on Debian Jessie ARM. I'd like to store data on an external drive, which is ...
0
votes
0answers
126 views

mongodb sh.addShard returns error: host does not belong to replica set

I try to create a mongodb cluster with three config servers, two shards with three replica each and one query router. The installation of the config servers, query router, and the creation of a ...
0
votes
0answers
333 views

How To: Dockerized MongoDB Replication on Elastic Container Service

I have a Node.js app together with a MongoDB database running on AWS ECS. The setup I've got currently is formed of 2 ELB's and 2 Instances running each a Docker container with its assigned service ...
2
votes
1answer
3k views

Can't config replica set using MongoDB 3

I'm trying to create a replica set in MongoDB version 3.04. I followed this tutorial and getting the next error while trying to add nodes using the primary server: vacrep:PRIMARY> rs.add('server ...