Questions tagged [mongodb]

Scalable, high-performance, open source, document-oriented database.

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

Mongodb shuts down everytime showing exit status 1

thanks for being here, to be fair I do have a solution, but its a temporary one. Its repetitive and kinda annoying doing it everytime you switch on your pc. So if someone has a more permanent solution ...
0
votes
0answers
18 views

Connection problems with Atlas MongoDB Cloud Security related

Folks, I had a strange problem here. I'm running Kubuntu 20.04 focal fossa in my dual boot T430 notebook. I can't connect to my MongoDB atlas cloud through my Linux machine directly with no param. Nor ...
0
votes
0answers
43 views

Cannot connect to the MongoDB in ubuntu 18.04 GCP server

I got this error when I trying to connect to the mongo shell on my ubuntu server which runs on the GCP compute engine instance. Can anybody help me to find out this issue? MongoDB shell version v4....
0
votes
0answers
16 views

mongodb server status constantly fails

the original problem I was facing before this issue was that I was not able to connect my mongodb server to a mongodb GUI like "robomongo" through SSH. My mongodb server was working fine ...
0
votes
1answer
232 views

Upgrading MongoDB from 3.6 to 4.4

I need to upgrade my MongoDB installation from its current incarnation of 3.6.8 to 4.4. If I understand the documentation correctly, this has to be done in stages, from 3.6 to 4.0, then from 4.0 to 4....
0
votes
0answers
93 views

How to install a specific MongoDB release (3.4.2) on Ubuntu 20.0 focal?

I followed the official doc here:https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ did the following step: wget -qO - https://www.mongodb.org/static/pgp/server-3.4.asc | sudo apt-key ...
1
vote
2answers
166 views

MONGODB ERROR 14

Mar 27 16:13:41 localhost systemd[1]: Started MongoDB Database Server. Mar 27 16:13:42 localhost systemd[1]: mongod.service: Main process exited, code=exited, status=14/n/a Mar 27 16:13:42 localhost ...
-2
votes
1answer
132 views

Got error while updating (sudo apt update)

Err:17 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 Release.gpg The following signatures couldn't be verified because the public key is ...
0
votes
0answers
12 views

Root Certificate installed not recognise after server reset

Server Ubuntu 20.04 After going through dpkg-reconfigure ca-certificates and update-ca-certificates, my self signed root certificate is only recognise for that session. Upon server reboot, when I try ...
1
vote
2answers
110 views

mongod vs systemctl start mongod

When I try to start mongod as a service, it fails: $ sudo service mongod start $ sudo service mongod status ● mongod.service - MongoDB Database Server Loaded: loaded (/lib/systemd/system/mongod....
0
votes
1answer
176 views

How to install redis-server with version 5.0.7 on ubuntu 18.04?

I want to install redis-server with specific version.
0
votes
0answers
328 views

Is it possible to install MongoDB 3.4 or 3.2 on Ubuntu 20.04?

Is it possible to install MongoDB 3.4 or 3.2 on Ubuntu 20.04? if so, how? because it doesn't work. the minimum early version that turned out to be installed is 3.6, but it does not fit. (with the ...
2
votes
1answer
176 views

MongoDB server failed after system reboot

I installed MongoDB using sudo apt install mongo-org and followed the instruction to start and everything worked but then when I reboot the system, the MongoDB server failed ● mongodb.service - High-...
1
vote
1answer
46 views

Unistall MongoDB and getting “W: Target Packages in command line”

When I did sudo apt-get update on the command line I found errors with "W: Target Packages" sudo apt-get update Hit:1 http://archive.canonical.com/ubuntu focal InRelease Hit:2 http://us....
1
vote
1answer
208 views

MongoDB Compass Error in Ubuntu 20.04 LTS

Running compass stop and know it's giving below error mongodb-compass: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory I uninstall and ...
1
vote
1answer
222 views

Restoring MongoDB database from physical files

Issue My hard drive cannot boot into Ubuntu 18.04 Desktop any more (I suspect that the UI doesn't load but everything else should work fine). It will take too much time to analyze what went wrong, so ...
-1
votes
1answer
428 views

Can't install MongoDB on Ubuntu 20

I was trying to install MongoDB using sudo apt install mongodb-org command. I got this:
0
votes
0answers
36 views

A lot of errors while reinstalling MongoDB [duplicate]

I can't use MongoDB so I need to uninstall, but when I try to reinstall it, the program shows me a lot of errors in MongoDB, MySQL and also in dpkg. sudo apt-get purge mongodb-org* Reading package ...
0
votes
0answers
75 views

Can't remotely connect to MongoDB on Ubuntu 20.04 remotely

I currently encountered a problem that MongoDB on Ubuntu 20.04 rejected my remote connections although I allowed my IP through ufw as well as adjusted the bindIp in mongod.config file. I did the same ...
1
vote
1answer
482 views

ubuntu 20.04 LTS:mongod: error while loading shared libraries: libnetsnmpmibs.so.30: cannot open shared object file: No such file or directory

i was using ubuntu 18.04 LTS and mongodb-linux-x86_64-enterprise-ubuntu1604-4.2.1 it was working fine then i upgraded to ubuntu 20.04 LTS and now i am getting error when i typed the mongod command ...
1
vote
1answer
1k views

WSL: apt upgrade error because mongodb-org-server needs systemd

in my WSL apt upgrade crashed because of a problem with mongodb-org-server. I use WSL2 with Ubuntu 20.04. (The same error also appeared in WSL1 with Ubuntu 18.04 before I upgraded my WSL recently.) ...
0
votes
0answers
3k views

How to enable access to mongoDB atlas (firewall problem)?

I'm following this fullstack course but I'm not able to connect to my mongoDB Atlas database. I have had a whitelist entry that allows access from anywhere as per the tutorial since the beginning and ...
0
votes
0answers
193 views

How to set up Ubuntu 20.04 image with XFS filesystem on Raspberry Pi 4

I'm trying to set up an Ubuntu 20.04 (no desktop) image for a Raspberry Pi 4, running MongoDB 4.2 or 4.4. MongoDB recommend using the XFS filesystem but don't give much more detail about size of ...
1
vote
2answers
155 views

cd /var/log/mongodb/mongod.log throwing “no such file or directory”

No Such file or directory when I tried this command cd /var/log/mongodb/mongod.log after installing mongodb using sudo apt-get install -y mongodb. I am using Ubuntu 20.04 which I upgraded to xubuntu ...
0
votes
0answers
13 views

sudo apt autoremove showing unmet dependencies I can't remove for mongodb [duplicate]

When I run autoremove I get the following. I am in root and have tried running sudo apt install -f without luck. This issue occurred because I ran sudo apt install mongodb and realized that the ...
0
votes
0answers
117 views

Can't install Mongodb on Ubuntu 18.04 via instructions on docs.mongodb.com

I have been following these instructions to install mongodb on Ubuntu 18.04 https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ Its pretty simple. Add the mongo sources, update apt, ...
0
votes
1answer
762 views

Installing mongodb server on Ubuntu 20.10 and got unmet dependencies error

I was installing mongodb server on Ubuntu 20.10 and got unmet dependencies error as shown in the below images:
1
vote
2answers
2k views

Not able to install Mongodb server in Ubuntu 20.10

I recently upgraded to Ubuntu 20.10 from Ubuntu 20.04 and it removed my mongodb server installed and now if I try to install it shows that there is no package named as mongodb.
2
votes
0answers
281 views

MongoDB MongoError: Out of memory

I have a newly installed MongoDB server running on an AWS Ubuntu EC2. The server has nothing else installed on it. The DB currently contains 35 documents of 3 MB each, meaning less than 110 MB of data....
1
vote
1answer
2k views

MongoDb fails to start on Ubuntu 20.04

I installed mongoDB using these commands: wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add - echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu ...
0
votes
0answers
130 views

How to make the mongodb replica set keep on running?

My environment: Ubuntu 18.04.3 LTS on Hyper-V Windows 10. I am trying to convert a standalone instance to a replica set, and want to keep the replica set running. By following the documentation in ...
1
vote
0answers
191 views

How to set mongodb to run in a different folder?

Im trying to run mongodb, as a service, in a different folder than the default one, located at /var/lib/mongodb in a kubuntu 20.04. I can run mongodb in a different folder but not as a service with ...
0
votes
0answers
16 views

Mongodb C driver is giving error on autogen when installing on ubuntu

i am trying to install MongoDB C driver in my ubuntu 18.04 LTS from here to install it via git, here are the steps i followed $ sudo apt-get install git gcc automake autoconf libtool $ git clone ...
0
votes
0answers
44 views

Cannot Install MongoDB on Ubuntu 16.04 Xenial

I have a 64 bit Ubuntu 16.04 Xenial installation. I am following the instructions from the MongoDB website, and this is the output I am getting. Everything looks ok to me so I don't understand why it ...
0
votes
0answers
227 views

Too many files open - Ubuntu 18.04

I have installed mongoDB on ubuntu 18.04. when I run my code, it starts giving me the error Error connecting to 192.xx.xx.xx : Too many open files I've tried to set up ulimit -a to a larger value and ...
0
votes
0answers
39 views

Cannot connect to mongo server (amd64) v4.2 from ubuntu (arm64) mongoclient v4.0

The mongod that i am using is in ubuntu The mongo server version is v4.2.8 and is in amd64 ubuntu 16.04. Note: PortBinding is already set to 0.0.0.0 When I connect it from my PC. The connection is ...
0
votes
0answers
391 views

Downgrading MongoDB from 4.4 to 4.0

So I need to downgrade MongoDB from v4.4 to v4.0 on Ubuntu 16.04 Following installation instructions I've done: wget -qO - https://www.mongodb.org/static/pgp/server-4.0.asc | sudo apt-key add - then ...
0
votes
0answers
290 views

Warning message when run mongodb on Ubuntu 20.04.1 LTS

I installed mongodb on my Ubuntu 20.04.1 LTS machine with the recommended procedure by the official site of mongodb $ wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add - $...
0
votes
0answers
33 views

Unable to fix errors: you have broken packages fixed [duplicate]

When i run mongodb install: sudo apt install -y mongodb-org An error like this occurs: The following packages have unmet dependencies: mongodb-org: Depends: mongodb-org-shell but it won't be ...
4
votes
1answer
5k views

“NonExistentPath: Data directory /data/db not found., terminating” error occurs while running “mongod”

I have installed MongoDB using sudo apt-get install mongodb Mongo shell is working well but when I run mongod in terminal, I get 2020-08-04T19:56:20.432+0400 I CONTROL [initandlisten] MongoDB ...
2
votes
1answer
34 views

Downloading mongoDB error

Last month downloaded mongoDB onto my Ubuntu 20.04 using sudo apt install mongodb-org I found the package, installed it and mongodb was working fine. I however deleted it and when I try reinstalling ...
0
votes
0answers
19 views

How to install mongo 3.4 on ubuntu 20? [duplicate]

I have tried following commands. sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 echo "deb http://repo.mongodb.org/apt/ubuntu xenial/...
0
votes
1answer
366 views

How to write /etc/apt/sources.list.d/mongodb-org-4.2.list to install mongodb on ubuntu focal fossa?

I am trying to clone and work on freeCodeCamp locally on my Ubuntu 20.04 focal fossa. When I reach step to install mongodb community. On mongdb official documentation and installation guide they have ...
0
votes
0answers
202 views

“Attempted to use Snappy compression, but Snappy is not installed” on Ubuntu VPS

I have set up a new VPS via Digital Ocean and have installed MongoDB V4.2.8 on an Ubuntu server 18.04 release as per the official Mongo documentation. I'm using Compass version 1.21.2. I have managed ...
1
vote
1answer
495 views

Cannot properly install mongod due to GPG error on Ubuntu 20.04

I am attempting to install mongodb on Ubuntu via cli. Upon running sudo apt-get update I am receiving this Hit:1 http://ca.archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://security.ubuntu.com/...
0
votes
0answers
151 views

Upgrading Ubuntu from 16.04 to 18.04 breaks MongoDB

I am facing a problem upgrading multiple servers from Ubuntu 16.04 to 18.04. The servers are running the supported versions of Mongo, 2.6.10 on 16.04 and 3.6.3 after the upgrade. The upgrade breaks ...
1
vote
0answers
333 views

Cannot import files in MongoDB -Compass

I just installed the MongoDB Compass downloading the latest stable deb file (1.21.2 amd64) in my Ubuntu 18.04.4 LTS VM. The problem is, when I want to import a JSON to a collection, it does not work: ...
1
vote
1answer
2k views

RPi4 support - raspi-config and gpio?

I want to know if there will be official support for things like raspi-config and gpio on the official ubuntu releases for the Raspberry Pi 4? I was initially drawn to it for the 64-bit capabilities ...
0
votes
0answers
90 views

Installaton of mongodb on 20.04 ubuntu is new headache

i get some kinda of error just by sudo apt-get update This image shows about the errors
1
vote
1answer
42 views

Errors were encountered while processing: munin-mongo

I have been trying to install packages without success, I am getting error messages Errors were encountered while processing: munin-mongo E: Sub-process /usr/bin/dpkg returned an error code (1) If ...

1
2 3 4 5
7