fence_ilo3 command not found

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

Introduction

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

fence_ilo3: command not found

or when using sudo you get the following error message

sudo: fence_ilo3: command not found

Solutions to fence_ilo3: command not found

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

In Ubuntu fence_ilo3 is provided by fence-agents-base package.

fence-agents-base is:

Red Hat Fence Agents is a collection of scripts to handle remote power management for several devices. They allow failed or unreachable nodes to be forcibly restarted and removed from the cluster.

This package contains the Fence Agents that are curated by the Ubuntu Server team.

Fence agents included: fence_idrac: IPMI fence_ilo3: IPMI fence_ilo4: IPMI fence_ilo5: IPMI fence_imm: IPMI fence_ipmilan: IPMI fence_ipmilanplus: IPMI fence_mpath: multipath persistent reservation fence_sbd: sbd fence_scsi: SCSI persistent reservation fence_virsh: virsh

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

sudo apt-get -y install fence-agents-base

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

You can also use apt command to install fence-agents-base.

sudo apt -y install fence-agents-base

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

sudo aptitude install fence-agents-base

Summary

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