gpt4 book ai didi

mysql - XAMPP , PROFTPD 问题

转载 作者:行者123 更新时间:2023-12-04 01:25:44 33 4
gpt4 key购买 nike

我已经在我的 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”的 IP 地址
Mudasars-MacBook-Pro.local proftpd[4057]:错误:没有配置有效的服务器
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

有谁知道如何解决这个问题?

谢谢

最佳答案

请尝试添加:

127.0.0.1  Mudasars-MacBook-Pro.local

给您的 /etc/hosts文件并重试

关于mysql - XAMPP , PROFTPD 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52587555/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com