Problème de lancement de proftpd

Bonjour,
Je viens vers vous car j’aqi un problème de lancement de mon serveur FTP.
Voilà, j’ai juste fait un apt-get de ce serveur et puis j’ai juste supprimé (désactivé) le support IPv6. La preuve proftpd -t /etc/proftpd/proftpd.conf me sert à tester ma configuration, mais [code]Checking syntax of configuration file

  • unknown parameter: ‘/etc/proftpd/proftpd.conf’[/code]
    donc je ne sais pas pourquoi ce problème est là.
    Pour information, la commande proftpd -V me donne

[code]Compile-time Settings:
Version: 1.3.0
Platform: LINUX
Built With:
configure linux gnu

Files:
Configuration File:
/etc/proftpd/proftpd.conf
Pid File:
/var/run/proftpd.pid
Scoreboard File:
/var/run/proftpd/proftpd.scoreboard
Shared Module Directory:
/usr/lib/proftpd

Features:
+ Autoshadow support
+ Controls support
+ curses support
+ Developer support
+ DSO support
+ IPv6 support
+ Largefile support
+ ncurses support
+ POSIX ACL support
+ Shadow file support
+ Sendfile support

Tunable Options:
PR_TUNABLE_BUFFER_SIZE = 1024
PR_TUNABLE_GLOBBING_MAX = 8
PR_TUNABLE_HASH_TABLE_SIZE = 40
PR_TUNABLE_NEW_POOL_SIZE = 512
PR_TUNABLE_RCVBUFSZ = 87380
PR_TUNABLE_SCOREBOARD_BUFFER_SIZE = 80
PR_TUNABLE_SCOREBOARD_SCRUB_TIMER = 30
PR_TUNABLE_SELECT_TIMEOUT = 30
PR_TUNABLE_SNDBUFSZ = 16384
PR_TUNABLE_TIMEOUTIDENT = 10
PR_TUNABLE_TIMEOUTIDLE = 600
PR_TUNABLE_TIMEOUTLINGER = 180
PR_TUNABLE_TIMEOUTLOGIN = 300
PR_TUNABLE_TIMEOUTNOXFER = 300
PR_TUNABLE_TIMEOUTSTALLED = 3600
PR_TUNABLE_XFER_BUFFER_SIZE = 16384
PR_TUNABLE_XFER_SCOREBOARD_UPDATES = 10
[/code]
et mon fichier de configurtion est

[code]#

/etc/proftpd/proftpd.conf – This is a basic ProFTPD configuration file.

To really apply changes reload proftpd after modifications.

Includes DSO modules

Include /etc/proftpd/modules.conf

Set off to disable IPv6 support which is annoying on IPv4 only boxes.

UseIPv6 off

ServerName "Debian"
ServerType standalone
DeferWelcome off

MultilineRFC2228 on
DefaultServer on
ShowSymlinks on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions “-l”

DenyFilter *.*/

Port 21 is the standard FTP port.

Port 21

In some cases you have to specify passive ports range to by-pass

firewall limitations. Ephemeral ports can be used for that, but

feel free to use a more narrow range.

PassivePorts 49152 65534

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 proftpd
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

Uncomment this if you are using NIS or LDAP to retrieve passwords:

PersistentPasswd off

Be warned: use of this directive impacts CPU average load!

Uncomment this if you like to see progress and transfer rate with ftpwho

in downloads. That is not needed for uploads rates.

UseSendFile off

TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log

TLSEngine off QuotaEngine on Ratios on

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 on ControlsEngine on ControlsMaxClients 2 ControlsLog /var/log/proftpd/controls.log ControlsInterval 5 ControlsSocket /var/run/proftpd/proftpd.sock AdminControlsEngine on

A basic anonymous configuration, no upload directories.

<Anonymous ~ftp>

User ftp

Group nogroup

# We want clients to be able to login with “anonymous” as well as “ftp”

UserAlias anonymous ftp

# Cosmetic changes, all files belongs to ftp user

DirFakeUser on ftp

DirFakeGroup on ftp

RequireValidShell off

# 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

<Directory *>

DenyAll

# Uncomment this if you’re brave.

#

# # Umask 022 is a good standard umask to prevent new files and dirs

# # (second parm) from being group and world writable.

# Umask 022 022

#

# DenyAll

#

#

# AllowAll

#

#

[/code]

SI quelqu’un a une idée de ce qui se passe. Parce que moi je sèche.

J’ai pas de quoi tester mais à mon avis,
l’option “-t” permet de tester directement le fichier de configuration par défault sans avoir
donc de chemin à préciser, c’est avec l’option ‘-c’ que tu peux indiquer en plus un autre fichier de configuration à tester que celui par défault.

[quote=“swiip81”]J’ai pas de quoi tester mais à mon avis,
l’option “-t” permet de tester directement le fichier de configuration par défault sans avoir
donc de chemin à préciser, c’est avec l’option ‘-c’ que tu peux indiquer en plus un autre fichier de configuration à tester que celui par défault.[/quote] Oui c’est vrai je m’étonne d’ailleurs je ne sais pas pourquoi j’ai préciser un fichier alors que j’utilsais -t. Maintenant mon ftp fonction, il s’agit de recompiler le tout (pour utiliser des modules un peu exotiques).

mais bref merci