Jump to content

EEA Service not starting on Ubuntu 22.04.4 LTS


Go to solution Solved by kurco,

Recommended Posts

Hi,

I hope I am in the right forum...
anyway, when I first installed ESET everything worked just like it should, but after maybe a week or so the eea.service didn't start up anymore.
When I looked in the log first he told me: /bin/sh: 1: gcc-12: not found
So I installed gcc using finding this hint: https://support.eset.com/en/kb8571-eset-service-fails-to-start-when-installing-eset-server-security-or-eset-endpoint-antivirus-for-linux-on-ubuntu-2204-or-mint-21

When I try to start it now, he is telling me the following:

 check_start.sh[16629]: warning: the compiler differs from the one used to build the kernel
 check_start.sh[16629]:   The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
 check_start.sh[16629]:   You are using:           gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
 check_start.sh[16642]: In file included from ./include/linux/linkage.h:7,
 check_start.sh[16642]:                  from ./include/linux/fs.h:5,
 check_start.sh[16642]:                  from /var/opt/eset/eea/eventd/eset_rtp/ertp_memory_dev.h:24,
 check_start.sh[16642]:                  from /var/opt/eset/eea/eventd/eset_rtp/ertp_event.h:24,
 check_start.sh[16642]:                  from /var/opt/eset/eea/eventd/eset_rtp/ertp_cache.h:24,
 check_start.sh[16642]:                  from /var/opt/eset/eea/eventd/eset_rtp/ertp_dev.c:21:
 check_start.sh[16642]: /var/opt/eset/eea/eventd/eset_rtp/ertp_dev.c: In function ‘ertp_dev_init’:
 check_start.sh[16642]: ./include/linux/export.h:29:22: error: passing argument 1 of ‘class_create’ from incompatible pointer type [-Werror=incompatible-pointer-types]
 check_start.sh[16642]:    29 | #define THIS_MODULE (&__this_module)
 check_start.sh[16642]:       |                     ~^~~~~~~~~~~~~~~
 check_start.sh[16642]:       |                      |
 check_start.sh[16642]:       |                      struct module *
 check_start.sh[16642]: /var/opt/eset/eea/eventd/eset_rtp/ertp_dev.c:412:29: note: in expansion of macro ‘THIS_MODULE’
 check_start.sh[16642]:   412 |   ertp_class = class_create(THIS_MODULE, ESET_RTP);
 check_start.sh[16642]:       |                             ^~~~~~~~~~~
 check_start.sh[16642]: In file included from ./include/linux/device.h:31,
 check_start.sh[16642]:                  from /var/opt/eset/eea/eventd/eset_rtp/ertp_dev.c:29:
 check_start.sh[16642]: ./include/linux/device/class.h:230:54: note: expected ‘const char *’ but argument is of type ‘struct module *’
 check_start.sh[16642]:   230 | struct class * __must_check class_create(const char *name);
 check_start.sh[16642]:       |                                          ~~~~~~~~~~~~^~~~
 check_start.sh[16642]: /var/opt/eset/eea/eventd/eset_rtp/ertp_dev.c:412:16: error: too many arguments to function ‘class_create’
 check_start.sh[16642]:   412 |   ertp_class = class_create(THIS_MODULE, ESET_RTP);
 check_start.sh[16642]:       |                ^~~~~~~~~~~~
 check_start.sh[16642]: ./include/linux/device/class.h:230:29: note: declared here
 check_start.sh[16642]:   230 | struct class * __must_check class_create(const char *name);
 check_start.sh[16642]:       |                             ^~~~~~~~~~~~
 check_start.sh[16642]: cc1: some warnings being treated as errors
 check_start.sh[16635]: make[4]: *** [scripts/Makefile.build:251: /var/opt/eset/eea/eventd/eset_rtp/ertp_dev.o] Fehler 1
 check_start.sh[16633]: make[3]: *** [scripts/Makefile.build:488: /var/opt/eset/eea/eventd/eset_rtp] Fehler 2
 check_start.sh[16422]: make[2]: *** [/usr/src/linux-headers-6.5.0-26-generic/Makefile:2039: /var/opt/eset/eea/eventd] Fehler 2
 check_start.sh[16421]: make[1]: *** [Makefile:234: __sub-make] Fehler 2
 check_start.sh[16418]: make: *** [Makefile:35: modules] Fehler 2
 systemd[1]: eea.service: Control process exited, code=exited, status=2/INVALIDARGUMENT

Can anybody help me?

Thank you in advance :)

 

Link to comment
Share on other sites

  • ESET Staff

Hi d4rk463,

what version of Endpoint are you using? 

Regards,
Kurco

Link to comment
Share on other sites

Thanks for replying.
Maybe a dumb question, but:

How do I find that out, if it is not running?

Link to comment
Share on other sites

  • ESET Staff
Posted (edited)

You can get version from installed packages list.

dpkg --list | grep eea


 

Edited by kurco
Link to comment
Share on other sites

  • ESET Staff
  • Solution
Posted (edited)

You are using version which is already in limited support and it's not working with latest kernel on Ubuntu 22.04. To resolve this issue, you need to upgrade to 10.1 or 10.2 (this is the best option, because 10.1 is also in limited support). 
 

Versions support could be checked here: Is my ESET product supported? | ESET End of Life | ESET End of Life

Edited by kurco
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...