• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Plesk FTP problems [ProFTPD]

D

dstanley

Guest
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?
 
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.
 
Is it possible to change proftpd to standalone opposed to inetd mode?

How would i stop the existing and load as standalone?
 
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.
 
Back
Top