[Résolu] ESXi 4.1 problème activation FTP

kalistyan
Messages : 14259
Inscription : ven. 12 janv. 2018 17:44
Localisation : LYON
Contact :

[Résolu] ESXi 4.1 problème activation FTP

Message par kalistyan »

:hello:

Ayant tjrs une lenteur lors D'un Transfert de fichier vers un datastore local, je souhaitais activer le ftp.
Opération plutôt simple... Mais malheureusement cela ne fonctionne pas! :o

Code : Tout sélectionner

1) Enable SSH access to your host.
3) Copy proftpd to /sbin
4) Copy tcpd to /sbin
5) Copy proftpd.conf to /etc.
6) Add the below lines to /etc/inetd.conf. 

# activate proftp daemon
ftp stream tcp nowait root /usr/sbin/proftpd proftpd

7) Determine the process id for inetd with the command ps | grep inetd
8) Restart inetd with this command kill -HUP 

Code : Tout sélectionner

ftp xx.xx.xx.xx

Connected to xx.xx.xx.xx.

Connection closed by remote host.
Une idée ?
Avatar de l’utilisateur
dsebire
Messages : 13159
Inscription : ven. 12 janv. 2018 17:44
Localisation : Loiret - entre la ville et les champs

[Résolu] ESXi 4.1 problème activation FTP

Message par dsebire »

regarde la config de ton serveur ftp ;)
la c'est pas l'ESX qui chie, puisque t'arrive a te connecter, c'est le serveur FTP qui ferme la connexion !
kalistyan
Messages : 14259
Inscription : ven. 12 janv. 2018 17:44
Localisation : LYON
Contact :

[Résolu] ESXi 4.1 problème activation FTP

Message par kalistyan »

J'ai testé différentes conf'... Mais rien n'y fait... :/

Ci-dessous conf' par défaut :

Code : Tout sélectionner

# 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			"Debian"
ServerType			inetd
DeferWelcome			off

ShowSymlinks			on
MultilineRFC2228		        on
DefaultServer			on
ShowSymlinks			on
AllowOverwrite			on
RootLogin on

TimeoutNoTransfer		600
TimeoutStalled			600
TimeoutIdle			        1200

#DisplayLogin                    welcome.msg
#DisplayFirstChdir               .message

# Port 21 is the standard FTP port.
Port				21

# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask				022  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

DelayEngine off

ScoreboardFile /var/run/proftpd_scoreboard 
TraceLog /var/run/proftpd_trace
Trace DEFAULT:10

# Normally, we want files to be overwriteable.

  AllowOverwrite		on

  
# A basic anonymous configuration, no upload directories.
  

  User				ftp
  Group				nogroup
  # We want clients to be able to login with "anonymous" as well as "ftp"
  UserAlias			anonymous ftp
          
  RequireValidShell		off
            
# Limit the maximum number of anonymous logins
  MaxClients			10
                
                        
# Limit WRITE everywhere in the anonymous chroot
  
    
      DenyAll
    
  
                                            
# Uncomment this if you're brave.
  
    
      DenyAll
    
    
      AllowAll
    
  
                                                                                                                               

gizmo78
Messages : 20534
Inscription : ven. 12 janv. 2018 17:44

[Résolu] ESXi 4.1 problème activation FTP

Message par gizmo78 »

t'as pas un soucis au début du vert? on dirait qu'il le prend comme un commentaire
Avatar de l’utilisateur
yullito
Messages : 3018
Inscription : ven. 12 janv. 2018 17:44

[Résolu] ESXi 4.1 problème activation FTP

Message par yullito »

Avatar de l’utilisateur
dsebire
Messages : 13159
Inscription : ven. 12 janv. 2018 17:44
Localisation : Loiret - entre la ville et les champs

[Résolu] ESXi 4.1 problème activation FTP

Message par dsebire »

je vois pas le rapport, il est en FTP classique sans securité, pas d'echange de clef.

kali, t'as des choses dans les logs de l'esx ? genre authentication failure etc...
kalistyan
Messages : 14259
Inscription : ven. 12 janv. 2018 17:44
Localisation : LYON
Contact :

[Résolu] ESXi 4.1 problème activation FTP

Message par kalistyan »

Logs :

Code : Tout sélectionner

Aug  1 13:35:10 proftpd[20529]: warning: unable to determine IP address of 'localhost.unnati.lan']
MAJ de mon DNS et rulez. ;)

Merci dsebire. ;) :jap:


Avatar de l’utilisateur
dsebire
Messages : 13159
Inscription : ven. 12 janv. 2018 17:44
Localisation : Loiret - entre la ville et les champs

[Résolu] ESXi 4.1 problème activation FTP

Message par dsebire »

de rien :jap:
Répondre