[ClusterLabs] alert is not executed

Klaus Wenninger kwenning at redhat.com
Tue Feb 16 05:02:09 EST 2021


On 2/15/21 10:24 PM, Lentes, Bernd wrote:
>
> ----- On Feb 15, 2021, at 9:00 PM, kgaillot kgaillot at redhat.com wrote:
>
>> On Mon, 2021-02-15 at 20:47 +0100, Lentes, Bernd wrote:
>>> ----- On Feb 15, 2021, at 4:53 PM, kgaillot kgaillot at redhat.com
>>> wrote:
>>>
>>>> I'd check for SELinux denials.
>>>>
>>> SELinux isn't installed and the AppArmor service does not start.
>>> I changed the subject.
>> Maybe "exec 2>/some/file" and "set +x" as the first things in the
>> script.
>>
> That does not help. The script is not executed.
> I inserted a "logger" command, but there is nothing written to the syslog.
> And the atime of the script is not updated.
Hmm ... one thing coming to my mind:
Was that script previously executed via a ClusterMon-resource running as
root?
User for alerts is 'hacluster'. Thought we made that configurable but what I
found in the code it always goes for 'hacluster'.

Klaus
>
> Bernd
> Helmholtz Zentrum München
>
> Helmholtz Zentrum Muenchen
> Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
> Ingolstaedter Landstr. 1
> 85764 Neuherberg
> www.helmholtz-muenchen.de
> Aufsichtsratsvorsitzende: MinDir.in Prof. Dr. Veronika von Messling
> Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Kerstin Guenther
> Registergericht: Amtsgericht Muenchen HRB 6466
> USt-IdNr: DE 129521671
>
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/



More information about the Users mailing list