when I tried to install RocketChat in Ubuntu 16.04
In Command Prompt I enter.
systemctl enable mongodAfter That I got The issue.
systemctl: command not foundHow to solve this?
71 Answer
- First you need to check if systemd package is installed -
sudo dpkg -l | grep systemd. - If not then install it by hands
sudo apt-get install systemd. But if it does it might be damaged, so you may try to reinstall itsudo apt-get install --reinstall systemd. - If the package is installed, even after reinstallation it does not work, list the full path of the files inside this package
sudo dpkg -L systemd. Maybe binary files are located in a directory that is not included into $PATH variable.