ledmon command not found

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

Introduction

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

ledmon: command not found

or when using sudo you get the following error message

sudo: ledmon: command not found

Solutions to ledmon: command not found

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

In Ubuntu ledmon is provided by ledmon package.

ledmon is:

ledmon and ledctl are userspace tools designed to control storage enclosure LEDs. The user must have root privileges to use these tools.

These tools use the SGPIO and SES-2 protocols to monitor and control LEDs. They been verified to work with Intel(R) storage controllers (i.e. the Intel(R) AHCI controller) and have not been tested with storage controllers of other vendors (especially SAS/SCSI controllers).

For backplane enclosures attached to ISCI controllers, support is limited to Intel(R) Intelligent Backplanes.

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

sudo apt-get -y install ledmon

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

You can also use apt command to install ledmon.

sudo apt -y install ledmon

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

sudo aptitude install ledmon

Summary

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