corosync-vqsim command not found

In this troubleshooting guide we learn how to fix corosync-vqsim command not found error message

Introduction

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

corosync-vqsim: command not found

or when using sudo you get the following error message

sudo: corosync-vqsim: command not found

Solutions to corosync-vqsim: command not found

How To Fix corosync-vqsim: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu corosync-vqsim is provided by corosync-vqsim package.

corosync-vqsim is:

The Corosync Cluster Engine is a Group Communication System with additional features for implementing high availability within applications. The project provides four C Application Programming Interface features:

  • A closed process group communication model with virtual synchrony guarantees for creating replicated state machines.
  • A simple availability manager that restarts the application process when it has failed.
  • A configuration and statistics in-memory database that provide the ability to set, retrieve, and receive change notifications of information.
  • A quorum system that notifies applications when quorum is achieved or lost.

This package contains the Corosync votequorum simulator. It can simulate multiple nodes, network splits and a basic quorum device.

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

sudo apt-get -y install corosync-vqsim

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

You can also use apt command to install corosync-vqsim.

sudo apt -y install corosync-vqsim

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

sudo aptitude install corosync-vqsim

Summary

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