So when I type: sudo update-rc.d mongod defaults
I get:
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_MEASUREMENT = "he_IL.UTF-8", LC_PAPER = "he_IL.UTF-8", LC_MONETARY = "he_IL.UTF-8", LC_NAME = "he_IL.UTF-8", LC_ADDRESS = "he_IL.UTF-8", LC_NUMERIC = "he_IL.UTF-8", LC_TELEPHONE = "he_IL.UTF-8", LC_IDENTIFICATION = "he_IL.UTF-8", LC_TIME = "he_IL.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). update-rc.d: error: unable to read /etc/init.d/mongod When I type:sudo update-rc.d mongod enable
I get:
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_MEASUREMENT = "he_IL.UTF-8", LC_PAPER = "he_IL.UTF-8", LC_MONETARY = "he_IL.UTF-8", LC_NAME = "he_IL.UTF-8", LC_ADDRESS = "he_IL.UTF-8", LC_NUMERIC = "he_IL.UTF-8", LC_TELEPHONE = "he_IL.UTF-8", LC_IDENTIFICATION = "he_IL.UTF-8", LC_TIME = "he_IL.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). update-rc.d: error: cannot find a LSB script for mongod I also found out that: sudo ls -al /etc/init.d/ | grep mongod returns nothing. Any ideas what's going on?
systemctl status mongodb