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

learn more… | top users | synonyms (1)

0
votes
0answers
27 views

Chef: mongodb::user_management failing in aws opsworks with “NameError: uninitialized constant Mongo::MongoClient”

I have been using the mongodb cookbook successfully to create user accounts for months but recently something has changed and I can't figure out what it is. The default recipe completes without ...
0
votes
0answers
8 views

Service Busy Alarms on USSD GW due to MongoDB [migrated]

We are getting service busy alarms on my machines which are using MongoDB. When the service busy alarm appears, we get the following errors on our Mongo router logs. The OS on these machines is ...
2
votes
1answer
36 views

mongod: symbol lookup error: mongod: undefined symbol: _ZN5boost6detail13once_epoch_cvE

Iam having trouble with my mongodb install : when I run sudo mongod, I get mongod: symbol lookup error: mongod: undefined symbol: _ZN5boost6detail13once_epoch_cvE uname -a Linux xyz 3.2.0-4-686-pae ...
-1
votes
0answers
8 views

Connecting more, then 7 instances 13612 Error

Presently i'm working with AWS Opsworks to deploy mongodb cluster. I'm using https://github.com/netinlet/chef-mongodb_replicaset repository to deploy. Unfortunately when i'm trying to connect more ...
1
vote
1answer
292 views

Why can't i install mongodb 3.0 on Ubuntu 14.04 32bit?

I have followed all the official istructions listed here: official page In detail, i have done: sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 (seems ok) echo "deb ...
-1
votes
1answer
18 views

creating snapshot for mongodb

I am trying to create snapshot for mongodb on centos 6.6. root@ ~]# lvscan File descriptor 12 (pipe:[23409]) leaked on lvscan invocation. Parent PID 3579: /bin/bash File descriptor 13 ...
0
votes
0answers
7 views

Error: no open connections at Db._executeQueryCommand

I have a node application used with express framework. This application runs smoothly. But suddenly, after some point of time, it starts to give error as "Error: no open connections at ...
-1
votes
0answers
13 views

Configure MongoDB to write expired documents to a file

Is it possible to configure MongoDB to write expired documents to a rotating log file? I need to retain, for legal reasons, a copy of all data after it has been removed from active use.
0
votes
0answers
38 views

Expanding HAProxy health check to monitor MongoDB primary and secondary state

Follow up question regarding the MongoDB health check with HAProxy How to construct a MongoDB Health Check in HAProxy? The current solution works well when the focus is on determining if mongo ...
0
votes
0answers
48 views

'mongod wiredTiger' on Ubuntu?

I cannot use wiredTiger as a service for MongoDB. Then, I progresses step by step according to the following guide; http://docs.mongodb.org/manual/release-notes/3.0-upgrade/ Step-1: Start 3.0 ...
0
votes
1answer
27 views

How can I configure an Azure VM to securely host Mongo for connection to a web role [closed]

I would like to run Mongo DB in Azure. I looked into the hosted version, but the price is high, so I'd like to run my own MongoDB for use with an Azure Web Role. I would like the Mongo DB to remain ...
0
votes
0answers
19 views

Mongodb + Kerberos BadValue SASL mechanism GSSAPI is not supported

I am trying to run an instance of mongodb with the authentication mechanism GSS-API. This is the command: mongod --dbpath /home/ec2-user/db/node2/data --auth --setParameter ...
0
votes
1answer
33 views

EBS vs Instance Local storage for MongoDB in ec2

Cassandra recommends using instance local storage for EC2 deployments instead of EBS I am deploying MongoDB in EC2... should I also be using instance local storage instead of EBS PIOPS?
0
votes
0answers
15 views

MongoDB cluster network Resilience with 2 ethernet only

I wonder if it is possible to configure a network resilience mongodb cluster using only 2 ethernet adapter card on each node. I configured the cluster with 3 nic emulating the third nic using vip ...
0
votes
0answers
22 views

Slow insert speed to Mongodb utilizing Mongoid ORM

I have a production platform utilizing Sidekiq, Mongoid and a replica set (3 nodes). This has been operational for about 6 months and running very smoothly. All jobs were processing in usually less ...
0
votes
1answer
15 views

EC2 Linux mapping between file system and EBS volumes

Where are "observable" paths like /home/ubuntu/foo.txt stored on a Linux EC2 instance with mounted EBS? I have a basic EC2 instance with added EBS storage, mounted as /mnt/my-data following one of ...
0
votes
0answers
114 views

How to display MongoDB stats in Graphite?

