Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mongodb]

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

0
votes
1answer
18 views

How to set mongod as a service on my server? Why is error 127 appearing?

I am trying to setup mongodb as a service. service mongod status mongod.service - High-performance, schema-free document-oriented database Loaded: loaded (/etc/systemd/system/mongod.service; ...
0
votes
2answers
78 views

Cannot uninstall MongoDB on Ubuntu 18.04

I want to completely uninstall MongoDB from my Ubuntu 18.04. sudo service mongod stop sudo apt-get purge mongodb-org* sudo rm -r /var/log/mongodb sudo rm -r /var/lib/mongodb The first two commands ...
0
votes
1answer
33 views

Get mongo server version >= 3.6

On Ubuntu 18.04 I run this: sudo apt-get install mongodb-org mongo And get this in mongo shell greeting output: MongoDB shell version v4.0.5 connecting to: mongodb://127.0.0.1:27017/?...
0
votes
0answers
155 views

Mongo - Failed to set up listener: socketexception: cannot assign requested address

So mongodb worked on my ubuntu device, then I reinstalled Apache2 and installed mysql/php and some other minor tools and Mongo stopped working. When I would type mongo: Error: couldn't connect to ...
0
votes
0answers
67 views

Failing to install MongoDB on ubuntu 18.04

Trying to install the community version of mongo on ubuntu 18.04. Below are my unsuccessful attempts , if you don't have time - just go directly to the result in attempt #3. Attempt #1 Using ...
0
votes
0answers
28 views

Problem uninstalling MongoDB [duplicate]

I am trying to uninstall MongoDB and I have this message: E: Malformed entry 1 in list file /etc/apt/sources.list.d/mongodb-org-3.4.list (parse URI) Could you please... Explain to me what is going ...
0
votes
1answer
102 views

Mongdb uninstall (and install) failures: Already uninstalled or something broken?

I tried to install MongoDB, but something went wrong with the installation and I want to install it again. Unfortunately, I get errors when attempting to remove/pruge, and I suspect those errors might ...
1
vote
1answer
587 views

Cannot open MongoDB Compass in Ubuntu 18.10

installed successfully MongoDB Compass on Ubuntu 18.10. But when I try to run it, it refuses to start without showing anything. I am a newbie in MongoDB. What to do?
0
votes
1answer
354 views

Install (and use) mongodb 3.4.17 on ubuntu 18.04

I need to recover/read a database created in mongo 3.14. However currently I use the ubuntu 18.04 os. I tried following the steps given by the official guide: https://docs.mongodb.com/manual/tutorial/...
0
votes
1answer
73 views

openssl and PKG_CONFIG_PATH problems while configuring mongolite package from R

The package "mongolite" won't install itself when trying in RStudio. So I downloaded it from https://cran.r-project.org/web/packages/mongolite/, extracted it in the folder which manages the R packages ...
-1
votes
0answers
57 views

Connect amazon ec2 instance from local Ubuntu machine

I have an Amazon ec2 instance. I need to connect this ec2 instance from a local config file. Say for instance I tried the following URL and I wrote API using node.js: url:'mongodb://username:password@...
2
votes
0answers
286 views

Mongodb don't start on Ubuntu 18.04

I don't know why this is happening. I have installed mongodb but It is not starting. I have resinstall many times with not success: here is the error when I check mongo status: ● mongodb.service - ...
0
votes
2answers
471 views

Kubuntu 18.04 upgrade has broken MongoDB server?

It seems that after upgrading to Ubuntu/ Kubuntu 18.04 has broken my MongoDB server. I have tried to reinstall Mongo but I still can't start it as before: $ sudo apt-get install mongodb-server $ ...
0
votes
1answer
523 views

Still cannot start the Mongodb on Ubuntu 14.04?

I installed the Mongodb following this tutorial, but it cannot be started. I have tried all methods on this site related to my problem: 1) remove the lock file. 2) create the db directory as stated ...
0
votes
1answer
56 views

How to resolve the following “keyserver receive failed” issue on my Ubuntu 18.04 LTS while installing MongoDB?

I am trying to install MongoDB on my system. I try to follow the steps given in the following website - Click Here I am getting the 'keyserver not available' error as given in the image above due to ...
0
votes
0answers
47 views

MongoDB Community Server Installation Issue

I am trying to install MongoDB as per instructions provided in their documentation. I am getting this error and I am unable to resolve this issue. Any help in this regards will be highly appreciated: ...
0
votes
0answers
100 views

