[+] ProFTPD nie startuje

Konfiguracja serwerów, usług, itp.
SeRdEcZnY
Beginner
Posty: 161
Rejestracja: 20 listopada 2007, 20:45

[+] ProFTPD nie startuje

Post autor: SeRdEcZnY »

Mam mały problem z ProFTPD, po wpisaniu komendy
/etc/init.d/proftpd start

Kod: Zaznacz cały

Starting ftp server: proftpd - warning: the DisplayFirstChdir directive is deprecated and will be removed in a future release.  Please use the DisplayChdir directive.
 - Fatal: unknown configuration directive '<Anonymous' on line 48 of '/etc/proftpd/proftpd.conf'
 failed!
gdzie linia 48 to

Kod: Zaznacz cały

<Anonymous ~filmik> AnonRequirePassword on
mój config to

Kod: Zaznacz cały

ServerType standalone
DefaultServer on
Umask 022
ServerName                      "Debian Server"
ServerAdmin                     email@email
DeferWelcome                    on
IdentLookups off
UseReverseDNS off
Port 25100
PassivePorts 65500 65530
MasqueradeAddress 1.2.3.4
TimesGMT off
MaxInstances 30
MaxLoginAttempts 2
TimeoutLogin 30
TimeoutNoTransfer 320
TimeoutIdle 320
DisplayLogin welcome.msg
DisplayFirstChdir .message
User nobody
Group ftp
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores on
TransferRate RETR 999999
TransferRate STOR 999999
TransferRate STOU 999999
TransferRate APPE 999999
SystemLog /var/log/secure
RequireValidShell off
<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 filmik
  DenyALL
</Limit>

<Anonymous ~filmik> AnonRequirePassword on
User filmik
Group ftp
RequireValidShell off
MaxClients 3
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit LIST NLST  RETR  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
 AllowAll
</Limit>
<Limit STOR STOU  APPE  RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  SITE  SITE_CHMOD  SITE_CHGRP  MTDM >
 DenyAll
</Limit>
</Anonymous>

ps. tak, istnieje podobny post na dug, ale brak konkretnych odpowiedzi...

aha system debian testing
Awatar użytkownika
Yampress
Administrator
Posty: 6425
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Post autor: Yampress »

DisplayFirstChdir -> zamień na DisplayChdir

Kod: Zaznacz cały

....
<Anonymous ~filmik> 
User filmik 
Group ftp
AnonRequirePassword on
....
....
....

a dodatkowo stworzyłes usera filmik ?
SeRdEcZnY
Beginner
Posty: 161
Rejestracja: 20 listopada 2007, 20:45

Post autor: SeRdEcZnY »

tak stworzyłem ;)

ooo!! pomogło ;)

Wielkie dzięki ;)
ODPOWIEDZ