Kloxo - pure-ftpd: relocation error: pure-ftpd: symbol my_make_scrambled_password, version libmysqlclient_15 not defined in file libmysqlclient.so.15 with link time reference



Kloxo, by default install  MySQL 5.0.92  and PHP 5.2.x version when we setup the server. Since the Kloxo developement is stopped, there is no direct way to update php and mysql versions Anyway I have upgraded one of my Kloxo (LXAdmin) server to  MySQL 5.5.36 and PHP 5.4.25 by following the given article.


http://linuxadmintips4u.blogspot.com/2014/02/kloxo-upgrade-php-version-to-php-54x.html

All of my websites are working fine in the server and I noted that the FTP port is listening but can't use the FTP server. I was getting the following error each time when I tried connecting to the FTP server.

[root@kloxo ~]# ftp localhost
Connected to localhost.
pure-ftpd: relocation error: pure-ftpd: symbol my_make_scrambled_password, version libmysqlclient_15 not defined in file libmysqlclient.so.15 with link time reference
ftp> 

Usually these all errors can be fixed by just upgrading/downgrading the pure-ftpd or by installng/updating mysql server.  But here in this case, it is using lxcentre's rpm package and it's development is stopped.

[root@kloxo ~]# rpm -qa | grep pure-ftpd
pure-ftpd-1.0.35-0.lxcenter.0

There is no rpm packages to install and solve this problem. But it can be fixed by just downloading the following pure-ftpd binary file and replace it with the existing Kloxo pure-ftpd binary.

[root@kloxo src]#  cd /usr/local/src
[root@kloxo src]# wget -O pure-ftpd.tgz https://sites.google.com/site/sudosuin/pure-ftpd.tgz
[root@kloxo src]# tar -xzf pure-ftpd.tgz
[root@kloxo src]# cp -f /usr/local/src/pure-ftpd /usr/sbin/pure-ftpd

Now try to connect to FTP again,

[root@kloxo ~]# ftp localhost
Connected to localhost.
421 Sorry, but that file doesn't exist: [/etc/ssl/private/pure-ftpd.pem]
ftp>


Since the binary is compiled to work with TLS/SSL so you must copy the file to the ssl certificate:

[root@kloxo ~]# cp /etc/pki/pure-ftpd/pure-ftpd.pem /etc/ssl/private/pure-ftpd.pem

At this time, everything will be working fine.. Test it yourself..!! :)

[root@kloxo ~]# ftp localhost
Connected to localhost.
220-Welcome to Pure-FTPd.
220-You are user number 1 of 5000 allowed.
220-Local time is now 00:32. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
500 This security scheme is not implemented
500 This security scheme is not implemented
KERBEROS_V4 rejected as an authentication type
Name (localhost:root):

That's it..!!!

This entry was posted in by Arun Ghosh. Bookmark the permalink.

2 thoughts on “Kloxo - pure-ftpd: relocation error: pure-ftpd: symbol my_make_scrambled_password, version libmysqlclient_15 not defined in file libmysqlclient.so.15 with link time reference ”

  1. yes Work, but! no found correctly mysql, it's need upgrade.

    you connect client mysql say error
    MySQL Error: #1558 - Column count of mysql.proc is wrong. Expected 20, found 16.

    go for phpnmyadmin database in privilegies

    say
    #1054 - Unknown column 'Event_priv' in 'field list'