[英]XAMPP Another web server is already running. with attemps
我在Ubuntu 18.04上安裝XAMPP並獲得了
XAMPP: Another web server is already running.
並且無法運行Apache服務器。
經過研究,我嘗試了
使用xampp restart重新重新啟動所有過程
sudo /etc/init.d/apache2 stop
,它確實說它已停止
我沒有安裝虛擬盒子
在netstat -tuplen
建議之后,這就是我得到的
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 121 23365 1031/mysqld
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 23258 1014/nginx: master
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 101 20354 561/systemd-resolve
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 22965 780/cupsd
tcp6 0 0 :::80 :::* LISTEN 0 23259 1014/nginx: master
tcp6 0 0 ::1:631 :::* LISTEN 0 22964 780/cupsd
udp 41472 0 127.0.0.53:53 0.0.0.0:* 101 20353 561/systemd-resolve
udp 0 0 0.0.0.0:68 0.0.0.0:* 0 28781 1301/dhclient
udp 0 0 0.0.0.0:41584 0.0.0.0:* 115 25049 795/avahi-daemon: r
udp 0 0 0.0.0.0:631 0.0.0.0:* 0 24055 939/cups-browsed
udp 52602 0 0.0.0.0:5353 0.0.0.0:* 115 25047 795/avahi-daemon: r
udp6 0 0 :::53734 :::* 115 25050 795/avahi-daemon: r
udp6 29223 0 :::5353 :::* 115 25048 795/avahi-daemon: r
通過service nginx stop
殺死或停止所有Nginx進程service nginx stop
或ps -ef | grep nginx
ps -ef | grep nginx
。 然后,如果不起作用,請啟動apache服務,然后從配置文件中更改apache的默認偵聽端口。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.