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

learn more… | top users | synonyms (1)

0
votes
1answer
29 views

Strange Mongo DB writelock values in logfile

I'm getting some strange writelock values in my Mongo DB logfile: Wed Mar 19 10:03:47.007 [snapshotthread] cpu: elapsed:4010 writelock: 0% Wed Mar 19 10:03:51.007 [snapshotthread] cpu: elapsed:4000 ...
4
votes
3answers
2k views

mongoid connection issue

I've been trying to use Mongoid with Rails on Ubuntu. Mongodb was working fine for me with rails app 3.0 to 3.2, today suddenly, i am getting error ...
0
votes
4answers
64 views

Issues installing mongodb on centos 5

I'm trying to install mongodb for my centos 5.1 server via yum. I followed the instructions of creating a .repo file in the yum folder, but it still doesnt work. here's the screenshot of the issue: ...
0
votes
2answers
40 views

SSH tunneling in background

I'm trying to tunnel my production mongo server to my test server, so, I can perform some tests. I know I can simply establish a tunnel by ssh -L, but I need to run this as a background process as I ...
-1
votes
0answers
19 views

Can't connect with Mongo in ubuntu config server [on hold]

I try to do sharding in Mongo in Ubuntu, but I can't connect with ubuntu server when I'm using command mongos --configdb 192.168.17.140:28019 (I get this address from eth0->inet addr). I have ...
-3
votes
0answers
16 views

Sharding MongoDb with Nginx [on hold]

I'm new in MongoDb and I need to deploy MongoDb in many servers, I listened about Nginx, but in mongo tutorial nothing is said about it, Can I deploy MongoDb in Ubuntu 12.04 with Nginx? and which way ...
0
votes
1answer
17 views

How exactly do I install MongoDB 2.4, instead of the latest version?

I've read the instructions on installing older versions but it appears that 2.4 is no longer available in the repos? aptitude -y install mongodb-org-server=2.4 Unable to find a version "2.4" for the ...
1
vote
1answer
18 views

MongoDB - DB/collection fragmentation level

I recently had a performance issue with one of my collections. On a whim (and thanks to this article), I decided to try compacting (as written in the official documentation). This worked brilliantly. ...
0
votes
1answer
12 views

keepalived: 2nd VRRP_Script never seems to run

I'm trying to implement keepalived on 3 mongodb boxes, the idea is that if mongod on one of the boxes goes down or we need to move the primary node to another system for some reason our application ...
0
votes
3answers
97 views

Expose a mongodb streaming data server that's behind a firewall, to the internet

I have streaming data on a Windows platform that I capture into Mongodb at fairly high rate of about 800 data points per second. I wish to have access to this data from outside the company, but the ...
1
vote
3answers
1k views

postfix store emails on mongodb

I need to store the emails received by postfix in mongodb , i red many sites and solution but i didn't find a way to do that. I saw filters and master.cf but i don't know what is the right way to ...
-1
votes
0answers
31 views

mongoDB Java driver 2.10.x - connection timeout

I've developed a CMS(Content Management System) with mongoDB using JAVA, SpringData-MongoDB for one of our client. But in one environment at client premises called Performance Environment I'm getting ...
0
votes
1answer
20 views

connection issue between godaddy shared hosting and amazon ec2 mongodb

I have a site on godaddy shared hosting that is not able to connect to an windows 2k12 amazon ec2 instance running mongodb. Any ideas why I cannot connect? Thanks for your help! Error message: A ...
0
votes
0answers
11 views

MongoDB Max Connections

we are using mongodb in our application for catching a lot of the data to reduce load from our main mysql database, for the last 2 3 days we are having an issue where the mongodb will hit the limit ...
0
votes
0answers
18 views

MongoDB Sharding Issue

