421 Service not available, remote server has closed connection [ftp] - Linux et OS Alternatifs
Marsh Posté le 10-09-2002 à 22:57:15
ca dis qqch dans /var/log/messages ou /var/log/proftpd* ?
Marsh Posté le 10-09-2002 à 23:02:56
ke dal
Marsh Posté le 10-09-2002 à 23:59:36
non
ala main: /etc/init.d/proftpd start
installé a la mano avec
./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/include --with-libraries=/usr/lib
Marsh Posté le 10-09-2002 à 22:50:46
g un serveur proftp avec une base sql pour les utilisateurs
le prob c ke lorsk je veux me logger, g le message d'erreur suivant apres avoir taper le log in
421 Service not available, remote server has closed connection
Login failed.
No control connection for command: No such file or directory
il fo noté ke lorsk le log in n'est pas dans la base, ce message d'erreur n'aparait pas, il demande le pass et met log in incorrect ensuite
fichier de conf:
ServerName "FTP server"
ServerType standalone
DefaultServer 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 30
# Set the user and group that the server normally runs at.
User root
Group root
#<Global>
#Parametre de la conexion a la base sql
SQLConnectInfo proftp user passwd
SQLAuthTYpes PlainText
SQLGroupInfo group groupname gid members
SQLUserInfo user userid passwd uid gid homedir shell
SQLHomedirOnDemand on
#</Global>
# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories.
<Anonymous ~ftp>
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 10
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
---------------
"Je brandirai une épée d'orichalque, je m'assouvirai sur des Templiers." | "Avec dans son sillage l'Ombre du Diable, Leirn appelait les morts pour une danse macabre et déchainaît les horreurs de la nuit..."