我正在尝试在centos中运行xampp,并且我已经安装了它和所有的php模块。我面临的唯一问题是当我想启动apache时得到下面的错误。
正在启动XAMPP for Linux 7.2.0-0...XAMPP:启动Apache...fail。XAMPP:另一个web服务器已在运行。XAMPP:启动MySQL...ok。XAMPP:启动ProFTPD...ok。
我已经尝试过停止和启动apache,但没有成功。如果有解决方案,请让我知道。我正在使用centos。
为什么来自systemd-resolved 219版本的systemd在一个随机的UDP端口上监听?
我的一台机器在端口58557上监听(CentOS 7和systemd版本219)。
sudo netstat -tunlp|grep -P '^Active|^Proto|systemd'
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
udp 0 0 0.0.0.0
对于apache服务器的安装过程,我遵循下面提到的步骤
tar xzf httpd-2.4.7.tar.gz
./configure
make
make install
以上所有步骤都已完成。但当我想知道这台服务器的状态时。显示误差
[root@localhost httpd-2.4.7]# /etc/init.d/httpd stop
bash: /etc/init.d/httpd: No such file or directory
[root@localhost httpd-2.4.7]# /etc/init.d/httpd start
bash: /etc/init.d