2014-05-09 56 views

回答

10

當另一個FTP在同一端口上運行會發生這種情況後,說

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

我也面臨同樣的問題,然後我通過執行以下步驟來解決此問題。

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). 

希望這有助於:)

+0

感謝它的作品像一個魅力 – iCoder

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

步驟1,找到FTP服務器的PID(第二列),如21882,22108 ....

ps aux | grep ftp 

第2步,殺死這些PID

sudo kill -9 21882 
相關問題