After googling for 2 days with no solution I would like to know if anyone uses Graphite with either CollectD or StatsD to include MongoDB statistics in a dashboard. I was hoping for an up-to-date ...
-1
votes
1answer
543 views

getting mongodb running locally on OSX Yosemite [closed]

I've installed mongodb using homebrew, but mongod will not run. I'm getting this error: 2015-03-09T14:47:22.418+0000 I CONTROL [initandlisten] MongoDB starting : pid=10510 port=27017 ...
0
votes
1answer
50 views

Is it generally a bad idea to run MongoDB and ElasticSerach on the same nodes

Simple question: is it stupid to run mongodb and elasticsearch on the same nodes within a cluster of three if you take care of mongodb's memory hunger using cgroups and ignore the aspect of concurring ...
2
votes
0answers
39 views

Using database for storing text files and images [closed]

I need to build a image/static file cache which would host maybe few hundred up to thousand static files from 1kb to ~200kb. I'd need super fast reads (I'm using redis, but it's one threaded and I'm ...
0
votes
0answers
38 views

Best practice of using MongoDB Replica Set on AWS EC2

MongoDB needs at least three replica set members on independent locations to work automatic failover correctly. However, some of AWS Regions (such as ap-northeast-1) have only two Availability Zones. ...
0
votes
0answers
24 views

MongoDB mongos memory usage

Planning how to deploy a shard-ready cluster (Single shard at the moment, with all config servers and mongos processes), I've read the MongoDB operations best practices. I have doubts about the memory ...
-1
votes
2answers
61 views

Building Mongodb 3.0.0 with SSL

I am trying to build Mongodb 3.0.0-rc8 (tried latest nightly too) with ssl support. I found a gist which works for 2.6.7 but when I run it with 3.0.0-rc8 I get that eror ...
0
votes
0answers
76 views

mongoDB servers are not available when the master is down

