Live Blog

Monit Error /sys/class/block/root/stat

Content Error or Suggest an Edit

Notice a grammatical error or technical inaccuracy? Let us know; we will give you credit!

Introduction

You’re receiving the following messages in your /var/log/monit.log file.

filesystem statistic error: cannot read /sys/class/block/root/stat -- No such file or directory

Fix

You just need to upgrade Monit from version 5.26 to 5.27.2

Bug #1959166 “Monit filesystem module fails on Ubuntu 20.04 on A…” : Bugs : monit package : Ubuntu
Monit is unable to read filesystem information on Ubuntu 20.04 on EC2 instances. I get the error – [UTC Jan 21 07:52:31] error : filesystem statistic error: cannot read /sys/class/block/root/stat — No such file or directory This is with the latest version. # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focal # monit –version This is Monit version 5.26.0 Built with ssl, with ipv6, with com…
bugs.launchpad.net

0 Shares: