ProFTPd :error: unable to bind to local socket: Address already in use Debian 10.
Issue réouverte pour ProFTPd : https://github.com/proftpd/proftpd/issues/914 Le copié collé du problème rencontré : sudo dpkg -l| grep proftpd ii proftpd-basic 1.3.6-6 amd64 Versatile, virtual-hosting FTP daemon - binaries More info : I manage to connect to my FTP from my internet box from home. I have an error from the wifi of my mobile phone (with the operator SFR) The investigation brings me back to this issue: From FileZilla : |Statut : Connexion à 139.99.173.195:21... Statut : Connexion établie, attente du message d'accueil... Réponse : 220 ProFTPD Server (Debian) [::ffff:139.99.173.195] Commande : AUTH TLS Réponse : 502 AUTH TLS exécuté avec succès Commande : AUTH SSL Erreur : Impossible de lire depuis le socket : ECONNRESET - Connexion réinitialisée par un pair Erreur : Impossible d'établir une connexion au serveur | *Impossible de lire depuis le socket : ECONNRESET* Erreur from log file : |2020-02-26 16:18:10,383 mod_tls/2.7[6537]: TLS/TLS-C requested, starting TLS handshake 2020-02-26 16:18:10,753 mod_tls/2.7[6537]: unable to accept TLS connection: system call error: [104] Connexion ré-initialisée par le correspondant 2020-02-26 16:18:10,753 mod_tls/2.7[6537]: TLS/TLS-C negotiation failed on control channel | |# This socket error raised me to this previously reported error: sudo proftpd --configtest Checking syntax of configuration file proftpd[16691]: mod_ctrls/0.9.5: error: unable to bind to local socket: Address already in use | *mod_ctrls/0.9.5: error: unable to bind to local socket: Address already in use* |# The following folder is supposed to contain the proftpd.sock file according to the configuration of ProFTPd from the conf file. # It is currently empty when I consult it. # I manually create the file but that does not change this error: cd /var/run/proftpd sudo touch proftpd.sock # A proftpd.sock file already exists in the directory /run/ # A proftpd.sock file already exists in the directory /run/proftpd/ | |# I am trying to display the list of ProFTPd modules: sudo ftpdctl lsmod ftpdctl: error contacting server using '/run/proftpd.sock': Connection refused | *sudo ftpdctl lsmod ftpdctl: error contacting server using '/run/proftpd.sock': Connection refused* |# I am trying to trace the order for more information. sudo apt install strace strace -e open,unlink,bind,close /usr/sbin/proftpd --configtest close(1022) = -1 EBADF (Mauvais descripteur de fichier) close(1023) = -1 EBADF (Mauvais descripteur de fichier) close(-1) = -1 EBADF (Mauvais descripteur de fichier) Checking syntax of configuration file close(-1) = -1 EBADF (Mauvais descripteur de fichier) close(3) = 0 ... close(4) = 0 bind(4, {sa_family=AF_UNIX, sun_path="/run/test.sock"}, 110) = -1 EACCES (Permission non accordée) close(4) = 0 unlink("/run/test.sock") = -1 ENOENT (Aucun fichier ou dossier de ce type) bind(4, {sa_family=AF_UNIX, sun_path="/run/proftpd.sock"}, 110) = -1 EADDRINUSE (Adresse déjà utilisée) close(4) = 0 2020-02-26 22:51:48,094 vps178370 proftpd[22647]: mod_ctrls/0.9.5: error: unable to bind to local socket: Address already in use close(4) = 0 close(6) = 0 ... close(5) = 0 2020-02-26 22:51:48,231 vps178370 proftpd[22647]: mod_ctrls/0.9.5: unable to open ControlsLog '/var/log/proftpd/controls.log': Permission non accordée 2020-02-26 22:51:48,231 vps178370 proftpd[22647]: fatal: ControlsLog: unable to open '/var/log/proftpd/controls.log': Aucun fichier ou dossier de ce type on line 126 of '/etc/proftpd/proftpd.conf' +++ exited with 1 +++ | Still researching to figure out what's wrong.

