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

learn more… | top users | synonyms (1)

2
votes
4answers
553 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
0answers
127 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
110 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 ...
0
votes
3answers
226 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
1answer
1k 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
547 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
45 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 ...
0
votes
0answers
321 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
1answer
161 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
1answer
88 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
312 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
84 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 ...
1
vote
1answer
311 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
1answer
242 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
204 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
77 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 ...
1
vote
1answer
131 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. ...
1
vote
1answer
4k 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 ...
4
votes
1answer
321 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
188 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 : ...
2
votes
1answer
2k 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
92 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 ...
1
vote
1answer
2k 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 ...
1
vote
0answers
79 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 ...
0
votes
1answer
119 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
1answer
310 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
3answers
568 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
1answer
86 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 ...
3
votes
2answers
402 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 ...
1
vote
1answer
442 views

Incremental backup mongodb using rsync

I want to store small files (60 kb, couple of millions) into MongoDB, I was thinking using GridFS, but it seems BSON will do. Anyway, I want to make rsync to backup the mongodb chunk files, so ...
0
votes
1answer
84 views

Do I need to manually promote a replication node to Primary after a Primary node failure?

I have a basic 3 member MongoDB replication set. 1 x Primary 2 x Secondary A = Primary B = Secondary C = Secondary The Mongod service on the Primary stopped, and as expected, one of the Secondaries ...
0
votes
1answer
191 views

mongoose/mongodb DoS-ing a nodeJS instance [closed]

We have a nodeJS instance inside a AWS VPC that makes a request to a mongodb instance running in another availability zone. The node instance is hit with a particular request a lot. That request is ...
2
votes
1answer
189 views

MongoDB 100% locked periodically. MMS charts attached

Trying to diagnose what could be causing intermittent lock-up on MongoDB server running behind a Rails application. Hoping that someone might recognise the pattern of peaks and troughs in the charts ...
0
votes
1answer
187 views

Backup MongoDB database copying files in `dbpath`?

I need a daily backup of all MongoDB databases in our single-instance server (without stopping the MongoDB service). Our server is in Rackspace so I'm wondering if a valid strategy could be just add ...
1
vote
0answers
136 views

Can't load Mongo extension in php.ini

I'm having some issues while try to load mongo.so extension at php.ini. Below is what I tried: Compile the mongo extension by following the documentation at php.net for MongoDB site. This resumed ...
1
vote
0answers
858 views

how to integrate between MONGODB & SOLR, using MONGO-CONNECTOR

Like this I started my mongod with replSet mod mongod --dbpath=/home/local/ASSYST-COC/so/mongo --replSet myrep --auth mongo started mongo -u root -p root --authenticationDatabase admin IN ...
0
votes
2answers
1k views

Apache fails to start after PHP upgrade on CentOS 6.5 x64

I have a developer server with CentOS 6.5 and PHP 5.5.11 (latest from REMI repos). Today I did: yum --enablerepo=remi,remi-php55 update That updated Apache and some other libraries like Mongo for ...
0
votes
2answers
407 views

Did my mongoDB server crash because the database is too large?

I've had no problems with my Mongo set up for a couple of years until it shutdown unexpectedly yesterday. I found no error in the logs from around the time it stopped. It seems like a neat ...
2
votes
1answer
251 views

iptables blocking local connection to mongodb

I have a VM (Ubuntu 12.04.4 LTS) with mongodb (2.0.4) that I want to restrict with iptables to only accepting SSH (in/out) and nothing else. This is how my setup script looks like to setup the rules: ...
1
vote
3answers
2k views

Copy mongodb collection between two servers AND different mongo versions …

I have a collection in a mongoDB, on a project that runs locally, and have to copy the collection to the dev server. Can you tell me how to do this, considering that: The local machine (the source) ...
2
votes
0answers
329 views

How to find/kill long running mongo scripts

I think I have a long running mongo script tanking my database, but I'm not sure. I was connected to the linux server via SSH and I ran the script like so: mongo my_database my_script.js It started ...
0
votes
0answers
155 views

Puppet MongoDb enabling authentication and defining password

I'm working on enabling authentication using the puppetlabs mongodb module. As the docs say, to enable authentication, I should add auth => true. But in order for authentication to work, I have to ...
2
votes
3answers
1k 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
62 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 ...
1
vote
1answer
962 views

mongodb cannot connect over network

Im trying to connect to a mongodb server over a network but I cant get the connection to work. I can connect like so on the local computer on which the server is running: mongo localhost:27027 But ...
1
vote
0answers
355 views

MongoDB Performance Troubleshooting

I have a small MongoDB replica set (2.4.6) and it seems about once a week, the primary gets bogged and the load average spikes up. This app doesn't see a huge amount of traffic. It resides in EC2 ...
1
vote
1answer
41 views

How do I accept two different types of network connections using iptables

I need to setup iptables for a mongodb database server, such that it allows only two types of INPUT connections: one connection to port 27017, monogdb's default port, from our main web-app one ssh ...
1
vote
1answer
169 views

MongoDB starting gets terminating

I am installing the mongodb with the default configurations, and that gets started normally, but when I changed the dbpath value to point to different position it started giving me the exceptions, can ...
0
votes
1answer
140 views

When does the replication from primary to secondary happen in mongodb?

I have setup a 3 node replica set. Writing to primary node works but when I read with readPreference=secondary; I get values as null. When I open the local node with robomongo I see that the ...
2
votes
1answer
176 views

mongodb 2.4.9 is crashing on wheezy when running as root

I installed mongodb-10gen v2.4.9 on a debian Wheezy, and I'm having this really weird behavior: if I run it as root I can't get it starts: root@xx:~# /etc/init.d/mongodb stop [ ok ] Stopping ...