[debian-mysql] Bug#918988: Maybe I can help with this issue

codiflow debian-mailinglist at codiflow.de
Thu May 9 16:54:39 BST 2019


Hey together,

I also have this issue and maybe I can get you some more infos to debug
it.

First of all some infos on my system:

OS Name: Linux x86_64
Version: 4.9.0-9-amd64
Distribution: Debian GNU/Linux 9 (stretch) [Note: Was upgraded from 8
to 9 with dist-upgrade]
PHP Version: 5.6.39
Web Server: Apache/2.4.25 (Debian) [Note: Using nginx with reverse
proxy to redirect to the Apache server]
Database Server: Debian 9.8 version 10.1.38-MariaDB-0+deb9u1
Version OCSReports: 2.6RC

After updating the package libmariadbclient18 to a version greater than
10.1.26-0+deb9u1 every inventory request to the ocsinventory server
fails.

Downgrading the package is not working anymore - it was a dirty
workaround for about two months:
apt-get install libmariadbclient18=10.1.26-0+deb9u1
apt-mark hold libmariadbclient18

---

In the nginx log I get this followed by an 502 Bad Gateway error:
2019/05/09 17:30:10 [error] 24057#24057: *1 upstream prematurely closed
connection while reading response header from upstream, client:
X.X.X.X, server: XXX.de, request: "GET /ocsinventory HTTP/1.1",
upstream: "http://127.0.0.1:8080/ocsinventory", host: "XXX.de"

In the apache log I get this error:
[Thu May 09 17:30:10.968682 2019] [core:notice] [pid 1403] AH00052:
child pid 5479 exit signal Segmentation fault (11)

Running `dpkg -S /usr/lib/x86_64-linux-gnu/libmys*` returns:
libmysqlclient18:amd64: /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
libmysqlclient18:amd64: /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0
libmysqlclient18:amd64: /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so.18
libmysqlclient18:amd64: /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so.18.0.0

Running `dpkg -S /usr/lib/x86_64-linux-gnu/libmaria*` returns:
libmariadbclient18:amd64: /usr/lib/x86_64-linux-gnu/libmariadbclient.so.18
libmariadbclient18:amd64: /usr/lib/x86_64-linux-gnu/libmariadbclient.so.18.0.0

Running `nm -D /usr/lib/x86_64-linux-gnu/libmariadbclient.so.18 | egrep
'lib(mariadb|mysql)client_18'` returns:
0000000000000000 A libmariadbclient_18
0000000000000000 A libmysqlclient_18

Running `nm -D /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 | egrep
'lib(mariadb|mysql)client_18'` returns:
0000000000000000 A libmysqlclient_18

Removing of libmysqlclient18 would also remove php5-mysql* which is not
what I want.

Removing of libmariadbclient18 would also remove dovecot-mysql*
libdbd-mysql-perl* libsasl2-modules-sql* postfix-mysql*
proftpd-mod-mysql* sysbench* which is not what I want.

I don't know what I can try to get some new results with this issue -
but maybe I can help with my system do debug it further.

If you need more information just tell me.

Regards
codiflow



More information about the pkg-mysql-maint mailing list