Aw: Re: Auto-reload of configuration files

"Robert Ehrenleitner" <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <trinity-5f9a84cd-17db-428c-9f75-a913a2c3ea37-1590736297616@3c-app-gmx-bap65>
To add to @Lutz' response to make it somewhat more clear:

What user is the process running with? "monit reload" must be executed with the same user, usually root. So, it is necessary to do "sudo monit reload" if you are not already root.

Kind regards,

rexkogitans

Gesendet: Mittwoch, 27. Mai 2020 um 22:37 Uhr

Von: "Lutz Mader" <[email protected]>

An: "This is the general mailing list for monit" <[email protected]>

Betreff: Re: Auto-reload of configuration files

Hello Eric,

are you using the command to reload in the same user context you used to

start monit.

> I didn't have luck calling 'monit reload' from within monit.

All the time I try to reload the configuration from a different user, I

get an error message (I use MacOS).

Reinitializing monit daemon

Cannot signal the monit daemon process -- Operation not permitted

With regards,

Lutz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.