Autor Tópico: ajuda por favor (servidor FTP).  (Lida 5194 vezes)

Offline vfreitas

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
ajuda por favor (servidor FTP).
« Online: 01 de Setembro de 2006, 21:57 »
meu servidor ftp esta configurado corretamente, consigo localiza-lo pois defini um ip fixo e associei a ele um dominio, mas ao tentar me logar ocorre um erro e os usuários nao conseguem logar também, segui exatamente os passos do guia (ubuntubrasil.org) existe algo mais no proftp.conf ou o que será? ???

Offline Lamego

  • Usuário Ubuntu
  • *
  • Mensagens: 1.943
    • Ver perfil
Re: ajuda por favor (servidor FTP).
« Resposta #1 Online: 03 de Setembro de 2006, 13:27 »
vfreitas,
era escusado dois tópicos para o mesmo problema !
Verifica as mensagens de erro do servidor de ftp em:
/var/log
João Luís Marques Pinto
Mais programs e jogos para o Ubuntu

Offline Imigrante

  • Usuário Ubuntu
  • *
  • Mensagens: 145
    • Ver perfil
Re: ajuda por favor (servidor FTP).
« Resposta #2 Online: 16 de Maio de 2007, 15:51 »
Estou com o mesmo problema no GPROFTPD.
O tópico que criei sobre o problema é : http://ubuntuforum-pt.org/index.php?topic=18943.0
Vc conseguiu resolver?

Meu proftpd.conf (/etc/proftpd.conf):

Código: [Selecionar]
ServerType standalone
DefaultServer on
Umask 022
ServerName "imigrante.no-ip.info"
ServerIdent on "Imigrante"
ServerAdmin imigrante@msn.com
IdentLookups on
UseReverseDNS on
Port 2121
PassivePorts 49152 65534
#MasqueradeAddress None
TimesGMT on
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 60
TimeoutIdle 60
DisplayLogin welcome.msg
DisplayFirstChdir .message
User nobody
Group nobody
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 0
TransferRate STOR 0
TransferRate STOU 0
TransferRate APPE 0
SystemLog /var/log/secure
RequireValidShell off
#gp_random_username_length 6
#gp_random_password_length 6
#gp_randomize_case lower
#gp_useradd_homedir_path /var/ftp
#gp_useradd_upload_path /upload
#gp_html_path /var/www/html/ftp.htm
#gp_welcome_name welcome.msg
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol TLSv1
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gproftpd/gproftpd.pem
</IfModule>
<Limit LOGIN>
  AllowUser fernanda
  AllowUser vitor
  AllowUser comum
  AllowUser imigrante
  DenyALL
</Limit>

<Anonymous /var/ftp/fernanda>
User fernanda
Group fernanda
AnonRequirePassword on
MaxClients 3 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
AllowOverwrite on
<Limit LIST NLST  STOR STOU  RETR  RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
 AllowAll
</Limit>
<Limit APPE  SITE  SITE_CHMOD  SITE_CHGRP  MTDM >
 DenyAll
</Limit>
</Anonymous>

<Anonymous /var/ftp/vitor>
User vitor
Group vitor
AnonRequirePassword on
MaxClients 3 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
AllowOverwrite on
<Limit LIST NLST  STOR STOU  RETR  RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
 AllowAll
</Limit>
<Limit APPE  SITE  SITE_CHMOD  SITE_CHGRP  MTDM >
 DenyAll
</Limit>
</Anonymous>

<Anonymous /var/ftp/comum>
User comum
Group comum
AnonRequirePassword on
MaxClients 3 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
AllowOverwrite on
<Limit LIST NLST  STOR STOU  RETR  RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
 AllowAll
</Limit>
<Limit APPE  SITE  SITE_CHMOD  SITE_CHGRP  MTDM >
 DenyAll
</Limit>
</Anonymous>

<Anonymous /var/ftp>
User imigrante
Group imigrante
AnonRequirePassword on
MaxClients 3 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
AllowOverwrite on
<Limit LIST NLST  STOR STOU  APPE  RETR  RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  SITE  SITE_CHMOD  SITE_CHGRP  MTDM  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
 AllowAll
</Limit>
<Limit NOTHING >
 DenyAll
</Limit>
</Anonymous>

Ao tentar acesso externo, o servidor ftp solicita user e psw mas não acessa.

Abraços...
Imigrante

Offline rbernard

  • Usuário Ubuntu
  • *
  • Mensagens: 45
    • Ver perfil
    • Rafael Bernard Araujo
Re: ajuda por favor (servidor FTP).
« Resposta #3 Online: 16 de Maio de 2007, 22:32 »
Citar
MaxClients 3 "The server is full, hosting %m users"

Bom, a mensagem diz que o servidor está cheio e não há mais possibilidade de outra conexão. O erro é no servidor.
[http://rafael.bernard-araujo.com | Hospedagem Profissional - http://oservidor.com]

Offline Imigrante

  • Usuário Ubuntu
  • *
  • Mensagens: 145
    • Ver perfil
Re: ajuda por favor (servidor FTP).
« Resposta #4 Online: 16 de Maio de 2007, 22:37 »
Citar
MaxClients 3 "The server is full, hosting %m users"

Bom, a mensagem diz que o servidor está cheio e não há mais possibilidade de outra conexão. O erro é no servidor.

Amigo,
Isto não é um log, e sim um arquivo de configuração do server. Ou seja, está setado para limitar em 3 os clientes.
Hehehe... Mas não há cliente conectado, como citei, os mesmos não conseguem conectar-se em meu servidor!
Abraços...
Imigrante