How to connect to a mongodb database used by a snap application

I have installed rocketchat with snap on an ubuntu16.04 server. I need to manually connect to database and change some data, How can I do that?
1
vote
0answers
313 views

MongoDb Installation

First Step: ubuntu@ip-10-10-1-196:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 sudo: unable to resolve host ip-10-10-1-196 Executing: gpg --ignore-time-conflict --no-...
0
votes
1answer
520 views

Installing mongodb php7 extension version 1.5.0 in ubuntu server

I installed mongodb php extension using apt-get install php7.0-mongodb when I check, it shows that the installed version is 1.2.0, But, I want to install version 1.5.0 So, I tried apt-get install ...
0
votes
0answers
234 views

Unable to connect to MongoDB server

I’m new to MongoDB server. I have installed the MongoDB server 3.6.6 in my system. When I try to connect to the MongoDB server, it shows the following error: MongoDB shell version v3.6.6 connecting ...
0
votes
0answers
821 views

How can I install both curl (depending on libcurl4) and mongodb (depending on libcurl3)?

On Lubuntu 18.04, I have installed mongodb, by following https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#install-mongodb-community-edition sudo apt install -y mongodb-org mongodb-...
0
votes
0answers
185 views

How to install MongoDB 3.0 in Ubuntu 18

I wonder if it is possible to install MongoDB 3.0 in Ubuntu 18. I've seen some commands in StackExchange or other place like sudo apt-get install -y mongodb-org=3.0.15 mongodb-org-server=3.0.15 ...
1
vote
0answers
58 views

Glassfish - MongoDB - Too many open files

I am having a backend deployment running on a glassfish server, the frontend of my application sends REST request when it needs some data. Also the backend is connected to a mongo database: ...
0
votes
0answers
27 views

Lampp Apache cant connect wih PostgreSql server

Basicly i want to Lampp's Apache web server as main webserver for 3 Databases type that i have mysql (bundling with Lampp default),PostgreSql-10 (fully installed and tested),MongoDb (not yet started ...
0
votes
0answers
548 views

Mongo DB Compass - Not Loading

I have installed Mongo DB compass 1.14.6 stable edition on ubuntu 14.04, After running the command to start the compass, it is not loading. Below is the code information: DEBUG=* mongodb-compass; ...
1
vote
1answer
662 views

How to install mongodb 2.6.11 on ubuntu 18 LTS

I Have tried to install MongoDB 2.6.11 on Ubuntu 18 LTS but unable to install it. always it installs MongoDB 3.6 version. cloud you please help.
0
votes
1answer
921 views

./mongod: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory

This error displays while opening mongod: adel@Xubuntu-pc:~/mongo/bin$ ./mongod --dbpath ~/mongo-data/ ./mongod: error while loading shared libraries: libcurl.so.4: cannot open shared object ...
0
votes
1answer
216 views

Do I need to change a command which adds a repository for xenial in Ubuntu 18.04?

I am following https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#install-mongodb-community-edition to install mongodb on Lubuntu 18.04 sudo apt-key adv --keyserver hkp://keyserver....
0
votes
1answer
111 views

16.04 How do I stop Mongo 3.x.x and 4.x.x from complaining about WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'?

A default installation of MongoDB on Ubuntu 18.04 gives the following warning about transparent hugepage defrag. How to deal with it?
1
vote
2answers
3k views

Packages have unmet dependencies on 18.04 upon mongodb install

So, I tried to install mongo on my local machine, a Ubuntu 18.04. The installation came to a halt with an error The following packages have unmet dependencies: mongodb-org : Depends: mongodb-org-...
0
votes
1answer
324 views

Robomongo robo 3t - poorly readable text

I do not know if this is a bug or setting. I downloaded the program (robo3t) to work with the mongo database. I use Ubuntu 16.04 and have very little text. I use FullHD and the text is hardly ...
0
votes
1answer
402 views

Can't install Latest mongodb On Ubuntu 16.04.4 LTS xenial

I am trying to install the latest version of mongodb (which is currently 3.6) by following official documentation given here . But it always install version 2.6. Specific version install also not ...
0
votes
0answers
36 views

Mongod on digitalocean ubuntu 16.04

I have an application running on a digitalocean droplet (ubuntu 16.04). I have installed mongodb and used monogrestore to get my db on the server. I have a firewall with http, https, OpenSSH, ...
0
votes
1answer
531 views

Unable to start mongod on Ubuntu 16.04 - “Unable to connect to Upstart”

