XAMPP for Mac: Problem starting ProFTPD,No such file or directory

问题

# /Applications/XAMPP/xamppfiles/xampp start
Starting XAMPP for Mac OS X 1.7.3...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD.../Applications/XAMPP/xamppfiles/xampp: line 184: /Applications/XAMPP/xamppfiles//var/proftpd/start.err: No such file or directory
fail.
Contents of "/Applications/XAMPP/xamppfiles//var/proftpd/start.err":
cat: /Applications/XAMPP/xamppfiles//var/proftpd/start.err: No such file or directory

解决方法:

sudo mkdir /Applications/XAMPP/xamppfiles/var/proftpd/
touch /Applications/XAMPP/xamppfiles/var/proftpd/start.err
sudo /Applications/XAMPP/xamppfiles/xampp fix_rights

XAMPP默认的ftp帐号有:

  • nobody,属admin组,密码xampp;
  • ftp,属ftp组,匿名账户

你可能感兴趣的:(MacOSX)