Rhel 9 seems to be creating and then removing the /run/zabbix directory and then failing. I also tell systemd to create the /run directory and set ownership to zabbix via the systemd override.conf file. It seems to work fine on earlier versions of rhel-9, but not 9.3. It seems to complain about an openssl lib.We are running openssl-3.0.7-24.el9.x86_64 and it's devel package is installed with it. Anyone else see this? I can post a clip of the debug log.
Ad Widget
Collapse
Zabbix agent fails startup on rhel 9
Collapse
X
-
It is installed with the rpm from the repo, with modifications to the unit override files to make sure the run directory is created with the proper uid. I have added RuntimeDirectoryPreserve to the systemd unit file and that has made it so the directory doesn't disappear, but it seems to be removing the pid file. Systemd is restarting it over and over. What I see in journalctl is this: Cant open PID file zabbix_agentd.pid after start Operation not permitted.Comment
-
Sorry for the double post... chrome was giving me grief...
The directory is there with the right permissions, but the pid file keeps disappearing. I suspect it's the result of something else. And I see cannot initialize OpenSSL library in the zabbix agentd log file. I'm not sure why it's complaining about openssl.Comment
-
I think I have figured this out, to some extent. One of the things we were testing is a ReaR backup/restore, but it didn't dawn on me that this was related. Everything worked fine except systemd for zabbix. I'm guessing the backup didn't preserve the proper state for systemd in this case. I have rebuilt the machine from scratch and it works fine now. My apologies for wasting your time. Thanks.Comment
Comment