Hello,

Thank you for taking the time to file the bug.

From LP: #1899248, comment #2:
from your logs:

Error: Unable to shut down server with process id 21763

2020-10-10T05:35:05.369830Z 0 [ERROR] [MY-011292] [Server] Plugin mysqlx 
reported: 'Preparation of I/O interfaces failed, X Protocol won't be accessible'
2020-10-10T05:35:05.370488Z 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'

It reminds me of a different transient issue that occurred to some users in the 
past.
Is this issue reproducible or does it go away on a retry of the package upgrade?

P.S. the reason it is shown "every time" might be due to an upgrade
tried "every time". In that case chances are that a local config change
made it unable to start but a service restart is required for an
upgrade. Was there any config change that could explain that?

---

And from comment #3:
On upgrading a service this service has to be restarted to pick up the fixes.
Rather rarely a real issue occurs that the newer version does e.g. fail with 
the formerly working configuration.
But most of the time what happens is, that a service was installed, but stays 
unconfigured or experimented with but left in a broken state.

Now on any update of the related packages that service has to be restarted, but 
since its config is incomplete/faulty it fails to restart.
Therefore the update of that package has to consider itself incomplete.

Depending on your particular case there are two solutions:
- either remove the offending package if you don't want to continue using it.
- Or if you do want to keep it please fix the configuration so that re-starting 
the service will work.

Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I'm marking this bug as Incomplete.

If indeed this is a local configuration problem, you can find pointers
to get help for this sort of problem here:
http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it
helpful to read "How to report bugs effectively"
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful
if you would then provide a more complete description of the problem,
explain why you believe this is a bug in Ubuntu rather than a problem
specific to your system, and then change the bug status back to New.


** Summary changed:

- package mysql-server-8.0 8.0.27-0ubuntu0.20.04.1 failed to install/upgrade: 
installed mysql-server-8.0 package post-installation script subprocess returned 
error exit status 1
+ Setup of socket: '/var/run/mysqld/mysqlx.sock' failed, can't create lock file 
/var/run/mysqld/mysqlx.sock.lock

** Changed in: mysql-8.0 (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1949042

Title:
  Setup of socket: '/var/run/mysqld/mysqlx.sock' failed, can't create
  lock file /var/run/mysqld/mysqlx.sock.lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1949042/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to