Description | This article explains why a FortiEDR Linux collector may fail to complete an upgrade and how to resolve such cases. |
Scope | FortiEDR Linux. |
Solution |
In some cases, a Linux collector would fail to upgrade properly. Going through the logs in /var/log/messages, the following error may be found:
Apr 16 01:27:51 <hostname> FortiEDRCollector[85993]: /opt/FortiEDRCollector/scripts/fortiedr_service_script: line 485: lsmod: command not found
The collector's upgrade requires the kmod package to be installed, which is responsible for handling various operations related to Linux modules. The above error refers to lsmod not being found, which is one of the symlinks pointing to the actual kmod binary:
[root@localhost bin]# cd /usr/sbin
To resolve this issue, the kmod package will need to be installed in the system before the collector can be upgraded. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.