Questions tagged [mongodb]

MongoDB is a client-server document-oriented database management system. Its source code is available under the Affero General Public License.

StackOverflow has a more detailed description, with a list of useful hyperlinks.

81 questions
13
votes
6 answers

How to install mongodb 3.4 in debian stretch (9)?

I want to install mongodb 3.4 on debian stretch. Unfortunately debian stretch packages are only mongodb 3.2 (https://packages.debian.org/stretch/mongodb). The mongodb docs only mentions debian 7 and 8…
Hamburml
  • 280
  • 1
  • 4
  • 10
12
votes
2 answers

Installing mongodb on alpine > 3.9

Since mongodb changed their license, it is no longer available as an apk package on the alpine repository for alpine versions after 3.9. mongodb exists on alpine 3.9 mongodb does not exist on alpine 3.11 Is there any way to install it on newer…
DannyB
  • 221
  • 1
  • 2
  • 4
8
votes
4 answers

Yum error while installing MongoDB on CentOS?

I am using Centos 6.6 (x86_64) Trying to install most stable mongodb version available. but I am stuck with this error (which might seem repeated but none of the previous answers worked for me) [root@localhost home]# sudo yum install -y…
hubatrix
  • 417
  • 2
  • 5
  • 11
5
votes
2 answers

How to install mongodb 3.x in debian jessie (8)?. mongodb web only supports wheezy

I want to install mongodb in debian jessie, but debian repo only has mongodb 2.4 and I need mongodb 3.x. Mongodb web page instructions for installing latest mongodb in debian only supports wheezy. sudo apt-key adv --keyserver…
4
votes
1 answer

Dependency error: install MongoDB on Amazon Linux

I need to install MongoDB community edition on an Amazon Linux machine. I followed the steps described in the MongoDB documentation that are, very simply: Create the repo file in /etc/yum.repos.d Intall via sudo yum install -y mongodb-org However,…
OnlyAL
  • 41
  • 1
  • 2
4
votes
1 answer

How do I run a service with numactl

I need to do something like this to run MongoDB $numactl --interleave=all /usr/bin/mongod --config /etc/mongod.conf & What should I change to be able to run the mongo daemon with the options above?
Bob
  • 221
  • 2
  • 6
  • 15
3
votes
0 answers

OS linux ubuntu is killing my mongod service

I am facing this issue consistently, whenever I run some CPU and memory intensive processes so OS kills my mongod service. Due to which service goes into the failed state and everything stops. Command: journalctl -u mongod.service Output: Jun…
Abdul Moiz
  • 133
  • 6
3
votes
1 answer

MongoDB installation size is huge

I need MongoDB to install on Arch Linux. It needs 180+GB free space for installation. However, I have 99GB partition where Arch Linux is installed and 107GB partition free. Can I installed MongoDB by ignoring all? Please suggest me how to get…
3
votes
1 answer

How to install mongodb on archlinux?

It seems mongodb has been removed from the official archlinux repository and it seems compiling is out of the question since I need it on a raspberry pi (source). Where could I find a safe binary of mongodb for archlinux? (Interestingly,…
fbence
  • 455
  • 4
  • 17
3
votes
1 answer

Remote ssh commad with variables, quotes and single quotes

I need to execute a command on a remote MongoDB server, using variables declared on the shell script. Command: ssh [email protected] "mongo mydb --host 10.1.1.1 --port 27017 -u user -p password --authenticationDatabase admin --eval…
3
votes
4 answers

CentOS 7 - yum won't install mongodb

I'm trying to install mongodb v3.4 guided by MongoDB. First I create "/etc/yum.repo.d/mongodb.repo", then I paste this repo info in the file: [mongodb-org-3.4] name=MongoDB…
Brian Salehi
  • 412
  • 2
  • 6
  • 16
3
votes
1 answer

Ubuntu: Process vfs-worker taking all CPU resources

My Cloud9 (Ubuntu-based cloud IDE) began to be unresponsive after I tried to save some files (they didn't save to my cloud workspace). It shows 100% CPU utilization and a process that takes all CPU power. Here is the error from which the 100% CPU…
Peter Gerhat
  • 1,202
  • 5
  • 17
  • 30
3
votes
1 answer

MongoDB will not uninstall

So, it would appear that following the official MongoDB installation instructions when installing on Debian - you're heading for a world of pain. Firstly, it didn't install correctly so now - i'm trying to remove all installed MongoDB packages so…
Jordan
  • 133
  • 1
  • 5
2
votes
1 answer

How to create JSON from associative array

I am writing a bash script on CentOS 7.5 that will execute some MongoDB commands. One of these commands will set replication servers. According to project, number of servers can be different. I have this associative array that is the hostname an IPs…
BlackCrystal
  • 716
  • 14
  • 39
2
votes
1 answer

How does ps censor my password

I am playing around with MongoDB on my localhost and when using ps aux | grep, I got this ubuntu 26701 0.2 0.6 96011 27851 pts/3 Sl+ 11:14 0:00 mongo -u mongouser -p xxxxxxxx -authenticationDatabase tmpdb the xxxxxxxx part is not…
boh
  • 245
  • 2
  • 4
1
2 3 4 5 6