I'm trying to install kaa(IOT platform) on installing the dependencies getting an error on executing the command-
$ sudo systemctl start mongodb
error- Failed to start mongodb.service: Unit mongodb.service is masked.
I'm trying to install kaa(IOT platform) on installing the dependencies getting an error on executing the command-
$ sudo systemctl start mongodb
error- Failed to start mongodb.service: Unit mongodb.service is masked.
Unit mongodb.service is masked.
So unmask it:
sudo systemctl unmask mongodb
Why are some systemd services in the "masked" state? explains masking.
With 3+ version of mongodb. You dont have to start mongodb
but you just have to start mongod. So proper way to start mongod will be
sudo systemctl start mongod
Failed to start mongod.service: Unit mongod.service not found
. Change mongod
to mongodb
and hte result is Failed to start mongodb.service: Unit mongodb.service is masked.
– Craig Hicks
Jun 10 '18 at 17:06
sudo systemctl unmask mongodb
. Silly, silly, silly. But at least it's documented. Sort of...
– paulsm4
Oct 17 '19 at 18:28
/tmp
into some "magic" directory in Never-Never Land... – paulsm4 Oct 17 '19 at 18:24