Bon, j'ai un peu honte de poser la question sur proftp (MDK9.0) qui suit... Malgré une lecture peut-être non attentive du site 'http://proftpd.linux.co.uk/'...
Voilà : Je suis en train de mettre en place chez un client disposant d'un DNS (entre autre) un serveur ftp sous MDK.... Je paramètre le fichier /etc/proftpd.conf de manière la plus générique qui soit pour le moment (pour test) - i.e. pas de serveur virtuel etc etc Et voici ce que j'ai en retour dans /var/log/messages : fév 5 13:10:24 pc80744 proftpd: Arrêt de proftpd failed Feb 5 13:10:24 pc80744 proftpd[27100]: pc80744.noisy.ratp - Failed binding to 0.0.0.0, port 21: Address already in use Feb 5 13:10:24 pc80744 proftpd[27100]: pc80744.noisy.ratp - Check the ServerType directive to ensure you are configured correctly. fév 5 13:10:24 pc80744 proftpd: Démarrage de proftpd succeeded Et evidemment lorsque j'essaie d'ouvrir une connexion ftp, le dit serveur me retourne : ftp> open pc80744.xxx.yyyy Connected to pc80744.xxx.yyyy. 421 Service not available, remote server has closed connection Le fichier fourni plus bas est simple.... Mais je reste dubitatif ! En effet les options du serverType ne sont pas légion et lorsque je le position à 'inetd', les messages sont pires : fév 5 13:02:25 pc80744 proftpd: pc80744.xxx.yyyy - Fatal: Socket operation on non-socket fév 5 13:02:25 pc80744 proftpd: pc80744.xxx.yyyy - (Running from command line? Use `ServerType standalone' in config file!) Mais elle sort d'où cette adresse 0.0.0.0 ? En essayant de mettre l'option Bind à l'adresse IP du serveur ftp local, même punition !! ==> Avez-vous une idée pour compléter le chainon manquant à ma compréhension ? Merci de votre aide Loïc === Le fichier /etc/proftpd.conf --- Pas tres compliqué ===== # 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" and "ftp" for normal operation and anon. ServerName "Bienvenue" ServerType standalone DefaultServer on # Allow FTP resuming. # Remember to set to off if you have an incoming ftp for upload. AllowStoreRestart on # Port 21 is the standard FTP port. Port 21 # Umask 022 is a good standard umask to prevent new dirs and files # from being group and world writable. Umask 022 # 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 20 # Set the user and group that the server normally runs at. User nobody Group nogroup # Normally, we want files to be overwriteable. <Directory /*> AllowOverwrite on </Directory> # Needed for NIS. PersistentPasswd off # Default root can be used to put users in a chroot environment. # As an example if you have a user foo and you want to put foo in /home/foo # chroot environment you would do this: # # DefaultRoot /home/foo foo # Options lhe # ----------- DefaultRoot ~ ShowSymLinks off ServerIdent off ExtendedLog /var/log/proftp/access.log WRITE,READ ExtendedLog /var/log/proftp/auth.log AUTH ExtendedLog /var/log/proftp/all-other.log ALL -------------------------------------------- Known as 'MilleVents' in Runequest RPG Known as 'Epervier' in AD&D RPG Known as 'Virus' in ShadowRun RPG --------------------------------------------
Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft? Rendez-vous sur "http://www.mandrakestore.com"