I use a custom configuration for proftpd, and the service is unable to start, saying: server1 /etc/proftpd# service proftpd start * Checking proftpd configuration ... * Configuration error: please fix your configuration file (/etc/proftpd/proftpd.conf). I've checked log files, there is nothing of relevance in any. Attached is my proftpd.conf file. Reproducible: Always ServerName "vitti1" ServerType inetd DefaultServer on # Port 21 is the standard FTP port. Port 21 # Minimum mod_sql config to avoid excess log messages #SQLAuthTypes Plaintext ClamLocalSocket /var/amavis/clamd.sock ClamWarn on TimeoutLogin 120 TimeoutIdle 600 TimeoutNoTransfer 900 TimeoutStalled 3600 ServerIdent off IdentLookups off UseReverseDNS on AllowForeignAddress on AllowRetrieveRestart on Umask 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 #MaxClientsPerHost 4 # Set the user and group that the server normally runs at. User proftpd Group proftpd AuthPAM on AuthPAMConfig ftp RequireValidShell no DefaultRoot ~ #ScoreboardFile /var/run/proftpd/proftpd.scoreboard LogFormat default "%h %l %u %t \"%r\" %s %b" LogFormat auth "%v [%P] %h %t \"%r\" %s" LogFormat write "%h %l %u %t \"%r\" %s %b" ExtendedLog /var/log/proftpd/access.log WRITE,READ write ExtendedLog /var/log/proftpd/auth.log AUTH auth TransferLog /var/log/proftpd/xferlog DisplayLogin welcome.msg DisplayChdir .message <Limit LOGIN> AllowGroup webusers DenyAll # TimeoutNoTransfer 0 # TimeoutIdle 0 </Limit> # Normally, we want homedir files to be overwriteable. <Directory ~> AllowOverwrite on AllowStoreRestart on <Limit ALL> AllowAll IgnoreHidden off </Limit> </Directory> # A basic anonymous configuration, no upload directories. <Anonymous ~ftp> User ftp Group ftp # We want clients to be able to login with "anonymous" as well as "ftp" UserAlias anonymous ftp # Limit the maximum number of anonymous logins MaxClients 20 # We want 'welcome.msg' displayed at login, and '.message' displayed # in each newly chdired directory. DisplayLogin welcome.msg DisplayChdir .message # It is a very good idea to allow only filenames containing normal # alphanumeric characters for uploads (and not shell code...) PathAllowFilter "^[a-zA-Z0-9 _./\-]+$" # We don't want .ftpaccess or .htaccess files to be uploaded PathDenyFilter "(\.ftp)|(\.ht)[a-z]+$" PathDenyFilter "^\." PathDenyFilter "^ " PathDenyFilter " $" <Limit LOGIN> # DenyAll AllowAll </Limit> # Limit WRITE everywhere in the anonymous chroot <Limit WRITE> DenyAll </Limit> # <Limit READ DIRS> # IgnoreHidden on # </Limit> <Directory ~ftp/incoming> AllowOverwrite off <Limit READ> DenyAll IgnoreHidden on </Limit> <Limit STOR MKD> AllowAll IgnoreHidden on </Limit> <Limit WRITE DIRS READ> DenyAll IgnoreHidden on </Limit> <Limit CWD XCWD CDUP> AllowAll IgnoreHidden on </Limit> </Directory> <Directory ~ftp/incoming/*> AllowOverwrite off <Limit READ LIST> AllowAll IgnoreHidden on </Limit> <Limit STOR MKD> AllowAll IgnoreHidden on </Limit> <Limit WRITE DIRS> DenyAll IgnoreHidden on </Limit> <Limit CWD XCWD CDUP> AllowAll IgnoreHidden on </Limit> </Directory> <Directory ~ftp> <Limit READ LIST> AllowAll IgnoreHidden on </Limit> </Directory> </Anonymous>
*** This bug has been marked as a duplicate of bug 254174 ***