1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

failed binding to 0.0.0.0, port 21: address already in use

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Clonk, Jul 31, 2009.

  1. Clonk

    Clonk Guest

    0
     
    After I have upgrade to PLESK 9.2 my FTP server will not run.

    I in the error log I see this:

    www proftpd[4409]: www.xxxxx.xxx - Failed binding to 0.0.0.0, port 21: Address already in use
    www proftpd[4409]: www.xxxxx.xxx - Check the ServerType directive to ensure you are configured correctly.

    netstat -pant show this:

    www:~# netstat -pant
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 2342/couriertcpd
    tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 2361/couriertcpd
    tcp 0 0 0.0.0.0:106 0.0.0.0:* LISTEN 4431/xinetd
    tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 2441/mysqld
    tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 4431/xinetd
    tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 2840/smbd
    tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 2351/couriertcpd
    tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 2331/couriertcpd
    tcp 0 0 0.0.0.0:8880 0.0.0.0:* LISTEN 2777/sw-cp-serverd
    tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 4431/xinetd
    tcp 0 0 127.0.0.1:10001 0.0.0.0:* LISTEN 2777/sw-cp-serverd
    tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 4431/xinetd
    tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 2231/named
    tcp 0 0 xxx.xxx.xxx.xxx:53 0.0.0.0:* LISTEN 2231/named
    tcp 0 0 127.0.0.1:3000 0.0.0.0:* LISTEN 2810/drwebd
    tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 4431/xinetd
    tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 2231/named
    tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 2777/sw-cp-serverd
    tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 2840/smbd


    xinetd.conf:

    # Simple configuration file for xinetd
    #
    # Some defaults, and include /etc/xinetd.d/

    defaults
    {

    # Please note that you need a log_type line to be able to use log_on_success
    # and log_on_failure. The default is the following :
    # log_type = SYSLOG daemon info

    }

    includedir /etc/xinetd.d


    What do I do now?
     
  2. Clonk

    Clonk Guest

    0
     
    Seemed that in etc/proftpd.conf changing "servertype standalone" to "servertype inetd" fixed the problem.
     
Loading...