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

learn more… | top users | synonyms (1)

1
vote
2answers
12 views

mongodb 3.0 wouldn't start on ArchLinux

I run into some trouble while starting mongodb on my Archlinux. Here's some basic information about my system and config. root /var/lib/mongodb # uname -a Linux yxx1 4.0.4-2-ARCH #1 SMP PREEMPT Fri ...
1
vote
0answers
8 views

Mongo 2.6.9 process stopping, no error logs

I have a Mongo 2.6.9 process running on a Linux SMP instance. Here's uname -a with the server name redacted: Linux xxx.xxxx.com 3.13.0-042stab085.20 #1 SMP Sun Jul 20 13:27:24 MSK 2014 x86_64 x86_64 ...
0
votes
1answer
15 views

Adding an admin user to a MongoDB

I'm using MongoDB 3.0.3, and I've been having issues with creating users. I created a user on the admin database using db.addUser('admin', '....'). I gave it dbAdminAnyDatabase privilege. The output ...
2
votes
0answers
16 views

When and how should we shard MongoDB when we are bound to physical machines?

We maintain a search service that serves data from MongoDB. Our Mongo production instance is arranged in a 4 node replica set across four physical servers. The database is comprised of several small ...
1
vote
1answer
20 views

MongoDB frequently switching primaries

We are running a Mongo 2.6 replica set with 3 members: primary, secondary, arbiter. Nearly every day our MongoDB is switching which server is primary and this causes all connections to that DB to be ...
-1
votes
0answers
22 views

The disk space doesn't decrease after deleting collections [duplicate]

I deleted half collections in the database. But it still occupies 849.539GB How to release the occupied disk space > show dbs local 0.078GB test ...
0
votes
0answers
13 views

Mongo secondaries stuck at startup state

I have a MongoDB replica set with secondaries that won't make it past the STARTUP state. The database is large but they should have moved to STARTUP2 by now. The correct ports are open as I can ...
0
votes
1answer
25 views

CentOS 7 Cannot delete ports defined for MongoDB

I installed and later removed the MongoDB server on a CentOS 7 box. While cleaning up, I noticed that the ports assigned to MongoDB were still open. if I remember correctly, I was able to delete the ...
1
vote
0answers
12 views

MongoDB Backup & purge

I'm exploring solutions for a basic dbadmin need : periodically backing up and purging data in MongoDB. Basically, I need a logrotate for mongodb. I have a backend program filling a collection. I ...
0
votes
1answer
25 views

mongod bind_ip bind to wrong ip

I'm trying to setup a mongodb in a FreeBSD jail. I found in the documetation that I can set the bind_ip to 127.0.0.1 to allow only access from localhost. But when I check with sockstats it's bound to ...
0
votes
0answers
25 views

MongoDB Install Simple Test Ops Manager java.lang.OutOfMemoryError on startup

just installed a test evaluation of MongoDB Ops Manager and get an error on startup of the Backup HTTP server: Migrate MMS data Running migrations...[ OK ] Start MMS server Instance 0 ...
1
vote
2answers
22 views

Mongodb: handle offline queries without affecting regular queries

I have a MongoDB replica set with Three members: primary, secondary and hidden secondary, only for backups. Ideally, I want to add additional instance dedicated to running slow batch operations. The ...
0
votes
1answer
44 views

LVM Free Disk Space

I have a MongoDB running on a virtual server (Ubuntu 14.04.2 LTS). The MongoDB logs say this: Fri May 8 13:08:02.270 [initandlisten] ERROR: Insufficient free space for journal files Fri May 8 ...
0
votes
1answer
46 views

Mongodb config file option for authentication

I'm trying to start mongodb(3.0.2) with authentication enabled on mac osx 10.10 from the doc. Starting monodb manually with --auth works and starts without any error. I installed mongodb using ...
-1
votes
0answers
13 views

mongoDB OPS Manager firewall ports and directions

our plan is to set up OPS Manager outside of our database zone (where mongodbs and ops manager agents are placed). Now we were asked by our firewall guys to provide ports and directions in order to ...
1
vote
0answers
3 views

MongoDB - Tie user to specific replica set node

Is there a way in MongoDB 3.0 to allow users access to only a single replica set node? We have a lot more data on disk than we do memory. So to keep our production support from paging into memory ...
0
votes
0answers
4 views

varnish - little delay after 5 seconds

I installed varnish on a hello world application, along with nginx, hhvm and mongodb. The only things that bugges me is that the first time when I access the url I get around 125 ms response time and ...
0
votes
1answer
14 views

Slow mongodb on ruby on rails

I have a ruby on rails application with mysql and mongodb (mongoid framework) running. I tested a load test with siege with the setting -c 60 -r 10 on one page which have 2 stationsong find queries. ...
2
votes
1answer
38 views

Permission denied to connect Mongodb with PHP on EC2

I can't connect to the remote EC2 server with PHP because I got permission denied. However I could connect remotely by command line from the same server so it seems the firewall settings are fine and ...
1
vote
0answers
59 views

exception in initAndListen: 28595 2: No such file or directory, terminating

after server crashed, mongod service don't start. OS: Windows Server 2008 R2 start mongo version: 3.0.0 repair option don't help, journal directory is empty after crash update mongo to 3.0.2, this is ...
-1
votes
0answers
18 views

Low end vps at 90% RAM usage due to mysql [duplicate]

I am running a low end vps (512mb ram) 1 cpu with ubuntu 14 32bit. I am also running mysql for my user data and its taking up 50% memory resources making my ram run at 90%. I already tried to ...
3
votes
0answers
25 views

MongoDB Oplog Security

We are using a MongoDB replica set for sharing sessions and other (potentially sensitive) data in a web farm. All the data we store uses TTL indexes to expire documents after a relatively short ...
0
votes
1answer
99 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 ...
2
votes
1answer
75 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 ...
2
votes
2answers
848 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
34 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
12 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 ...
0
votes
0answers
72 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
1answer
131 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
37 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
32 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
56 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
27 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
43 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
17 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
195 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
1k 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
70 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
52 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
49 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
39 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
73 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
125 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
131 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
116 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
61 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
73 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
16 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
40 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
59 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 ...