mongodb 3.4.3 Permission denied wiredtiger_kv_engine.cpp 267 error with ubuntu 16
Question I'm having problems lauching mongod as a service:
How is it possible that it works when I do sudo mongod -f /etc/mongod.conf but when launching it with sudo service mongod start I get an error in the log Assertion: 28595:13: Permission denied src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 267
I'm running mongodb on ubuntu 16
I followed exactly the instructions in the mongodb documentation for installation of that version, so is this a bug? Any suggestions how to solve this are appreciated.…
Read more ⟶Virtualenv: workon command not found
Question I have installed virtualenv and the virtualwrapper via apt-get, I got to a point where I created a virtual enviroment but however later on during that same day when I used the workon command it was not found. I further on went and inspected my home directory and .virtualenvs dir and the virtualenv I created earlier were still there.
Answer Solving this problem took two steps:
Add this to your .…
Read more ⟶Installing venv for python3 in WSL (Ubuntu)
Question I am trying to configure venv on Windows Subsystem for Linux with Ubuntu.
What I have tried:
1) Installing venv through pip (pip3, to be exact)
pip3 install venv
I get the following error
ERROR: Could not find a version that satisfies the requirement venv (from versions: none)
ERROR: No matching distribution found for venv
2) Installing venv through apt and apt-get
sudo apt install python3-venv
In this case the installation seems to complete, but when I try to create a virtual environment with python3 -m venv .…
Read more ⟶Building R package and error "ld: cannot find -lgfortran"
Question I'm trying to install the package lars. Ubuntu 11.04 Natty 64-bit. From building I get:
* installing *source* package âlarsâ ...
** libs
gfortran -fpic -O3 -pipe -g -c delcol.f -o delcol.o
gcc -shared -o lars.so delcol.o -lgfortran -lm -L/usr/lib64/R/lib -lR
/usr/bin/ld: cannot find -lgfortran
collect2: ld returned 1 exit status
make: *** [lars.so] Error 1
ERROR: compilation failed for package âlarsâ
gfortran is installed and when I run gfortran --version I get…
Read more ⟶How to listen only to localhost on MongoDB
Question MongoDB Suggests that the easy way to handle security is to run it in a trusted environment, given that, "in such a configuration, one must be sure only trusted machines can access database TCP ports."
What would be the best approach for doing this? Is there a way for mongodb to natively only listen to localhost?
I'm using ubuntu 10.10
Answer Add the following line into mongodb.conf:
bind_ip = 127.…
Read more ⟶Upgrading mongodb has no effect and still shows the old version
Question Following are the commands which I used to upgrade my mongodb version from 2.6.9 to latest, but its still showing me the previous version. Let me know what I am doing wrong with the upgrading process. The problem is that mongod -version still shows the old version installed after upgrade.
Docs which I refer to - Mongodb Docs Steps I followed -
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "…
Read more ⟶Installing pylibmc on Ubuntu
Question When running
pip install pylibmc
on Ubuntu, I get the following error:
_pylibmcmodule.h:42:36: fatal error: libmemcached/memcached.h: No such file or directory
Answer sudo apt-get install libmemcached-dev zlib1g-dev
…
Read more ⟶