Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i've done some updates on my server , after which ftp stopped working !

proftpd is running and listening on port 21 , port 21 is open in the firewall !

but still all i get from filezilla is :

Status: Resolving address of xxx
Status: Connecting to xxx.xx.xx.xx:21...
Status: Connection established, waiting for welcome message...
Error:  Could not connect to server
share|improve this question
How have you verified that proftpd is "running and listening"? If you try this on the system running proftpd, what happens? – larsks Jan 26 '11 at 19:41
If your proftpd is running what does the proftpd.log file ( possibly located at /var/log/proftpd/proftpd.log) say ? – Iain Jan 26 '11 at 19:44
hmmm , failed binding to :: , port 21: address already in use !!! – Ronan Dejhero Jan 26 '11 at 19:49
up vote 7 down vote accepted

To check if proftpd is running

ps -ef | grep proftpd
proftpd  15530     1  0 21:26 ?        00:00:00 proftpd: (accepting connections)
iain     15731 13855  0 21:49 pts/1    00:00:00 grep proftpd

To find out what is bound to port 21

sudo lsof -i :21
proftpd 15530 proftpd    1u  IPv6 1641458      0t0  TCP *:ftp (LISTEN)

The output you get from the above should help you narrow things down a bit.


The problem you are seeing is likely because you are starting it in standalone mode but inetd is still configured to manage the service. You need to disable this inetd behaviour . Have a look at this page on the proftpd website - point 3 is relevant.

share|improve this answer
ok , i got 'inetd' running on port 21 !!! – Ronan Dejhero Jan 27 '11 at 9:42
@Ronan Dejhero: See my edit for a possible explanation / solution – Iain Jan 27 '11 at 9:54
I've commented out the line starting with 'ftp' in /etc/inet.d , then i killed all inetd to force it to restart and read the new config , restarted proftpd and am happy now :) could update some features on my ut video converting site :) thanks guys – Ronan Dejhero Jan 27 '11 at 10:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.