Comment 2 for bug 1999293

Revision history for this message
Lupe Christoph (lupe) wrote :

The problem is that /var/run/mysqld is missing:
16050 openat(AT_FDCWD, "/var/run/mysqld/mysqlx.sock.lock", O_RDWR|O_CREAT|O_EXCL, 0600 <unfinished ...>
16050 write(2, "2022-12-12T15:35:22.524277Z 0 [ERROR] [MY-011300] [Server] Plugin mysqlx reported: 'Setup of socket: '/var/run/mysqld/mysqlx.sock' failed, can't create lock file /var/run/mysqld/mysqlx.sock.lock'\n", 196 <unfinished ...>
16050 openat(AT_FDCWD, "/var/run/mysqld/mysqld.sock.lock", O_RDWR|O_CREAT|O_EXCL, 0600 <unfinished ...>
16050 write(2, "2022-12-12T15:35:22.625912Z 0 [ERROR] [MY-010273] [Server] Could not create unix socket lock file /var/run/mysqld/mysqld.sock.lock.\n", 132 <unfinished ...>

After some searching, I found this on GitHub:
https://github.com/systemd/systemd/issues/9814

This command resolved the problem:
systemctl daemon-reexec

No idea what systemd was doing.