Posts by Gerzom

    I found the solution please correct me if i'm wrong:


    xinetd isn't installed by default so:


    "sudo apt-get install xinetd"


    after that it wouldn't start i got:


    ProFTPD warning: cannot start neither in standalone nor in inetd/xinetd mode.


    i found this after some research:


    The only change you really need to make is change the path to the FTP server. This fix works for both inetd and xinetd. For a proper solution for xinetd please see the section below.


    Proper xinetd fix
    I reckon that the creators of xinetd decided to support inetd compatibility by supporting the /etc/inetd.conf file. If you want to configure xinetd the proper way you can create a config file for it in /etc/xinetd.d/ftp and stick the following lines in it:


    service ftp
    {
    disable = no
    flags = REUSE
    socket_type = stream
    wait = no
    user = root
    server = /usr/sbin/proftpd
    server_args = -c /etc/proftpd/proftpd.conf
    }
    socket_type: Sets the network socket type to stream.
    protocol: Sets the protocol type to TCP
    wait: You can set the value to yes or no only. It Defines whether the service is single-threaded (if set to yes) or multi-threaded (if set to no).
    user: User who will run proftpd
    And finally restart the service: sudo service xinetd restart.