在Ubuntu 12.04安裝phpMyAdmin後,我安裝的Apache2我運行下面的命令
sudo /etc/init.d/apache2 restart
,我得到了下面的錯誤,反正怎麼解決這個錯誤,並在Ubuntu
* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
安裝phpMyAdmin當我從瀏覽器試圖localhost/phpmyadmin
其顯示Welcome to nginx!
ķ試圖與上述相同,仍然再次運行Apache服務器後,它顯示了同樣的錯誤 –
不netstat命令告訴你,如果仍然有一些運行在端口80上? – RickyA
當我運行netstat 80「tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1573/nginx:worker」 –