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 just installed Pure-FTPD to give it a test run, I added a group and a user

groupadd test1

useradd -g test1 -d /var/www/html -s /etc testuser

then tried to run the server using

/usr/sbin/pure-ftpd -S <ip>,21 -c 30 -C 1 -l puredb:/etc/pureftpd.pdb -x -E -j -R

and receive this error

Unable to start a standalone server: Address already in use

I took a look at what was running that may already be using port 21

grep ftp /etc/services

and see this

21 is registered to ftp, but also used by fsp

ftp 21/tcp

ftp 21/udp fsp fspd

then i took a closer look at port 21

lsof -i :21

and got this


pure-ftpd 3709 root 4u IPv4 12920 0t0 TCP *:ftp (LISTEN)

pure-ftpd 3709 root 5u IPv6 12922 0t0 TCP *:ftp (LISTEN)

any clues?

share|improve this question
btw /etc/services has nothing to do what is actually listening on a port – flo Aug 14 '11 at 0:14
up vote 1 down vote accepted

it's already running, kill the pid and try again...

share|improve this answer
ok, give me 1 moment – Eli Aug 14 '11 at 0:52

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.