ipvsadm command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ipvsadm: command not found
or when using sudo you get the following error message
sudo: ipvsadm: command not found
Solutions to ipvsadm: command not found
How To Fix ipvsadm: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ipvsadm is provided by ipvsadm package.
ipvsadm is:
The Linux Virtual Server (lvs or IPVS) is a highly scalable and highly available server built on a cluster of real servers. The architecture of the cluster is transparent to end users, and the users see only a single virtual server.
This package provides some support programs necessary to implement a virtual server under Linux. With the addition of the mon and heartbeat packages it is possible to implement a complete high-availability solution for Linux.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ipvsadm
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ipvsadm.
sudo apt -y install ipvsadm
Or if you have aptitude installed you can use the following command.
sudo aptitude install ipvsadm
Summary
In this tutorial we learn how to fix ipvsadm command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.