• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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