【发布时间】:2015-04-08 05:02:30
【问题描述】:
rash@rash's lap:~$ sudo /opt/lampp/lampp start
sudo: unable to resolve host rash's lap
[sudo] password for rash:
Starting XAMPP for Linux 5.6.3-0...
XAMPP: Starting Apache...fail.
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://www.apachefriends.org/f/
“/opt/lampp/logs/error_log”的最后10行:
tail: cannot open ‘/opt/lampp/logs/error.log’ for reading: No such file or directory
XAMPP: Starting MySQL.../opt/lampp/share/xampp/xampplib: line 39: test: /opt/lampp/var/mysql/rash's: binary operator expected
ok.
XAMPP: Starting ProFTPD...fail.
Contents of "/opt/lampp/var/proftpd/start.err":
rash_s_lap proftpd[5128]: warning: unable to determine IP address of 'rash_s_lap'
rash_s_lap proftpd[5128]: error: no valid servers configured
rash_s_lap proftpd[5128]: Fatal: error processing configuration file '/opt/lampp/etc/proftpd.conf'
rash@rash 的膝盖:~$
【问题讨论】:
-
检查 /etc/hosts 是否有正确的 ip 和主机名
-
它不起作用。我试过了
-
Duplicate question。选择一个站点以获取 Stackoverflow 或 askubuntu 的响应。
标签: php mysql linux apache xampp