[MDEV-13940] Pure-ftpd-mysql doesn't start Created: 2017-09-28  Updated: 2019-05-21  Resolved: 2017-09-28

Status: Closed
Project: MariaDB Server
Component/s: Platform Debian, Scripts & Clients
Affects Version/s: 10.2.9
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Iaina Randrianarivony Assignee: Sergei Golubchik
Resolution: Won't Fix Votes: 0
Labels: None
Environment:

Debian Jessie 8.9


Issue Links:
Relates
relates to MDEV-12889 libmariadb3 no version information av... Closed
relates to MDEV-13588 /usr/lib/x86_64-linux-gnu/libmariadbc... Closed

 Description   

Hello,

After upgrade Mariadb 10.1 to 10.2, I have lost services postfix, dovecot and pure-ftpd-mysql.
To fix postfix and dovecot, I reinstall libmysqlclient18 with apt-get -f install. Now postfix and dovecot work fine but pure-ftpd-mysql doesn't start with error :

/etc/init.d/pure-ftpd-mysql start (code=exited, status=127)
/usr/sbin/pure-ftpd-mysql-virtualchroot: relocation error: /usr/sbin/pure-ftpd-mysql-virtualchroot: symbol my_make_scrambled_password, version libmysqlclient_18 not defined in file libmysqlclient.so.18 with link time reference

How to fix it please ?

Thank you.



 Comments   
Comment by Sergei Golubchik [ 2017-09-28 ]

A short answer is — it's a Debian bug, report it to Debian, please.

A full explanation is in this comment.

Comment by Omar Khalil [ 2018-01-09 ]

A fast solution is to upload the old libmariadbclient.so.18.0 from Mariadb 10.1 installed from debian repo and make a symlink to libmariadbclient.so.18.

This is the currently the only way I'm able to use pure-ftpd with Mariadb 10.2

Comment by Sergei Golubchik [ 2018-01-09 ]

Alternatively, you can build pure-ftpd from sources (apt-get build-depapt-get sourcedpkg-buildpackage). While I did not try that myself, I've seen that pure-ftpd detects the availability of my_make_scrambled_password automatically, so it should not use that function if the library does not provide it.

Comment by Martin Mair [ 2019-05-18 ]

Unfortunately it seems not really to be solved: I installed MariaDB 10.4.4 and then pure-ftpd on debian and got same error message:

pure-ftpd-mysql[30599]: Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -O clf:/var/log/pure-ftpd/transfer.log -u 1000 -8 UTF-8 -J HIGH -E -B
pure-ftpd-mysql[30599]: /usr/sbin/pure-ftpd-mysql: relocation error: /usr/sbin/pure-ftpd-mysql: symbol my_make_scrambled_password, version libmariadbclient_18 not defined in file libmariadbclient.so.18 with link time reference

I cant remove or purge pure-ftpd because "Package 'pure-ftpd' is not installed, so not removed".
Retrying it error messages like starting pure-ftpd

Comment by Sergei Golubchik [ 2019-05-21 ]

It is not solved, see above the resolution says "Won't fix". It's not MariaDB bug, it's not pure-ftpd bug. It's debian bug, debian builds pure-ftpd in a way that inroduces this error, even though pure-ftpd can be built so that this error won't happen.

The first comment under the bug has a link to the detailed explanation.

Generated at Thu Feb 08 08:09:36 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.