[debian-mysql] Bug#939863: mariadb-server-10.3: won't start without libjemalloc1 from jessie

Cory Petkovsek cory at adaptableit.com
Mon Sep 9 16:19:39 BST 2019


Package: mariadb-server-10.3
Version: 1:10.3.17-0+deb10u1

After removing a bunch of "unnecessary" libraries yesterday I
discovered that mariadb would not restart. After many seconds of
failure, the only worthwhile log entry is a vague message that
suggests it would like to have libjemalloc.so.1, but doesn't really
need it.

Turns out mysqld will not start without it installed. But libjemalloc1
doesn't exist in stable. I downloaded and installed
libjemalloc1_3.6.0-3_amd64.deb from Jessie and mysql started right up.

So mariadb-server-10.3 needs to depend on libjemalloc1 which needs to
be put back in stable. Or have it compiled for and depend on
libjemalloc2, which is in stable.



# /etc/init.d/mysql start
[....] Starting MariaDB database server: mysqld . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
 failed!
Sep  9 07:15:50 hs /etc/init.d/mysql[8072]: 190909 07:15:50
mysqld_safe --malloc-lib '/usr/lib/x86_64-linux-gnu/libjemalloc.so.1'
can not be read and will not be used
Sep  9 07:16:20 hs /etc/init.d/mysql[8510]: 0 processes alive and
'/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping'
resulted in
Sep  9 07:16:20 hs /etc/init.d/mysql[8510]: #007/usr/bin/mysqladmin:
connect to server at 'localhost' failed
Sep  9 07:16:20 hs /etc/init.d/mysql[8510]: error: 'Can't connect to
local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Sep  9 07:16:20 hs /etc/init.d/mysql[8510]: Check that mysqld is
running and that the socket: '/var/run/mysqld/mysqld.sock' exists!



More information about the pkg-mysql-maint mailing list