This is the status of mongod service Unable to connect to upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused How can I fix it?
1
vote
0answers
58 views

Why Mongodb package gives not found on Ubuntu? [closed]

I can install other packages like htop and when I want to install MongoDB I check for sources.list: grep "^deb " /etc/apt/sources.list deb http://us.archive.ubuntu.com/ubuntu/ zesty main restricted ...
0
votes
1answer
9k views

Oracle 12 C DB installation on Ubuntu 18.04 LTS

Someone please guide me how to install Oracle 12c DB on Ubuntu 18.04 LTS and Informatica ETL Tool. Thank you very much.
0
votes
0answers
276 views

Unable install mongo 3.6 on raspberry pi

I've installed Ubuntu 16.04.2 LTS on raspberry pi 3 and i'm trying to install Mongo 3.6 on raspberry pi followed steps as per this link But i've ended up with following error Cannot execute binary ...
0
votes
0answers
36 views

Trouble with connection mongodb to c project

IDE: Netbeans Error message I downloaded mongodb c driver and installed it using instruction from official site, but now when I trying to compile my project I get an error: ...
2
votes
1answer
1k views

MongoDB after-installation error, couldn't connect to server

I was following the (https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/) instructions to install MongoDB. After completing till 4th step, i.e., after running the following command:- ...
0
votes
2answers
74 views

What is the recommended place to install nodejs and mongodb in ubuntu 16.04 LTS?

I was trying to install node js in my Ubuntu 16.04 LTS , First I have downloaded latest distribution from Nodejs_Official_Page_Link .It got downloaded at my Downloads folder.then I have copied it from ...
0
votes
0answers
23 views

Should I remove files in /etc/rc*.d that correspond to software I no longer have installed and if I should then how to do so?

In the /etc/rc*.d directories I have files such as *01mongodb, *01postgresqland *01mysql, but I have neither of these DB softwares installed anymore. As I know these files tell the system what to do ...
3
votes
1answer
709 views

MongoDB ServerSelectionTimeoutError: No replica set members available for replica set name “abc”

I'm an experienced programmer, but a Python, Ubuntu, and Linux newbie. I apologize, as well, if this question would be better in a different forum. I am working on a project in Python using PyCharm,...
1
vote
1answer
76 views

Mongo - non yaml config format to specify mmapv1 engine?

I am using mongo 3.4.7. My mongodb.conf file is in the format of foo = bar and not yaml. I need to switch the engine to mmapv1 because I like to use ext4 filesystem. Does anyone know the default ...
0
votes
0answers
187 views

update problem mongodb 3.2.19

in my lxc container I try to update mongodb from 3.2.18 to 3.2.19 but there are some problems below. Inside the container ubuntu 14.04 is running. Setting up mongodb-org-shell (3.2.19) ... Setting ...
-1
votes
1answer
898 views

install robot 3t :- usr/local/bin/robomongo/lib’: Directory not empty [duplicate]

I am trying to install robo3t in ubuntu 14.04 new in linux Those commands work wget https://download.robomongo.org/0.9.0/linux/robomongo-0.9.0-linux-x86_64-0786489.tar.gz tar -xvzf robomongo-0.9.0-...
5
votes
1answer
4k views

Can't reinstall MongoDB on Ubuntu 17

I uninstalled before MongoDB but now I can't install it due to this error: dpkg-deb: error: subprocess paste was killed by signal (Broken pipe). I ran this command -> sudo apt-get install -y mongodb-...
2
votes
1answer
6k views

Unable to run Studio-3T 2018.1.0 In Ubuntu Mate 16.04

I am new to the Linux environment, and now I am facing some problems while running MongoDB GUI Studio 3T. I have installed 'Studio-3T 2018.1.0' in Ubuntu Mate 16.04 First I extracted the tar file ...
0
votes
0answers
102 views

Mongodb service fails with status 2

I am using Ubuntu 17.10 and Mongov3.4.7. Everytime I try to start the mongodb service it fails with status=2. I have seen posts where people say that there was something wrong in configuration, but I ...
0
votes
0answers
11 views

mongodb giving dpkg broken install error [duplicate]

I have been following this documentation to install mongodb on ubuntu 17.10 but the installation was not successfull. Later I tried this many times nothing happened, tried to completely remove ...
1
vote
1answer
507 views

Mongodb installation issue on ubuntu 14.04

I can't install mongodb on 14.04.5 LTS, Trusty Tahr. I've tried several times but nothing helps! :( Following this documentation 1. $ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --...