fajarbagus 0 Posted September 22, 2023 Posted September 22, 2023 we installed eset file security on linux seever redhat 8.7 treal time protection is not working, after we checked the status of the efs service the information is like this Cannot open file /lib/modules/4.18.0-425.3.1.el8.x86_64/eset/efs/eset_rtp.ko: No such file or directory Please provide a concrete solution
ESET Staff J.J. 26 Posted September 22, 2023 ESET Staff Posted September 22, 2023 Hello This error message means that you don't have installed kerne, kernel-headers and kernel-devel packages of same version, or some of this packages are missing. It is needed to have installed all three packages with matching version. They are needed for compilation of kernel module. To list installed packages you can use: yum list kernel* Once you check the packages you will see what you need to install. This issue is also documented here: https://help.eset.com/essl/10.0/en-US/?realtime_protection_cannot_start.html Thank you
fajarbagus 0 Posted September 22, 2023 Author Posted September 22, 2023 based on the information you provided for the kernel kernel-headers and kernel-devel are the same, here I send the screenshot
ESET Staff J.J. 26 Posted September 22, 2023 ESET Staff Posted September 22, 2023 (edited) Hello They are not the same version they are different version and that is the exactly what error message says we are looking for sources here /lib/modules/4.18.0-425.3.1.el8.x86_64/ and 4.18.0-425.3.1.el8.x86_64 is the version of kernel what can be seen on screenshot kerel 4.18.0-425.3.1.el8 and kernel devel and kernel headers are different version 4.18.0-425.13.1.el8 kerel-devel 4.18.0-425.13.1.el8 kernel-headers 4.18.425.13.1.el8 Solution is to install headers and kernel-devel of same version for example you can use command yum install kernel-devel-`uname -r` kernel-headers-`uname -r` and than restart the service If they are in the repository it should be possible to install them Edited September 22, 2023 by J.J.
Solution fajarbagus 0 Posted September 22, 2023 Author Solution Posted September 22, 2023 (edited) Dear J.J. can help to write a clearer command because we type yum install kernel-devel-`uname -r` kernel-headers-`uname -r` the result is like this [root@Redhat8 admin]# yum install kernel-devel-'uname -r' kernel-headers-'uname -r' Update the Subscription Management repository. Last metadata expiration check: 0:51:17 ago on Fri Sep 22, 2023 07:01:10 GMT. No match for argument: kernel-devel-uname -r No match for argument: kernel-headers-uname -r Error: Could not find match: kernel-devel-uname -r kernel-headers-uname -r [root@Redhat8 admin]# Edited September 22, 2023 by fajarbagus
fajarbagus 0 Posted September 25, 2023 Author Posted September 25, 2023 Dear J.J. can help to write a clearer command because we type yum install kernel-devel-`uname -r` kernel-headers-`uname -r` the result is like this [root@Redhat8 admin]# yum install kernel-devel-'uname -r' kernel-headers-'uname -r' Update the Subscription Management repository. Last metadata expiration check: 0:51:17 ago on Fri Sep 22, 2023 07:01:10 GMT. No match for argument: kernel-devel-uname -r No match for argument: kernel-headers-uname -r Error: Could not find match: kernel-devel-uname -r kernel-headers-uname -r [root@Redhat8 admin]#
avielc 56 Posted September 28, 2023 Posted September 28, 2023 On 9/25/2023 at 7:23 AM, fajarbagus said: Dear J.J. can help to write a clearer command because we type yum install kernel-devel-`uname -r` kernel-headers-`uname -r` the result is like this [root@Redhat8 admin]# yum install kernel-devel-'uname -r' kernel-headers-'uname -r' Update the Subscription Management repository. Last metadata expiration check: 0:51:17 ago on Fri Sep 22, 2023 07:01:10 GMT. No match for argument: kernel-devel-uname -r No match for argument: kernel-headers-uname -r Error: Could not find match: kernel-devel-uname -r kernel-headers-uname -r [root@Redhat8 admin]# You are using the wrong quotes. JJ mentioned escape quotes that will make "uname -r" to run as a command and insert the reply in place. to skip it to the actual results you need run "uname -r" alone, get the information and paste it instead of the mention of that in the yum command. e.g. : the command should be yum install kernel-devel-3.10.0-1160.83.1.el7.x86_64 kernel-headers-3.10.0-1160.83.1.el7.x86_64 This is what I get, hope it helps.
Recommended Posts