ESET Online Help

Search English
Select the topic

Using the noexec flag

If you have the /var and /tmp paths mounted with noexec flag, the installation of ESET Endpoint Antivirus for Linux fails with the following error message:

Invalid value of environment variable MODMAPDIR. Modules cannot be loaded.

Workaround

The commands below are executed in a Terminal window.

1.Create a folder where exec is enabled with the following owner and permission set:

2.Execute the following commands:

a.If SELinux is enabled, set the context for this folder:

3.Compile the essential modules:

4.Set MODMAPDIR in /usr/lib/systemd/system/eea.service by adding a line to the [Service] block:

5.Reload systemd service configuration:

6.Restart the eea service: