when I tried to install RocketChat in Ubuntu 16.04
In Command Prompt I enter.
systemctl enable mongod
After That I got The issue.
systemctl: command not found
How to solve this?
when I tried to install RocketChat in Ubuntu 16.04
In Command Prompt I enter.
systemctl enable mongod
After That I got The issue.
systemctl: command not found
How to solve this?
sudo dpkg -l | grep systemd.sudo apt-get install systemd. But if it does it might be damaged, so you may try to reinstall it sudo apt-get install --reinstall systemd.sudo dpkg -L systemd. Maybe binary files are located in a directory that is not included into $PATH variable.sudo apt-get update after the system was installed? I think you have some problem with your repositories.
– M. Dm.
Dec 22 '17 at 09:41
apt-get install --reinstall systemd and see if any of the paths from dpkg -L systemd is in you echo $PATH.
– pegasuspect
Aug 26 '20 at 17:30
apt-get install systemd command to the dockerfile, and rerun the docker. This solved the issue for me
– Nir
Sep 26 '25 at 08:26
dpkg-query -S /bin/systemctl. – Liso Dec 21 '17 at 08:11whereis systemctl? – Saurav Kumar Dec 21 '17 at 09:01cat /etc/os-releaseandls -al $(which init). – N0rbert Dec 21 '17 at 17:08