Hello,
I'm hoping someone can point me in the correct direction. I've installed it via the rpm (We use an automated deploy via a script). The agent works in RHEL 7+, but on RHEL 6 it won't start. When investigating, I found the below messages in the zabbix_agent2.log file:
2025/02/20 10:22:10.952732 Starting Zabbix Agent 2 (7.0.5)
2025/02/20 10:22:10.953252 OpenSSL library (OpenSSL 1.0.1e-fips 11 Feb 2013) initialized
2025/02/20 10:22:10.953308 Cannot initialize PID file: cannot open PID file [/run/zabbix/zabbix_agent2.pid]: o
pen /run/zabbix/zabbix_agent2.pid: no such file or directory.
When did a bit of reading into this issue and have tried the below:
Verified that SELinux is not running
Verified that /run/zabbix folder exists
Verified that Zabbix has write permissions to the appropriate folders (It has full permissions)
Tried repointing the pid generation to 'PidFile=/tmp/zabbix_agent2.pid'. This didn't work.
Uninstalled and reinstalled the agent, no change. Also did a full server reboot during this part.
If anyone has any ideas, I would be extremely grateful.
I'm hoping someone can point me in the correct direction. I've installed it via the rpm (We use an automated deploy via a script). The agent works in RHEL 7+, but on RHEL 6 it won't start. When investigating, I found the below messages in the zabbix_agent2.log file:
2025/02/20 10:22:10.952732 Starting Zabbix Agent 2 (7.0.5)
2025/02/20 10:22:10.953252 OpenSSL library (OpenSSL 1.0.1e-fips 11 Feb 2013) initialized
2025/02/20 10:22:10.953308 Cannot initialize PID file: cannot open PID file [/run/zabbix/zabbix_agent2.pid]: o
pen /run/zabbix/zabbix_agent2.pid: no such file or directory.
When did a bit of reading into this issue and have tried the below:
Verified that SELinux is not running
Verified that /run/zabbix folder exists
Verified that Zabbix has write permissions to the appropriate folders (It has full permissions)
Tried repointing the pid generation to 'PidFile=/tmp/zabbix_agent2.pid'. This didn't work.
Uninstalled and reinstalled the agent, no change. Also did a full server reboot during this part.
If anyone has any ideas, I would be extremely grateful.
Even 7 is out of support by now..
Comment