[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37631: service zabbix-server (and zabbix-agent) fails starting (cann

From: Gábor Boskovits
Subject: bug#37631: service zabbix-server (and zabbix-agent) fails starting (cannot run as root!)
Date: Sat, 5 Oct 2019 18:04:27 +0200

Hello Giovanni,

Giovanni Biscuolo <address@hidden> ezt írta (időpont: 2019. okt. 5., Szo, 14:51):
Giovanni Biscuolo <address@hidden> writes:

> executive summary: do we really need to start zabbix_server in
> foreground mode?

executive answer: I don't know **but** this is not the cause of my issue

> --8<---------------cut here---------------start------------->8---


>            (service zabbix-server-service-type
>                   (zabbix-server-configuration
>                    (include-files '("/root/secrets/zabbix-server-dbpass"))
>                    (log-type "file")))

ouch!... looking at the console (it's a remote VM so I usually connect
via ssh only, but today I also connected via SPICE):

--8<---------------cut here---------------start------------->8---
zabbix_server [1942]: /root/secrets/zabbix-server-dbpass: [13] Permission denied
--8<---------------cut here---------------end--------------->8---

unfortunately shepherd did not catch this error (due to foreground
mode?) in syslog :-(

I just had to adjust the permissions to allow zabbix (I allowed the
zabbix group to traverse /root/secrets and read the file) to read the
included file

this now works with both zabbix 4.2.0 and zabbix 4.2.7


Thanks! Gio'

Giovanni Biscuolo

Xelera IT Infrastructures

Can we consider this resolved then?

Best regards,
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21

reply via email to

[Prev in Thread] Current Thread [Next in Thread]