Monit fails to start after updating to 26.7.10

Started by Maurice, Today at 02:02:36 PM

Previous topic - Next topic
Just to start the unavoidable thread. Yes, I did read the release notes, so I wasn't caught completely off guard. 😆

<118>[27] /usr/local/etc/monitrc:25: A program with arguments must be quoted -- unexpected argument '-c'
<118>[27] Monit exiting due to parsing errors in the configuration file.
<118>[27] /usr/local/etc/rc.d/monit: WARNING: failed to start monit

Will investigate later and update this thread.

Cheers
Maurice
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).

Quote from: Maurice on <strong>Today</strong> at 02:02:36 PMYes, I did read the release notes, so I wasn't caught completely off guard. 😆
Ha!  At least it was nicely called out ;)
N5105 | 8/250GB | 4xi226-V | Community

Well, someone complained they should be more to the point. *cough*


Cheers,
Franco

Today at 02:39:24 PM #3 Last Edit: Today at 02:44:56 PM by sopex
My guess is that you have some custom action that uses exec?

Monit now fails on unquoted program arguments....

"
Fixed: Stray text after a program is now a syntax error. Before, the parser silently added it to the program's arguments. For example, a cron specification without the every keyword became an argument of the stop program above it. An unquoted program is still accepted, but only without arguments. A program with arguments must be quoted. Monit now reports "A program with arguments must be quoted" at the line of the argument. This also catches a Monit keyword used as an argument, as in stop program = /etc/init.d/foo stop. An unquoted program now also works in the form start program = /path. Before, this gave a syntax error.
"
potatonetworks.com