[MDEV-26461] Unit name mariadb-extra@.socket Created: 2021-08-21  Updated: 2022-02-11  Resolved: 2021-08-22

Status: Closed
Project: MariaDB Server
Component/s: Packaging
Affects Version/s: 10.6.4
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Alex Assignee: Daniel Black
Resolution: Not a Bug Votes: 0
Labels: mariadb-extra, need_feedback, socket
Environment:

Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
x86_64
Linux 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux


Issue Links:
Relates
relates to MDEV-27715 what mariadb has with nginx? Closed

 Description   

When you stop and start mariadb.service, the following messages appear:


Failed to get properties: Unit name mariadb-extra@.socket is neither a valid invocation ID nor unit name.
Failed to get properties: Unit name mariadb@.socket is neither a valid invocation ID nor unit name.


The same messages appear when stopping/starting any service.
Why do these messages appear and how can I remove them?



 Comments   
Comment by Daniel Black [ 2021-08-22 ]

Systemd units, sockets and services, with @ in the name are multi-instance systemd services. They are started with mariadb@name.socket and mariadb-extra@name.socket.

They are not installed enabled https://github.com/MariaDB/server/blob/10.6/debian/rules#L185-L191 and shouldn't be enabled or started without the name. If you have these enabled try to disable with systemctl disable mariadb-extra@.socket

Starting/stopping mariadb.service should have no dependency to the multi-instance names.

docs https://mariadb.com/kb/en/systemd/#multi-instance-socket-activation

Comment by Alex [ 2021-08-22 ]

Daniel, thanks for trying to help. I'll check if I can turn them off.
But sockets were installed off. I found mentions of this in the /var/log/apt/term.log:

New version of the configuration file is installed  /etc/mysql/mariadb.conf.d/50-server.cnf …
mariadb-extra.socket is a disabled or a static unit, not starting it.
mariadb-extra.socket is a disabled or a static unit, not starting it.

And another moment. A similar error appears on 2 machines - remote VDS and Debian 10 on a Windows 10 Hyper-V virtual machine.
This means that this behavior of mariadb is typical ...

Comment by Alex [ 2021-08-22 ]

As I assumed, disabling the sockets did nothing. It's not that they are running. They have been disabled since installation.
But why does systemctl check mariadb sockets when stopping any service?

Comment by Daniel Black [ 2021-08-22 ]

I don't know. I checked the systemd source code and this message not longer is part of it.

Comment by Alex [ 2021-08-22 ]

Daniel, thank you. I will wait for a response from a person who understands what the problem is. Or he knows how to solve it.

Comment by Alex [ 2021-08-22 ]

I just don't understand why you closed my question? I would not be so disgraced if I were you ...
Don't know the answer and make a smart face? I'm sorry that I told you all these compliments - you are nothing. Just 0. Empty space.

Comment by Daniel Black [ 2021-08-22 ]

You got a harmess, though slightly confusing message, that isn't generated by MariaDB, that we can't change. I'm not smirking on this. I just don't see a problem to be solved. And there are other bugs that crash and cause people real trouble.

Comment by Alex [ 2021-08-22 ]

Developer ... Developers don't say "I don't know." Empty space ... And we still use what these "I don't know."

Comment by Alex [ 2021-08-22 ]

Just put on your glasses. You are blind. I will solve this problem myself. Without you - the developers ...
It was not pleasant to talk! Good luck.

Comment by Tuukka Pasanen [ 2022-02-11 ]

Please see MDEV-27715 if it's working for you and feel free to contribute if it's not fixing problem.

Generated at Thu Feb 08 09:45:30 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.