Jump to content

Cannot open file /lib/modules/4.18.0-425.3.1.el8.x86_64/eset/efs/eset_rtp.ko: No such file or directory


Go to solution Solved by fajarbagus,

Recommended Posts

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

photo_2023-09-22_15-00-43.jpg

photo_2023-09-22_15-01-33.jpg

Link to comment
Share on other sites

  • ESET Staff

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

Link to comment
Share on other sites

  • ESET Staff

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 by J.J.
Link to comment
Share on other sites

  • Solution

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]#

 

photo_2023-09-22_20-02-31.jpg

Edited by fajarbagus
Link to comment
Share on other sites

photo_2023-09-22_20-02-31.jpg.2ac71b488e5da75f004f2af999421828.jpgDear 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]#

Link to comment
Share on other sites

On 9/25/2023 at 7:23 AM, fajarbagus said:

photo_2023-09-22_20-02-31.jpg.2ac71b488e5da75f004f2af999421828.jpgDear 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. :

image.png.6f9a519da075f1ce3d051bb8f52a844a.png

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. 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...