vip-manager command not found

In this troubleshooting guide we learn how to fix vip-manager command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

vip-manager: command not found

or when using sudo you get the following error message

sudo: vip-manager: command not found

Solutions to vip-manager: command not found

How To Fix vip-manager: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu vip-manager is provided by vip-manager package.

vip-manager is:

This package needs to be installed and configured on all nodes of a Patroni PostgreSQL cluster. Given a Patroni namespace and scope in etcd or consul, the vip-manager service monitors that namespace for leader changes due to failovers or switchovers and adds or removes the VIP on the local node accordingly.

To fix this problem, we can install more using the command below.

sudo apt-get -y install vip-manager

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install vip-manager.

sudo apt -y install vip-manager

Or if you have aptitude installed you can use the following command.

sudo aptitude install vip-manager

Summary

In this tutorial we learn how to fix vip-manager command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.