I got the following errors when the master replica is down ConnectionPool::PoolShuttingDownError (ConnectionPool::PoolShuttingDownError): Moped::Errors::ConnectionFailure (Could not connect to a ...
0
votes
0answers
92 views

mongodb authentication not working in puppet

I used the same connectionstring in the terminal and it's working ok. But from Ruby I get error output when vagrant provision runs mongo admin -u 'vaga' -p 'vaga' --authenticationDatabase admin ...
0
votes
2answers
74 views

restore mongoDB databases from manual backup (not used mongodump): strange permission problems

Is it possible to restore databases which were manually copied from /var/lib/mongodb to eg. /home/foo/mongobackup ? I am not sure if the backup was made after stopping the mongod service. Either way, ...
3
votes
1answer
52 views

How can I decrypt ssl encrypted mongo wire protocol for inspection when I have ownership of all certificates involved?

I have a standard MongoDB SSL environment where the mongo wire protocol is encrypted with SSL/TLS using RSA keys. I have packet captures of communication between the MongoDB server and a client taken ...
0
votes
1answer
32 views

Change mongo data directory for a specific database

Is it possible to change the data directory for a specific database in mongo? I'm optimizing a particular database for speed and I would like to move it to an SSD drive. The drive is not large enough ...
0
votes
0answers
15 views

Database groups in mongodb

I'm facing a problem (well, not a real problem, more of a detail) in deploying an infrastructure for several applications. Some of them use PostgreSQL and some of them MongoDB. I would like to run ...
0
votes
0answers
37 views

MongoDB hogging IO but it doesn't show in mongotop or mongostat

Iotop says mongod is using a lot of IO (96.32%) for a long while but mongotop and mongostat show a bunch of zeros. How can I better monitor mongodb and find out what's happening?
0
votes
1answer
55 views

Is my default File System ext4

By running df -hT that shows mounted file systems, how can I know if my default FS is ext4? Also as mentioned by one of the MongoDB engineers in this video (@1:13) from M202: MONGODB ADVANCED ...
0
votes
1answer
52 views

VMware Grails application on one VM can't access MongoDB on another VM

I have two VMs in a VMware cloud that belong to the same VApp and so are behind the same edge gateway. The both have their own different internal ip addresses but I route services from the outside to ...
1
vote
1answer
95 views

Linux fixed file size copy from Windows Server 2012 NFS share

Company is in the process of switching from hosting MongoDB on windows server 2012 to hosting on linux(ubuntu 14.04) Current backup and restore strategy involves copying all the data files via ...
1
vote
1answer
112 views

MongoDB: insert operation fails but disk is free

I've seen the strange behavior of my server and first of all I looked at log file /var/log/mongodb/mongodb.log. There I saw the next lines: Wed Jan 7 16:33:31 [FileAllocator] allocating new datafile ...
0
votes
1answer
282 views

Starting mongoDB server fails

I just installed mongodb server on my ubuntu using this command: sudo apt-get install mongodb-server But I can't start it. When I try to run the server, it says: masious@ubuntu:/var/log/mongodb$ ...
1
vote
1answer
85 views

Fluentd not writing apache access log to mongodb

I'm following the instructions from this link to write apache access logs to mongo db- http://docs.fluentd.org/articles/apache-to-mongodb. But nothing is getting written to mongo DB. I'm checking ...
0
votes
1answer
48 views

mongo shard has high number of faults, but top shows only 8% of memory used by mongod

I am investigating some performance issues in my mongo setup. I have 3 query controllers and 6 shards. I'm doing a large batch import/update, and on the 3 query controllers, I'm getting around 200 ...
1
vote
1answer
99 views

Can i delete oplog local.* of Mongo backup fsyncLock() + LVM snapshot?

Is it safe to delete oplog local.* files from a MongoDB snapshot ? Does the fsyncLock() commit oplog entries in DB files ? I currently do a fsyncLock() + LVM snapshot of Mongo data. Then i mount the ...
0
votes
1answer
45 views

How to use fsyncLock() safely in backing up a single mongod

I read in MongoDB's official documentation: important: db.fsyncLock() may block reads, including those necessary to verify authentication warning: When calling db.fsyncLock(), ensure that the ...
1
vote
1answer
40 views

Mongo query takes 76 seconds in production but not using Mongo shell

I have a query: db.content.find({ "$or" : [ { "cik" : "0000764839"} , { "entitiesDetected.ids" : "ZqH9BvtitcYR88NKC"}], "pubDate" : { "$gt" : { "$date" : -2206281600000}}, "orderBy": {"pubDate": -1, ...
1
vote
0answers
85 views

adding mongodb authentication breaks connecting via nodejs

I needed to have external access to my mongodb database, so I have removed the bind_ip from the mongod.conf file, and turned on auth. I then added a root user that can access everything, and tried to ...
1
vote
2answers
476 views

Readahead for /var/lib/mongo is set to 4096KB

I'm trying to set the readahead for mongo 256 or less as recommended, I looked at the documentation for any guidance and I found this: Ensure that readahead settings for the block devices that store ...
1
vote
1answer
87 views

mongorestore with indexing in foreground

I need to restore huge dump taken with mongodump utility. As the collections are big and mongorestore rebuilds indexes in backround, index building takes very long to finish. What I want is to somehow ...
0
votes
1answer
143 views

Is mongorestore ditrectly to a path with the --dbpath faster than restoring to a running mongod instance?

What and how much is it faster: #mongod not running mongorestore --dbpath /var/lib/mongodb --db test /some_dump or #mongod running mongorestore --db test /some_dump ? I could not quickly find ...
1
vote
0answers
32 views

Merge 7 node mongodb (2.4) cluster into one standalone mongo shard

I'm running a 7 node mongodb sharded cluster (version 2.4...). I would like to merge this into a standalone shard with 7 times the disk-space. I've tried to create the single shard instance and ...
1
vote
0answers
26 views

Improve read performance on ext4 on Centos with software raid1? [duplicate]

I'm running a number of MongoDB nodes on dedicated servers running Centos6. Each machine has two SSDs which I have in Raid1 with two logical partitions: # df -h Filesystem Size Used Avail Use% ...
-1
votes
1answer
54 views

Mongod not working but data exists

I am running a Homestead virtual box. I installed mongodb recently and was able to type mongod and it would load as it should. Now though I get an error saying dbpath /data/db does not exist. The ...
1
vote
2answers
69 views

Creating a second (clone) MongoDB ReplicaSet on same storage volumes

We are upgrading our software which is going to require an update to our MongoDB database. We plan on doing it by making a copy of the existing ReplicaSet with a new name and making our updates to the ...
0
votes
1answer
145 views

How do I add MMS to an existing MongoDB installation

I have installed the MMS agent on a live production server (Ubuntu) and it has not found the existing MongoDB instance running. Is there any way of adding an existing running MongoDB instance to this? ...
0
votes
1answer
53 views

MongoDB copyDatabase command succsefasully copies database, but gives me a different size on the ner server

So I have to move this one database to another server and I'm using the MongoDB copyDatabase command. It looks like it successfully copies it over, but there is a 3x difference in size between the ...