ercm.blogg.se

Install htop centos
Install htop centos










install htop centos

Tail the log and you should see at the end of it: tail -f /var/log/mongodb/mongodb. Remove the lock file if it's still there: # rm /var/lib/mongodb/mongod.lock To fix: # chown -R mongodb:mongodb /var/lib/mongodb

install htop centos install htop centos

The steps for downloading htop from the source are as follows. rwxr-xr-x 1 mongodb nogroup 0 Jan 20 09:14 mongod.lock Now, install htop using the below command: sudo apt-get install -y htop Installing htop Compiling from source We’ll need ncurses, as well as development tools/build necessary, to compile htop from the source. So, went to check permissions: ls -l /var/lib/mongodbĭrwxr-xr-x 2 mongodb mongodb 4096 Jan 20 09:14 journalĭrwxr-xr-x 2 root root 4096 Jan 20 09:11 local T09:14:58.288-0800 error couldn't open file /var/lib/mongodb/local.ns terminating T09:14:58.288-0800 couldn't open /var/lib/mongodb/local.ns errno:13 Permission denied Removing the lock file didn't help, and we were getting errors in the log file like: T09:14:58.210-0800 warning couldn't write to / rename file /var/lib/mongodb/journal/prealloc.0: couldn't open file /var/lib/mongodb/journal/prealloc.0 for writing errno:13 Permission denied This can also happen if your file permissions get changed somehow.












Install htop centos