Erro ao start proftpd

1. Erro ao start proftpd

Julian Castaman
maninhx

(usa Slackware)

Enviado em 13/09/2008 - 08:48h

Essa mensagem não sei se me parece realmente um erro ou somente um aviso. Mas quando dou um #proftpd para ele iniciar ela aparece. Eu testei via lan ftp://ipmaquina e acessei meu FTP mas ele não pediu senha nenhuma e não aparece pasta alguma. Gostaria que ele pedisse os mesmos usuarios que tenho no samba na hora de autenticar.

- warning: the DisplayFirstChdir directive is deprecated and will be removed in a future release. Please use the DisplayChdir directive.
localhost - fatal: Socket operation on non-socket

Também quero saber como faço para parar o proftp para quando eu fizer alterações, tentei #proftpd stop e não funcionou.



  


2. Re: Erro ao start proftpd

JOSE MIGUEL MORALES BELTRAN
arcnux

(usa Debian)

Enviado em 02/10/2008 - 18:09h

Estou também com problemas para iniciar o proftpd. Acho que não instalei correto, mesmo baixando o tar e descompactando, indo até a pasta e primeiro ./configure, make e finalmente o make install. Não deu erro nessas etapas, só não sobe o serviço. Nem aparece menção dele no init.d. Alguém me ajuda!!!


3. Re: Erro ao start proftpd

JOSE MIGUEL MORALES BELTRAN
arcnux

(usa Debian)

Enviado em 02/10/2008 - 18:11h

ops....foi mal....vi que respondi em dois tópicos diferentes sobre o mesmo assunto.

sorry!


4. Re: Erro ao start proftpd

gabriel
darkfull

(usa Slackware)

Enviado em 04/04/2009 - 17:49h



sudo gedit /etc/proftpd/proftpd.conf
marcar com "#" antes do DisplayFirstChdir

obs:

#DisplayFirstChdir .message


5. Código corrigido

maxshu
schrodinger

(usa Debian)

Enviado em 10/10/2014 - 15:15h

#
# /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#

ServerName "FTP Server"
Serverident on "FTP"
ServerType standalone
DeferWelcome off
TimesGMT off


MultilineRFC2228 on
#DefaultServer on
ShowSymlinks on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"

DenyFilter \*.*/

AllowForeignAddress on
AllowRetrieveRestart on

# 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
SocketBindTight on

PassivePorts 11000 20000


# 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

# 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 on

AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on

# Speed up the server, no DNS lookups, just plain ip's. Turn off when being hax0r3d.
UseReverseDNS off
IdentLookups off

DefaultRoot ~
ExtendedLog /var/log/proftpd.all ALL


# Delay engine reduces impact of the so-called Timing Attack described in
# http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02
# It is on by default.
DelayEngine off

<Anonymous ~ftp>
User ftp
Group nogroup
UserAlias anonymous ftp
DirFakeUser on ftp
DirFakeGroup on ftp
RequireValidShell off
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
AccessGrantMsg "Anonymous access granted for user %u connecting."

MaxClientsPerHost 1
<Anonymous ~ftp>

<Directory ~ftp>
#DenyAll
TransferRate RETR 50
<Limit WRITE>
DenyAll
</Limit>
</Directory>


6. Erro ao start proftpd

maxshu
schrodinger

(usa Debian)

Enviado em 14/10/2014 - 09:22h

iagolira escreveu:

#
# /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#

ServerName "FTP Server"
Serverident on "FTP"
ServerType standalone
DeferWelcome off
TimesGMT off


MultilineRFC2228 on
#DefaultServer on
ShowSymlinks on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"

DenyFilter \*.*/

AllowForeignAddress on
AllowRetrieveRestart on

# 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
SocketBindTight on

PassivePorts 11000 20000


# 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

# 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 on

AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on

# Speed up the server, no DNS lookups, just plain ip's. Turn off when being hax0r3d.
UseReverseDNS off
IdentLookups off

DefaultRoot ~
ExtendedLog /var/log/proftpd.all ALL


# Delay engine reduces impact of the so-called Timing Attack described in
# http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02
# It is on by default.
DelayEngine off

<Anonymous ~ftp>
User ftp
Group nogroup
UserAlias anonymous ftp
DirFakeUser on ftp
DirFakeGroup on ftp
RequireValidShell off
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
AccessGrantMsg "Anonymous access granted for user %u connecting."

MaxClientsPerHost 1
<Anonymous /ftp>

<Directory *>
#DenyAll
TransferRate RETR 50
<Limit WRITE>
DenyAll
</Limit>
</Directory>









Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts