Another FTP daemon is already running?

15,241

Solution 1

This happens when another FTP is running on the same port.

I also faced same issue, then i resolve this by doing following steps.

1. Open the file /Applications/XAMPP/etc/proftpd.conf

2. Search for the port "21" and change it to some other port (e.g 28).

3. Open the file /Applications/XAMPP/xamppfiles/xampp

4. Search for the port "testport 21" and replace it to "testport 28". 

5. Now go and run "sudo /Applications/XAMPP/xamppfiles/xampp start". (It should work now).

Hope this Helps :)

Solution 2

If you are Linux server, the the best and most quickly way is to do:

Step 1, Find the PID of ftp server (the second column), such as 21882, 22108....

ps aux | grep ftp

Step 2, kill these PID

sudo kill -9 21882
Share:
15,241
AlgoCoder
Author by

AlgoCoder

Updated on June 15, 2022

Comments

  • AlgoCoder
    AlgoCoder almost 2 years

    I'm running the xampp on os x mavericks Xampp doesn't start the ProFTPD server. when i tried to start it always failed.

    In application log it says

     Starting ProFTPD...
     Checking syntax of configuration file
     /Applications/XAMPP/xamppfiles/proftpd/scripts/ctl.sh : proftpd started
    

    Even after reinstalling the XAMPP ProFTPD doesn't start