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
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 ;)
Well, someone complained they should be more to the point. *cough*
Cheers,
Franco
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.
"