I made some Sharding tests but I always got the same issue. I got 1 config server, 3 shards (mongod) on 3 different servers (500 Go each). When I made an insertion of huge amount of data (1 000 000 ...
1
vote
1answer
845 views

Can't setup 3 nodes MongoDB recplica set

I just follow instructions in MongoDB document Replica Sets - Basics to setup a 3-node Replica set. Everything goes fine when I do the initiate and add first node in the primary. [foo@host-a ...
2
votes
1answer
2k views

High CPU usage on mongodb server when idle?

I am getting strange usage numbers on MongoDB server when it is in almost idle state: http://pastebin.com/cKVyGMts (no queries) DB size is about 3.3 Gb I can see in mongodb.log that snapshotthread is ...
1
vote
1answer
51 views

mongod service not starting

I've installed mongodb in Debian Squeeze using this guide (guide here) Installed successfully. It was running well until I restarted the machine (using command "reboot"); After restart, mongodb is ...
0
votes
1answer
90 views

Docker doesn't start MONGODB, and IPAddress doesn't appear, when started with other services

I have been trying to build an OS image from Fedora unsuccessfully to start the following: Systemd SSHD RabbitMQ MongoDB I can get the first 3 (Systemd, SSHD and RabbitMQ-Server) to work. I can ...
0
votes
0answers
26 views

RockMongo Connection Issue with MongoDB Slave

I have a MongoDB Replication with Master-Slave (not RepliSet) I have configured RockMongo on two servers. But I able to login to master server through rockmongo but when I login to slave with rock ...
0
votes
0answers
20 views

Mongo Cluster - Unresponsive node/primary prevents creation of databases, secondary didn't take over

I have a Mongo cluster with a few shards each backed by replicasets with a primary, a secondary and an arbiter. Today one of the primaries became unresponsive. I logged into it directly and tried a ...
2
votes
1answer
998 views

How to tune system settings for mongoDB on Linux?

Trying to squeeze a lot out of one question here -- please bear with me. Although the MongoDB man pages make several useful recommendations about system settings like ulimit ...
0
votes
1answer
43 views

MongoDB copyDatabase failed with dbOwner

I have a remote mongo database in which I've setup a certain data base and a user with a dbOwner privileges. I can access to this db with this user info, but I can not copy this data using ...
2
votes
0answers
26 views

ENTRYPOINT & CMD commands with mongod results in unknown option error

I am using multiple Dockerfiles to setup my server infrastructure. One of the Dockerfiles I build is a MongoDB server which will be linked to a running web server application in a later step. ...
0
votes
1answer
32 views

mongod won't run without me specifying my own conf path

I recently upgraded my apt-get and now mongod isn't behaving correctly. I currently have to run via: mongod --dbpath /var/lib/mongodb and leave the terminal open for it to work. If I just run ...
1
vote
1answer
18 views

Do I need to run db.repairDatabase() on every mongod?

I'm handling a MongoDB (2.4.10) sharded cluster that has only 1 replica set till now. I ran db.repairDatabase() on a mongos. With that, I could reclaim free space on the primary node. But not on the ...
2
votes
3answers
273 views

Varnish Cache logging to MongoDB

I want to stream Varnish's log into MongoDB for realtime reporting. Can this be configured directly within Varnish or can the official Varnish-Agent (https://github.com/varnish/varnish-agent) be used ...
1
vote
1answer
41 views

Rename Mongo Shard

Can I, and if I can, how can I rename a shard in Mongo? Like if I wanted to change the instances of rs0 to rep0 below: mongos> sh.status() --- Sharding Status --- sharding version: { "_id" ...
0
votes
2answers
439 views

Installing Mongo driver for PHP using Puppet+Vagrant

I'm playing around with Vagrant and Puppet, provisioning a development machine for a project based on Apache/PHP/Mongo. I have all components setting up correctly (using modules from Puppet Forge), ...
4
votes
1answer
2k 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: ...
0
votes
1answer
67 views

Backup Mongodb on EC2 through EBS snapshots - timing issue

I'm following this guidance http://docs.mongodb.org/ecosystem/tutorial/backup-and-restore-mongodb-on-amazon-ec2/ I have 4 EBS 1000 IOPS volumes assigned to instance These 4 volumes through MDADM ...
0
votes
1answer
47 views

Mongodump on Gridfs is killing the host IOs

I'm trying to make a mongodump from our production mongodb while the production is running. We have three production instances, one regular mongodb, one with very few gb of data on gridfs, one with a ...
1
vote
1answer
38 views

MongoDB Mergelist error in Debian 6.0.9

We installed Ubiquiti UniFi 2.4.6 which installs Mongodb 10gen on Debian Squeeze 6.0.9. This was a clean install, with no other packages installed from the base install (other than SSH). I was able ...
2
votes
3answers
1k views

Using mongodb tools (mongodump, mongorestore) from another machine

I have a mongodb server (A) and a http server (B). I would like to run mongodump and mongorestore commands on http server (B) to backup data on server B. But these tools comes with mongodb ...
1
vote
1answer
53 views

Amazon OpsWorks - unable to reference ebs volume in mongo dbpath

I'm deploying mongo with Amazon OpsWorks as described in the Setting Up a MongoDB Replicaset With AWS OpsWorks and the instance fails to start when I specify mounted ebs volume (/data/ebs) in dbpath. ...
10
votes
2answers
3k views

Multiple Mongos on one server

I'm not talking about sharding. We had a testing server (linux) and there is already one mongo which belongs to another project/subteam. Is it possible to run multiple, isolated instances of mongodb ...
1
vote
1answer
518 views

how to connect to mongodb server via ssh tunnel

It was easy for me to connect to my remote mysql server on AWS using a sequelpro, however I'm struggling with doing the same thing with mongodb. I tried setting up an ssh tunnel via command line ...
3
votes
0answers
86 views

mongo as service error: Cannot determine state of server

I am trying to use mongodb as a service and started with heroku services ie dashboard.heroku.com/apps/scaleqamongo/resources. I tried multiple addons which they call like mongolab, mongohq. I create ...
0
votes
0answers
61 views

mongodb replication with admin authentication

I have three nodes of mongodb replication set 2 servers have the data and the third is an arbiter 54.83.20.44 : 27017 (primary) 54.197.243.55 : 40000 (secondary) 23.21.148.73 : ...
0
votes
1answer
42 views

Using Replication for Migration on MongoDB

I'm interesting in using replica set feature on Mongo as a method for smoothly migrating between machines. My Mongo database is currently a standalone instance. I realize the recommended practice is ...
0
votes
1answer
582 views

installing mongodb on 14.04

I was trying to install mongodb into a fairly clean Ubuntu 14.04. I used the following commands: sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 echo 'deb ...
0
votes
1answer
586 views

How to start Mongo daemon with auth support

I want to start the MongoDB daemon with auth support using the Mongo init script: sudo /etc/init.d/mongod start I have also added db users to the database to authenticate. I'm working with two ...
2
votes
3answers
509 views

MongoDB and ZFS bad performance: disk always busy with reads while doing only writes

I have huge performance issues using MongoDB (i believe it is mmapped DB) with ZFSonlinux. Our Mongodb is almost only writes. On replicas without ZFS, disk is completely busy for ~5s spikes, when app ...
0
votes
1answer
44 views

mongodb on aws 2 region replication

I think I already have the answer, but I'm a developer so thought I'd check here first. There are AWS regions with more than 2 zone, but some with only 2. E.g. Sydney. Now if I were to deploy a ...
1
vote
0answers
23 views

Migrate standalone Mongo DBs to sharded/replicated cluster

Currently I have several independent standalone Mongo servers. I have Now set up a sharded and replicated Mongo cluster. I plan to copy over all databases from the standalone Mongo servers to the ...
1
vote
1answer
143 views

trying to install mongo but getting errors

I am following mongo site (http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/ ) to install mongo on my centos 5.1o I am getting following errors sudo yum ...
1
vote
2answers
146 views

How to set ulimits for mongod?

How do I set ulimits for the mongod process/user on CentOS? I've read the official documentation but it doesn't provide OS-specific instructions. I need to set ulimit -u 64000 and need this to ...
1
vote
0answers
39 views

using cas server with mongodb backend

I 'm new to setting up cas(Central Authentication Service) server. I couldn't find any guides to setup mongodb as backend for CAS server. Is there an adapter to connect CAS and mongodb. BTW, we don't ...
1
vote
1answer
169 views

Is it safe to snapshot an mdadm RAID with only xfs_freeze?

Is mdadm guaranteed (and trusted via experience) to be safe for taking snapshots with only an xfs_freeze? I have encountered vague warnings about mdadm still working in the background, thus making ...
2
votes
1answer
118 views

Installing multiple mongoDB versions on the same server

I have installed a 2.4 mongoDB version and I'd like to compare against the recently released 2.6 version. I want to know if possible to do a clean new install rather en an update to see if those two ...