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

learn more… | top users | synonyms (1)

0
votes
0answers
3 views

How to create a consistent (starting) point-in-time backup of a MongoDB replica set?

I'd like to make a backup of a MongoDB replica set in a way that I can ensure the database consistency at the time when the backup starts. As the documentation says, --oplog flag to mongodump will ...
0
votes
0answers
11 views

Mac OS X - Apache - PHP - Bad mongo.so extension installation with Pecl [on hold]

I try to install mongo.so extension for php (v. 5.5.17) on Mac OS X 10.10 using sudo pecl install mongo The installation seems to be successfull but when i typing php -m the extension not appear in ...
0
votes
0answers
12 views

How remove a collection from a database without a running Mongo instance?

Is it possible to remove a collection from a database without a running Mongo instance? I ask because I cannot start Mongod due to an exception being thrown ("no NamespaceDetails for index"). The ...
0
votes
0answers
20 views

MongoDB high CPU usage

Running MongoDB 2.4.11 on Ubuntu 14.04.1 LTS In top, this mongod thread is constantly using ~195% CPU: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 24524 mongodb 20 ...
1
vote
2answers
21 views

Background indexing MongoDB on server

I have a collection on a server containing ~23 million documents. I need to index this collection and obviously this will take a long time. If I run this indexing operation with background: true ...
0
votes
1answer
22 views

Mongodb: The paging file is too small … v2.6.4 on Win2012

We had this a couple weeks ago, and mongo would not restart. We have 30GB RAM. The paging file had originally ben 4gb. When we first hit this a couple weeks ago, we incrased the paging file to 12GB ...
1
vote
1answer
13 views

Setup MongoDB on MS Azure virtual machine to access it from an azure website

