我已经在我的macos mojave上安装了xampp。当我运行这个命令'sudo/applications/xampp/xamppfiles/xampp start'
我发现以下错误:
正在启动mac os x 7.2.10-0的xampp。。。xampp:启动apache…好的。xampp:启动mysql…好的。xampp:启动proftpd…失败。“/applications/xampp/xamppfiles/var/proftpd/start.err”的内容:mudasars-macbook-pro.local proftpd[4057]:警告:无法确定“mudasars-macbook-pro.local”mudasars-macbook-pro.local proftpd[4057]的ip地址:错误:没有有效的服务器配置mudasars-macbook-pro.local proftpd[4057]:致命:处理配置文件时出错'/applications/xampp/xamppfiles/etc/proftpd.conf'
我的proftpd.conf文件:
# 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 admin
# Normally, we want files to be overwriteable.
<Directory /Applications/XAMPP/xamppfiles/htdocs/*>
AllowOverwrite on
</Directory>
# only for the web servers content
DefaultRoot /Applications/XAMPP/xamppfiles/htdocs
<Limit SITE_CHMOD>
DenyAll
</Limit>
# daemon gets the password "xampp"
UserPassword daemon 2TgxE8g184G9c
# 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
# to login with "OSX Users"
AuthPAM on
AuthPAMConfig ftpd
UseFtpUsers off
有人知道怎么修吗?
桑克斯
1条答案
按热度按时间gcuhipw91#
请尝试添加:
给你的
/etc/hosts
文件并重试