Error while Setup production server

@krnkris its showing same error.

sudo: systemctrl: command not found

@clarkej I have checked all my config. All config are there.

@vivin_joseph

Sry I was wrong.

What is you operating system?

Check if systemd package installed:

sudo dpkg -l | grep systemd

@krnkris its ubuntu 16.04

@vivin_joseph

Please tell the outcom of this check:

Check if systemd package installed:

sudo dpkg -l | grep systemd

sudo dpkg -l | grep systemd

@krnkris when i run the comand its showing

ii libpam-systemd:amd64 229-4ubuntu16 amd64 system and service manager - PAM module
ii libsystemd0:amd64 229-4ubuntu16 amd64 systemd utility library
ii libsystemd0:i386 229-4ubuntu16 i386 systemd utility library
ii python3-systemd 231-2build1 amd64 Python 3 bindings for systemd
ii systemd 229-4ubuntu16 amd64 system and service manager
ii systemd-shim 9-1bzr4ubuntu1 amd64 shim for systemd
ii systemd-sysv 229-4ubuntu16 amd64 system and service manager - SysV links

@vivin_joseph

It seem to be OK, but may be corrupted.

Try to reinstall:

sudo apt-get reinstall systemd

Then update UBUNTU:
suso apt-get update
sudo apt-get upgrade

Then try again:

systemctl restart supervisor

@krnkris is this ok now

ii libpam-systemd:amd64 204-5ubuntu20.26 amd64 system and service manager - PAM module
ii libsystemd-daemon0:amd64 204-5ubuntu20.26 amd64 systemd utility library
ii libsystemd-login0:amd64 204-5ubuntu20.26 amd64 systemd login utility library
ii systemd-services 204-5ubuntu20.26 amd64 systemd runtime services
ii systemd-shim 6-2bzr1 amd64 shim for systemd

@vivin_joseph

It should be version 21.2 on UBUNTU 16.04:
ii libpam-systemd:amd64 229-4ubuntu21.2 amd64 system and service manager - PAM module
ii libsystemd0:amd64 229-4ubuntu21.2 amd64 systemd utility library
ii python3-systemd 231-2build1 amd64 Python 3 bindings for systemd
ii systemd 229-4ubuntu21.2 amd64 system and service manager
ii systemd-sysv 229-4ubuntu21.2 amd64 system and service manager - SysV links

Please run:
suso apt-get update
sudo apt-get upgrade

Then try again:

systemctl restart supervisor

@vivin_joseph

How you mean is OK now? :face_with_raised_eyebrow:

Are you solved it?

@vivin_joseph

If you solved please mind to close this issue.

not solved