URL: https://linuxfr.org/forums/linux-debian-ubuntu/posts/proftpd-ne-veut-pas-fonctionner Title: Proftpd ne veut pas fonctionner ! Authors: Framasky Date: 2007年02月26日T10:10:52+01:00 Tags: debian Score: 0 Bonjour, Je suis sous Debian Testing et je n'arrive pas à faire fonctionner correctement proftpd. Le truc bizarre c'est que j'avais réussi à le faire fonctionner mais après une réinstallation (j'ai voulu tester une autre distrib et j'ai laissé tombé) ça ne marche plus. J'ai pourtant gardé le même proftpd.conf. Pour info, j'utilise le wifi avec un routeur, ainsi qu'une vieille freebox et j'utilise no-ip.org pour avoir un nom de domaine. Voici ce que me dit la console : nemesis:/# /etc/init.d/proftpd restart Stopping ftp server: proftpd. Starting ftp server: proftpd - IPv6 getaddrinfo 'localhost' error: No address associated with hostname . Voici mon proftpd.conf : # This is a basic ProFTPD configuration file (rename it to # 'proftpd.conf' for actual use. It establishes a single server # and a single anonymous login. It assumes that you have a user/group # "nobody/nogroup" and "ftp" for normal operation and anon. ServerName "Nemesis" ServerType standalone UseFtpUsers on DeferWelcome off AccessGrantMsg "Bienvenue sur Nemesis" MultilineRFC2228 on DefaultServer on ShowSymlinks on AllowOverwrite yes #no # perso ! perso ! perso ! AllowStoreRestart yes # perso TimeoutNoTransfer 0 #600 TimeoutStalled 0 #600 TimeoutIdle 0 #2400 DisplayLogin welcome.msg DisplayFirstChdir .message ListOptions "-l" DenyFilter \*.*/ TransferLog NONE # Uncomment this if you are using NIS or LDAP to retrieve passwords: #PersistentPasswd off # Uncomment this if you would use TLS module: #TLSEngine on # Uncomment this if you would use quota module: #Quotas on # Uncomment this if you would use ratio module: #Ratios on # Port 21 is the standard FTP port. Port 21 # To prevent DoS attacks, set the maximum number of child processes # to 30. If you need to allow more than 30 concurrent connections # at once, simply increase this value. Note that this ONLY works # in standalone mode, in inetd mode you should use an inetd server # that allows you to limit maximum number of processes per service # (such as xinetd) MaxInstances 30 # Set the user and group that the server normally runs at. User nobody Group nogroup # Quelques modifications Umask 022 IdentLookups off ServerIdent off # On met en place un systeme de logs ExtendedLog /var/log/proftpd/access.log WRITE,READ write ExtendedLog /var/log/proftpd/auth.log AUTH auth ExtendedLog /var/log/proftpd/ftp.log AUTH # Mise en place de filtres sur l'adresse IP #UseHostsDenyFile /etc/ftpd.deny #UseHostsAllowFile /etc/ftpd.allow # Definition du format des logs LogFormat default "%h %l %u %t \"%r\" %s %b" LogFormat auth "%v [%P] %h %t \"%r\" %s" LogFormat write "%h %l %u %t \"%r\" %s %b" SyslogFacility AUTH <Limit LOGIN> £spaces£ £/spaces£Order allow,deny £spaces£ £/spaces£Allow from all £spaces£ £/spaces£#Deny from all # Répertoire dans lequel arrivent les utilisateurs acceptés DefaultChdir ~ # Répertoire racine, les connectés au ftp ne verrons que lui et son contenu DefaultRoot ~ <Directory /*> # Umask 022 is a good standard umask to prevent new files and dirs # (second parm) from being group and world writable. Umask 022 022 # Normally, we want files to be overwriteable. AllowOverwrite yes #no #Seul l'utilisateur adminftp a le droit d'écrire dans /mnt/ftp <Directory /mnt/ftp> <Limit WRITE> AllowUser luc DenyAll Si quelqu'un avait un conseil à me donner, ça serait cool parce que là je patauge un peu dans la semoule... Merci.