Good morning, i have a question.
I have a centos 8 running with eraagent and when i try to start the agent it gives me this failure:
eraagent.service: Can't open PID file /var/run/eraagent.pid (yet?) after start: No such file or directory
My startscript:
# ESET Management Agent
#
# Copyright (c) 2023 ESET, spol. s r.o.
[Unit]
Description=ESET Management Agent
After=network.target
[Service]
Environment="MODMAPDIR=/var/opt/eset/RemoteAdministrator/Agent/"
Environment="HOME=/var/opt/eset/RemoteAdministrator/Agent/"
Type=forking
KillMode=process
PIDFile=/var/run/eraagent.pid
ExecStart=/opt/eset/RemoteAdministrator/Agent/setup/eraagent start
Restart=on-abort
RestartSec=60
[Install]
WantedBy=multi-user.target
I have selinux aktivated on that box.
As soon i activate setenforce 0 it works like a charme.
I tried:
cd /opt/eset/RemoteAdministrator/Agent/setup/selinux/
./eraagent.sh --update
But no luck here.
Could you please help me out here?
Marcus