i have installed XAMPP on my macOS Mojave. When im running this command 'sudo /Applications/XAMPP/xamppfiles/xampp start'
i get following errors:
Starting XAMPP for Mac OS X 7.2.10-0... XAMPP: Starting Apache...ok. XAMPP: Starting MySQL...ok. XAMPP: Starting ProFTPD...fail. Contents of "/Applications/XAMPP/xamppfiles/var/proftpd/start.err": Mudasars-MacBook-Pro.local proftpd[4057]: warning: unable to determine IP address of 'Mudasars-MacBook-Pro.local' Mudasars-MacBook-Pro.local proftpd[4057]: error: no valid servers configured Mudasars-MacBook-Pro.local proftpd[4057]: Fatal: error processing configuration file '/Applications/XAMPP/xamppfiles/etc/proftpd.conf'
My proftpd.conf file:
# 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
Anybody know how to fix this?
Thanx
Please try to add :
127.0.0.1 Mudasars-MacBook-Pro.local
to your /etc/hosts
file and try again