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

Plesk FTP problems [ProFTPD]

Discussion in 'Plesk for Linux - 8.x and Older' started by dstanley, Jun 18, 2005.

  1. dstanley

    dstanley Guest

    0
     
    Hi

    could someone attach the default config file for ProFTPD please.

    I think mine is damaged.

    Can some1 instruct me how to start/stop the service.

    How do i restore all the files?
     
  2. hardweb

    hardweb Guest

    0
     
    A standard file (for Linux) looks like:
    ------------------
    #
    # To have more informations about Proftpd configuration
    # look at : http://www.proftpd.org/
    #

    # This is a basic ProFTPD configuration file (rename it to
    # 'proftpd.conf' for actual use. It establishes a single server
    # and a single anonymous login. It assumes that you have a user/group
    # "nobody" and "ftp" for normal operation and anon.

    ServerName "ProFTPD"
    ServerType inetd
    ServerType inetd
    DefaultServer on
    <Global>
    DefaultRoot ~ psacln
    AllowOverwrite on
    ListOptions "-a"
    </Global>
    DefaultTransferMode binary
    UseFtpUsers on

    # Port 21 is the standard FTP port.
    Port 21
    # Umask 022 is a good standard umask to prevent new dirs and files
    # from being group and world writable.
    Umask 022

    # To prevent DoS attacks, set the maximum number of child processes
    # to 30. If you need to allow more than 30 concurrent connections
    # at once, simply increase this value. Note that this ONLY works
    # in standalone mode, in inetd mode you should use an inetd server
    # that allows you to limit maximum number of processes per service
    # (such as xinetd)
    MaxInstances 30

    #Following part of this config file were generate by PSA automatically
    #Any changes in this part will be overwritten by next manipulation
    #with Anonymous FTP feature in PSA control panel.

    #Include directive should point to place where FTP Virtual Hosts configurations
    #preserved

    ScoreboardFile /var/run/proftpd/scoreboard

    # Primary log file mest be outside of system logrotate province

    TransferLog /usr/local/psa/var/log/xferlog

    #Change default group for new files and directories in vhosts dir to psacln

    <Directory /home/httpd/vhosts>
    GroupOwner psacln
    </Directory>

    Include /etc/proftpd.include
    -------------------

    Proftpd is through xinted. You must restart xinetd:

    /etc/init.d/xinetd restart

    in order to restart proftpd.
     
  3. dstanley

    dstanley Guest

    0
     
    Is it possible to change proftpd to standalone opposed to inetd mode?

    How would i stop the existing and load as standalone?
     
  4. voodoochile

    voodoochile Guest

    0
     
    FTP doesn't run as a "service" in the PSA world. They chose to wrap it with Inetd. Consequently, everytime a new FTP connection is made, the new config changes take effect.

    http://forum.plesk.com/showthread.php?s=&threadid=23527

    CHeck that thread for some more info. Inetd is a bad idea and needs to be deprecated. I wish SW-Soft and the rest of the *nix world would quit using this as it really doesn't serve a purpose if your machine has more than 64mb of ram and is faster than a 486. Ugh.
     
Loading...