Сбой ProFTPD: UserPassword Недостающий аргумент

Я плохо знаком с php. Я не могу запуститься к Proftpd в xampp. Я использую человечность 64bit .few, дни поддерживают ее работу правильно, но теперь она не работает

**Error Message of Lampp:**
sudo /opt/lampp/lampp startftp
XAMPP: Starting ProFTPD...fail.
Contents of "/opt/lampp/var/proftpd/start.err":
dineshkumar-desktop proftpd[5108]: Fatal: UserPassword: missing arguments on line 43 of '/opt/lampp/etc/proftpd.conf'

Вот мой proftpd.cong файл:

# 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
# "daemon" and "ftp" for normal operation and anon.

ServerName          "ProFTPD"
ServerType          standalone
DefaultServer           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

# Set the user and group that the server normally runs at.
User daemon
#Group daemon

# Normally, we want files to be overwriteable.
<Directory /opt/lampp/htdocs/*>
  AllowOverwrite        on
</Directory>

# only for the web servers content
DefaultRoot /opt/lampp/htdocs

<Limit SITE_CHMOD>                                                                                                                                                         
  DenyAll                                                                                                                                                                  
</Limit>  

# daemon gets the password "xampp"
# commented out by xampp security
#UserPassword daemon 2TgxE8g184G9c
UserPassword  daemon
Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20151012/php_mysql.dll' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20151012/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
w97KTswgQ8VI.

# daemon is no normal user so we have to allow users with no real shell
RequireValidShell off

# daemon may be in /etc/ftpusers so we also have to ignore this file
UseFtpUsers off
0
задан 7 January 2017 в 20:54

1 ответ

Удалите строку, которая запускается с: "Предупреждение: Запуск PHP: Не мог загрузить динамическую библиотеку..." и затем поместить "часть" демона UserPassword и пароль на одной строке, точно так же, как синтаксис предыдущей строки.

Между прочим. Имеет смысл изменять Ваши пароли, если это используется за пределами Вашей локальной LAN.

0
ответ дан 7 November 2019 в 04:51

Другие вопросы по тегам:

Похожие вопросы: