corosync-qnetd-tool command not found

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

Introduction

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

corosync-qnetd-tool: command not found

or when using sudo you get the following error message

sudo: corosync-qnetd-tool: command not found

Solutions to corosync-qnetd-tool: command not found

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

In Ubuntu corosync-qnetd-tool is provided by corosync-qnetd package.

corosync-qnetd is:

Corosync-qnetd is a daemon running outside of the cluster with the purpose of providing a vote to the corosync-qdevice model net. It’s designed to support multiple clusters and be almost configuration and state free. New clusters are handled dynamically and no configuration file exists. It’s also able to run as non-root user - which is recommended. Connection between the corosync-qdevice model net client can be optionally configured with TLS client certificate checking. The communication protocol between server and client is designed to be very simple and allow backwards compatibility.

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

sudo apt-get -y install corosync-qnetd

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

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

sudo apt -y install corosync-qnetd

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

sudo aptitude install corosync-qnetd

Summary

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