Skip to main content
Unix & Linux

Questions tagged [mongodb]

The tag has no summary, but it has a tag wiki.

Filter by
Sorted by
Tagged with
1 vote
1 answer
89 views

Help figuring out how to handle errors in "mongodump" script

I have a simple bash script that's supposed to create a dump file from a database docker exec -i container sh -c "mongodump --archive" > \ ~/dumps/db-$(date + "%d%m%Y").dump ...
0 votes
2 answers
149 views

How do I redirect the output of mongorestore to a log file?

Here is the command I'm trying to redirect the output of: $ docker exec -it container sh -c 'mongorestore --archive' < ~/db.dump I attempted to just do: $ docker exec -it container sh -c '...
Ambre's user avatar
  • 111
0 votes
1 answer
164 views

How to suppress warnings of MongoDB shell?

I want to parse by jq output of mongo --quiet --eval "JSON.stringify(db.adminCommand('listDatabases'))" But it returns WARNING: slaveOk() is deprecated and may be removed in the next major ...
palmasd1's user avatar
  • 127
0 votes
0 answers
188 views

Install MongoDB on Fedora

So, I've heard that fedora doesn't include mongoDB in it's repos, and mongoDB official site doesn't provide Feodora images either. I've tried using RHEL repo, as workaround, but it throws some SSL ...
0 votes
2 answers
1k views

i am getting error : fatal error: 'openssl/sha.h' file not found while installing mongodb in mac m1 for the laravel project

nssl.c:24:10: fatal error: 'openssl/sha.h' file not found #include <openssl/sha.h> ^~~~~~~~~~~~~~~ 1 error generated. make: *** [src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypto-...
0 votes
1 answer
198 views

grub-install error when running trying to install gnupg on ubuntu 18.04

I am trying upgrade mongodb on my Ubuntu 18:04 system and I am getting the following error when I execute the command: sudo apt-get install gnupg This is the error: Setting up grub-efi-amd64-signed (...
user2570135's user avatar
0 votes
1 answer
171 views

MongoDB on Archlinux without compiling from source

I can't seem to find a precompiled package that works for Arch. I believe I've tried all the debian-style packages, to no avail. There is no longer an actively-managed mongodb package. And compiling ...
editor's user avatar
  • 105
1 vote
1 answer
180 views

Change mongodb data directory ubuntu permission

I want to change my mongodb data directory to my external media. The problem is that when I change data dir to my media (other than home dir), it does not work, but it works for home dir: くろまる mongod....
1 vote
0 answers
1k views

MongoDB 6 fails to start on CentOS 8

MongoDb run fine with the default settings. The issue occurs when I change the default log path in cat /etc/mongod.conf to the below: systemLog: destination: file logAppend: true path: /var/www/...
1 vote
2 answers
2k views

System V init service can't recongnise mongod

I have been following official guide for installing mongodb but it wont run as a service. When i try $ whereis mongod mongod: /usr/bin/mongod /etc/mongod.conf /usr/share/man/man1/mongod.1.gz but step ...
0 votes
1 answer
643 views

Get return value from kubectl exec out into powershell script [closed]

So I'm working on a powershell script that runs a pester test. The script connects to a Kubernetes pod with a Mongo database. The goal is to check whether or not a collection in the database is empty. ...
0 votes
1 answer
495 views

How to install mongo bi connector in alpine linux?

How to install mongo bi connector in alpine linux? the mongo bi connector is the 'mongosqld',https://www.mongodb.com/docs/bi-connector/current/ there are debian version, windows and macos version but ...
radiorz's user avatar
  • 95
0 votes
1 answer
941 views

Running dnf update on Fedora returns conflicts for MongoDB

I'd appreciate some advice resolving the following conflict with MongoDB install on my Fedora Workstation. I've added MongoDB as a custom repo and get the following output in the terminal when running ...
0 votes
1 answer
669 views

Is there any other way to pause current running process and run it in background other than Ctrl+Z followed by bg?

I'm trying to run several mongod processes through a Java Application using ProcessBuilder, is there a way to simulate Ctrl+Z keypress to pause the current mongod process ?
0 votes
0 answers
184 views

How to choose optimal size for LVM snapshot for cloning MongoDB?

Yes, I know that my question will look familiar to many of you, but I would like to double check with before I start working on it. I have read similar question: Snapshot size in lvm , but still one ...
igork's user avatar
  • 1

15 30 50 per page
1
2 3 4 5 6

AltStyle によって変換されたページ (->オリジナル) /