I have setup a MongoDB replica cluster on 3 virtual machines (Ubuntu 14), on MS azure cloud. The mongodb cluster has been setup with MMS (https://mms.mongodb.com amazing tool btw) and it works fine. ...
0
votes
1answer
48 views

What does MMS Alert “Host is exposed to the public Internet” mean?

I started receiving MongoDB Management Service emails today saying this: "Host is exposed to the public Internet". Apparently these checks are run on the 1st and 15th of the month, and today is the ...
0
votes
1answer
22 views

unable to install mongodb on ubuntu 13.04

I performed the first two steps of importing the public key, by: prachi@prachi-3000-N100:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 [sudo] password for prachi: ...
0
votes
0answers
110 views

AWS Linux yum repository can't find MongoDB packages for install

I am trying to install the latest version of MongoDB for my 32-bit AWS Linux instance. I am following these instructions from the MongoDB documentation. I have created the .repo file in the proper ...
0
votes
0answers
14 views

how to install an older version of a pecl package

I have this code $passengerId = new \MongoId(oPassenger->getId()); return $this->createQueryBuilder('Device') ->update() ->multiple(true) ...
0
votes
0answers
24 views

Setting up MEAN stack on cloud server

I'm working in a company that has been developing websites with PHP and thus we have been using a Rackspace cloud server to host our files. I want to bring us forward in time and try to develop our ...
0
votes
0answers
19 views

Linked Server in SSMS: role of “String Column Lengths” values

I'm using linked server in SQL Server Management Studio in order to connect to Mongo database through ODBC. I have hard time trying to get data from Mongo. Here is a query I try to make: Select * ...
-1
votes
1answer
42 views

Something is filtering 27017 port even then firewall is not working

Good day, i' trying to move mongodb database to separate VPS from application, but VPS was pre-configured not by me. I have instance with running mongodb on 27017 port: COMMAND PID USER FD ...
0
votes
1answer
54 views

Connecting to MongoDb at EC2 - how do I know username, host, port, ect?

I manually installed MongoDb on EC2 micro instance using this http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ Now I need to connect to it from a Rails application. Where do I find ...
1
vote
1answer
58 views

mongoDb 2.6 fails to start on Oracle Linux using the init script

Installed MongoDb 2.6.3 on OL 6.3 using yum, but the default init script seems to fail both when trying to stop and start the mongod service. I could trace the problem with stopping to $pid_file being ...
0
votes
2answers
71 views

Installing MongoDb on EC2

I'm trying to deploy a Rails 3.2.3 with MondoDb app to EC2. I've chosen t2.micro instance. However, I found out that to use MonboDb I have to use at least m1.large - ...
2
votes
1answer
55 views

mongodb keep looping while trying to sync data

I'm converting my my standalone mongodb into a replica set. I've added one more member (and I want to add two more members later, and to shutdown the primary server). My primary mongodb is running ...
0
votes
1answer
38 views

Communication errors while trying to replicate mongodb

I'm trying to replicate my mongodb database, I've crated 2 VM on my windows azure account. both of them are Ubuntu 14.04. I've opened 27017 port on both of them, and installed mongodb latest version. ...
0
votes
1answer
36 views

Mongodb error - Out of file descriptors. Waiting one second before trying to accept more connections

Details Here is what I see in the logs file 2014-09-08T10:22:43.143+0000 [initandlisten] ERROR: Out of file descriptors. Waiting one second before trying to accept more connections. ...
0
votes
1answer
33 views

MongoDB: will replica set sync delay also delay drop database commands?

Will a delayed sync replica set member protect me from dropped database? Will the drop database sync across members of a replica set immediately - or will I have the sync delay time to take the ...
1
vote
2answers
201 views

How to construct a MongoDB Health Check in HAProxy?

There is a fastcgi example of a binary health check on the HAProxy blog. How would I construct a similar check for MongoDB such that I am doing a more robust health check for MongoDB - one that ...
0
votes
1answer
129 views

Can not connect mongoDB remotely on centos [closed]

Previously I've installed mongodb 2.6 on Debian. After installation I could connect to MongoDB remotely but when I've tried that on Centos, I just able to connect mongodb locally using this commend: ...
2
votes
0answers
45 views

Recovering data from mangodb raw files

we use mongodb for our database and set the replset(two servers), but we mistakenly deleted some raw files that under /path/to/dbdata on both servers, after we used tool to get back the deleted ...
0
votes
0answers
56 views

Replicated MongoDB server slower than simple shards

I tried to compare the performance of a sharded configuration against a sharded and replicated configuration. The sharded configuration consists of 8 shards each running on three different machines ...
0
votes
1answer
26 views

How to recover a degraded MongoDB sharded cluster?

I've had problems with a MongoDB replica set of my sharded cluster. The current status of the nodes is: node1: primary (but apparently vetoed by node3 that needs to sync) node2: rollback (it was the ...
0
votes
1answer
121 views

Mongodb replica failures to resolve DNS when primary DNS is stopped while secondary DNS is operational

I have setup mongod replica consisted of 3 nodes + 1 delayed hidden node + arbiter. I have setup DNS: primary and secondary internal DNS (bind) servers, so that I can reference nodes by normal FQDN ...
1
vote
2answers
79 views

MongoDB Auth, can be authenticated in the shell but not via the command line

I have an application that connects to a MongoDB database called discussions. I've created a user Mongo shell: > use discussions switched to db discussions > ...
0
votes
1answer
61 views

Very strange disk-usage for replica in Mongodb

tl;dr: the new 2.6 replica eats up a lot more disk space than the 2.4 members. We're heavy users of MongoDB's GridFS. We're currently on 2.4, and are intending to upgrade to 2.6 by simply adding a ...
0
votes
2answers
168 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
vote
1answer
74 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
179 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 ...
1
vote
1answer
166 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 ...
0
votes
1answer
75 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 ...
2
votes
4answers
300 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
63 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
75 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
184 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
560 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
326 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
40 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
225 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
106 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
61 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
108 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
58 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
191 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
176 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
127 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
71 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 ...