Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

error during global initialization mongodb

==> check /var/log/mongodb and /var/lib/mongodb for mongondb with (user==>mongodb) and the permissions.

sudo chown mongodb:mongodb /var/log/mongodb/mongod.log
sudo chown mongodb:mongodb /var/lib/mongodb/*

==> then start/restart the mongod service

sudo service mongod start
sudo service mongod restart

Comment

PREVIOUS NEXT
Code Example
Shell :: git checkout previous commit HEAD 
Shell :: bash delete env variable 
Shell :: grep remove duplicates 
Shell :: Ubuntu open terminal in current folder with shortcut 
Shell :: comprimir carpeta linux comando 
Shell :: linux commands 
Shell :: to import sass files you first need to install node-sass. react 
Shell :: setup virtualenv python windows 
Shell :: how to unadd gitr file 
Shell :: git tag a previous commit 
Shell :: powershell run bat file 
Shell :: navigate to folder mac1 
Shell :: how to run debian on docker 
Shell :: Input is required, but Expo CLI 
Shell :: scheduler ubuntu cmd 
Shell :: fetch all git branches 
Shell :: geopandas install windows 
Shell :: apt list only security updates 
Shell :: powershell webrequest 
Shell :: nginx redirect to port 
Shell :: tsc: command not found on arch 
Shell :: $() vs `` bash 
Shell :: create jar with maven commandline 
Shell :: open file in finder from terminals 
Shell :: Required Windows feature(s) not enabled : Hyper-V and Containers 
Shell :: install github cli 
Shell :: how to make a script run on boot linux 
Shell :: install homebrew on linux 
Shell :: TinyMCE vuejs 
Shell :: pip problem linux 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =