|
From: | Jan-Henrik Haukeland |
Subject: | Re: unixsocket test of MariaDB (mysql) with unix_socket authentication plugin installed |
Date: | Thu, 25 Jul 2024 17:57:54 +0200 |
I’m pretty sure the problem would be fixed if you added a username and password to perform authentication, especially if the new MariaDB installation uses authentication. if failed unixsocket /tmp/mysql.sock protocol mysql username "foo" password “bar" timeout 90 seconds then restart Without username/password monit will attempt a so-called anonymous login which seems to be denied (probably a good thing). If this failed, well then monit, is configured to ‘restart' MariaDB. Using ‘alert’ would be less intrusive here.
Seems that the stock configuration for Monit, done by the Debian maintainer (and inherited by Ubuntu) has a few gotchas. It is unfortunate. He also added systems hardening which limit Monit and also could cause problems. |
[Prev in Thread] | Current Thread | [Next in Thread] |