Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-25-2009, 03:58 PM   #1
LQ Newbie
Registered: Oct 2009
Location: United Kingdom
Distribution: Fedora 11
Posts: 2

Rep: Reputation: 0
Proftpd fails to start

I am very new to all this and the wrong side of fifty so it's all a bit of a struggle. I am trying to set up an Apache web server using Fedora 10. So far I have had little problem with the initial setup, I have installed PHP and MySql using Webmin. However, I cannot fathom where I am going wrong with the FTP server setup. I think it must be a config issue, but frankly I don't know what the problem is.

This is the ProFTPD configuration, can anyone shed light on my problem?

# This is the ProFTPD configuration file
# See:

# Server Config - config used for anything outside a <VirtualHost> or <Global> context
# See:

ServerName "Apache Server"
ServerIdent on "FTP Server ready."
ServerAdmin root@localhost
DefaultServer on

# Cause every FTP user except adm to be chrooted into their home directory
# Aliasing /etc/security/pam_env.conf into the chroot allows pam_env to
# work at session-end time (
VRootEngine on
DefaultRoot ~/bnu
VRootAlias etc/security/pam_env.conf /etc/security/pam_env.conf

Use pam to authenticate (default) and be authoritative
AuthPAMConfig proftpd
AuthOrder mod_auth_pam.c* mod_auth_unix.c
# If you use NIS/YP/LDAP you may need to disable PersistentPasswd
#PersistentPasswd off

# Don't do reverse DNS lookups (hangs on DNS problems)
UseReverseDNS off

# Set the user and group that the server runs as
User nobody
Group nobody

# To prevent DoS attacks, set the maximum number of child processes
# to 20. If you need to allow more than 20 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 20

# Disable sendfile by default since it breaks displaying the download speeds in
# ftptop and ftpwho
UseSendfile off

# Define the log formats
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"

