Comment 24 for bug 1435823

Revision history for this message
gene (geneyang) wrote :

This bug is appear AGAIN !!!

# systemd-tmpfiles --create
# ls -d /var/run/mysqld
/var/run/mysqld

# ls -dF /var/run/mysqld
/var/run/mysqld/

# service mysql start
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.

# ls -dF /var/run/mysqld
ls: cannot access '/var/run/mysqld': No such file or directory

# systemctl status mysql.service
● mysql.service - MySQL Community Server
   Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2020-04-08 13:20:58 CST; 1min 10s ago
  Process: 15705 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAILURE)

Apr 08 13:20:58 localhost systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Apr 08 13:20:58 localhost systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.
Apr 08 13:20:58 localhost systemd[1]: Stopped MySQL Community Server.
Apr 08 13:20:58 localhost systemd[1]: mysql.service: Start request repeated too quickly.
Apr 08 13:20:58 localhost systemd[1]: mysql.service: Failed with result 'exit-code'.
Apr 08 13:20:58 localhost systemd[1]: Failed to start MySQL Community Server.

# mysqld --version
mysqld Ver 5.7.29-0ubuntu0.18.04.1 for Linux on x86_64 ((Ubuntu))

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic