fence_virtd command not found

In this troubleshooting guide we learn how to fix fence_virtd command not found error message

Introduction

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

fence_virtd: command not found

or when using sudo you get the following error message

sudo: fence_virtd: command not found

Solutions to fence_virtd: command not found

How To Fix fence_virtd: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu fence_virtd is provided by fence-virtd package.

fence-virtd is:

The fencing framework consists of the agent (fence_virt) and the host daemon (fence_virtd). The fence_virtd host daemon is responsible for processing fencing requests from fence_virt agents running in virtual machines and routing the requests to the appropriate physical machine for action.

This package contains the fence_virtd daemon to be used on the physical host.

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

sudo apt-get -y install fence-virtd

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

You can also use apt command to install fence-virtd.

sudo apt -y install fence-virtd

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

sudo aptitude install fence-virtd

Summary

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