[debian-mysql] Bug#866788: mariadb-server does not start
foxb at abv.bg
Sat Jul 1 17:46:45 UTC 2017
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
Package install (previously installed mysql package did not start, and dpkg was reporting the reinstall is needed. On reinstall apt-get reported that package could not be downloaded so I've installed mariadb)
* What exactly did you do (or not do) that was effective (or
Lokked at status
service mariadb status
mariadb.service - MariaDB database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2017-07-01 11:15:25 EDT; 2h 22min ago
Process: 8305 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=237/KEYRING)
Jul 01 11:15:25 as514 systemd: Starting MariaDB database server...
Jul 01 11:15:25 as514 systemd: mariadb.service: Failed at step KEYRING spawning /usr/bin/install: Permission denied
Jul 01 11:15:25 as514 systemd: mariadb.service: Control process exited, code=exited status=237
Jul 01 11:15:25 as514 systemd: Failed to start MariaDB database server.
Jul 01 11:15:25 as514 systemd: mariadb.service: Unit entered failed state.
Jul 01 11:15:25 as514 systemd: mariadb.service: Failed with result 'exit-code'.
as root I've executed /usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld
It executed without error
As work arround for now I run it with mysqld_safe
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-042stab123.8 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mariadb-server depends on:
ii mariadb-server-10.1 10.1.24-6
mariadb-server recommends no packages.
mariadb-server suggests no packages.
-- no debconf information
Debian is running in OpenVZ container
More information about the pkg-mysql-maint