haproxyctl command not found
In this troubleshooting guide we learn how to fix haproxyctl command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
haproxyctl: command not found
or when using sudo you get the following error message
sudo: haproxyctl: command not found
Solutions to haproxyctl: command not found
How To Fix haproxyctl: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu haproxyctl is provided by haproxyctl package.
haproxyctl is:
Wrapper to make life with HAProxy a little more convenient. Features:
- enable and disable servers on the fly
- change server’s weight
- show HAProxy status in CLI
- formats server weight and backends in a readable way
- provides Nagios and Cloudkick health checks
To fix this problem, we can install more using the command below.
sudo apt-get -y install haproxyctl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install haproxyctl.
sudo apt -y install haproxyctl
Or if you have aptitude installed you can use the following command.
sudo aptitude install haproxyctl
Summary
In this tutorial we learn how to fix haproxyctl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.