# Dynamic Shared Object (DSO) loading
# See README.DSO and howto/DSO.html for more details
# General database support (
# LoadModule mod_sql.c
# Mysql support (requires proftpd-mysql package)
# (
# LoadModule mod_sql_mysql.c
# Postgresql support (requires proftpd-postgresql package)
# (
# LoadModule mod_sql_postgres.c
# Quota support (
# LoadModule mod_quotatab.c
# File-specific "driver" for storing quota table information in files
# (
# LoadModule mod_quotatab_file.c
# SQL database "driver" for storing quota table information in SQL tables
# (
# LoadModule mod_quotatab_sql.c
# LDAP support (requires proftpd-ldap package)
# (
# LoadModule mod_ldap.c
# LDAP quota support (requires proftpd-ldap package)
# (
# LoadModule mod_quotatab_ldap.c
# Support for authenticating users using the RADIUS protocol
# (
# LoadModule mod_radius.c
# Retrieve quota limit table information from a RADIUS server
# (
# LoadModule mod_quotatab_radius.c
# Administrative control actions for the ftpdctl program
# (
# LoadModule mod_ctrls_admin.c
# Execute external programs or scripts at various points in the process
# of handling FTP commands
# (
# LoadModule mod_exec.c
# Support for POSIX ACLs
# (
# LoadModule mod_facl.c
# Configure server availability based on system load
# (
# LoadModule mod_load.c
# Limit downloads to a multiple of upload volume (see README.ratio)
# LoadModule mod_ratio.c
# Rewrite FTP commands sent by clients on-the-fly,
# using regular expression matching and substitution
# (
# LoadModule mod_rewrite.c
# Support for miscellaneous SITE commands such as SITE MKDIR, SITE SYMLINK,
# and SITE UTIME (
# LoadModule mod_site_misc.c
Use the /etc/hosts.allow and /etc/hosts.deny files, or other allow/deny files, for IP-based access control (
LoadModule mod_wrap.c
# Use the /etc/hosts.allow and /etc/hosts.deny files, or other allow/deny
# files, as well as SQL-based access rules, for IP-based access control
# (
# LoadModule mod_wrap2.c
# Support module for mod_wrap2 that handles access rules stored in specially
# formatted files on disk
# (
# LoadModule mod_wrap2_file.c
# Support module for mod_wrap2 that handles access rules stored in SQL
# database tables (
# LoadModule mod_wrap2_sql.c
# Provide a flexible way of specifying that certain configuration directives
# only apply to certain sessions, based on credentials such as connection
# class, user, or group membership
# (
# LoadModule mod_ifsession.c

# TLS (
<IfDefine TLS>
TLSEngine on
TLSRequired on
TLSRSACertificateFile /etc/pki/tls/certs/proftpd.pem
TLSRSACertificateKeyFile /etc/pki/tls/certs/proftpd.pem
TLSCipherSuite ALL:!ADH:!DES
TLSOptions NoCertRequest
TLSVerifyClient off
#TLSRenegotiate ctrl 3600 data 512000 required off timeout 300
TLSLog /var/log/proftpd/tls.log

# Dynamic ban lists (
# Enable this with PROFTPD_OPTIONS=-DDYNAMIC_BAN_LISTS in /etc/sysconfig/proftpd
LoadModule mod_ban.c
BanEngine on
BanLog /var/log/proftpd/ban.log
BanTable /var/run/proftpd/

# If the same client reaches the MaxLoginAttempts limit 2 times
# within 10 minutes, automatically add a ban for that client that
# will expire after one hour.
BanOnEvent MaxLoginAttempts 2/00:10:00 01:00:00

# Allow the FTP admin to manually add/remove bans
BanControlsACLs all allow user ftpadm

# Global Config - config common to Server Config and all virtual hosts
# See:

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable
Umask 022

# Don't do ident queries (hangs when the port is filtered)
IdentLookups off

# Allow users to overwrite files and change permissions
AllowOverwrite yes
RootLogin on


# A basic anonymous configuration, with an upload directory
# Enable this with PROFTPD_OPTIONS=-DANONYMOUS_FTP in /etc/sysconfig/proftpd
<Anonymous ~ftp>
User ftp
Group ftp
AccessGrantMsg "Anonymous login ok, restrictions apply."

# 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 10 "Sorry, max %m users -- try again later"

# Put the user into /pub right after login
#DefaultChdir /pub

# We want 'welcome.msg' displayed at login, '.message' displayed in
# each newly chdired directory and tell users to read README* files.
DisplayLogin /welcome.msg
DisplayChdir .message
DisplayReadme README*

# Cosmetic option to make all files appear to be owned by user "ftp"
DirFakeUser on ftp
DirFakeGroup on ftp

# Limit WRITE everywhere in the anonymous chroot

# An upload directory that allows storing files but not retrieving
# or creating directories.
<Directory uploads/*>
AllowOverwrite no
<Limit READ>

<Limit STOR>

# Don't write anonymous accesses to the system wtmp file (good idea!)
WtmpLog off

# Logging for the anonymous transfers
ExtendedLog /var/log/proftpd/access.log WRITE,READ default
ExtendedLog /var/log/proftpd/auth.log AUTH auth

Old 10-27-2009, 03:39 AM   #2
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Welcome to LQ
What are the error messages, when you start the ftpserver ?
Old 10-31-2009, 10:14 AM   #3
LQ Newbie
Registered: Oct 2009
Location: United Kingdom
Distribution: Fedora 11
Posts: 2

Original Poster
Rep: Reputation: 0
When I try to start ftp server...

... all I get is

Failed to start FTP server :

Starting proftpd: [FAILED]


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Proftpd with SSL fails at LIST Cyberknox Linux - Server 0 07-20-2008 05:55 AM
proftpd won't start :( lmcilwain Linux - Server 2 12-28-2006 08:42 AM
ProFTPD Start Error signature16 Linux - Networking 2 03-28-2006 11:18 PM
ProFTPD won't start! taigon Linux - Software 6 03-09-2006 12:57 AM
proftpd won't start Rajahuroman Linux - Networking 3 08-14-2004 01:15 AM

All times are GMT -5. The time now is 03:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration