无法在Google Compute Engine上安装apache2

时间:2018-10-04 14:59:21

标签: apache ubuntu webserver apache2 google-compute-engine

我部署了Google Cloud Compute Engine小实例。但是我想在该实例上运行一个Apache2 Web服务器。当它由apt-get安装程序安装时,最后说:

invoke-rc.d: could not determine current runlevel

invoke-rc.d:policy-rc.d拒绝执行启动。 处理libc-bin(2.24-11 + deb9u3)的触发器..

启动服务时说,

Starting Apache httpd web server: apache2AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message

(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down AH00015: Unable to open logs Action 'start' failed. The Apache error log may have more information.

我允许使用HTTP和HTTPS防火墙规则

那里缺少什么?请帮忙。

0 个答案:

没有答案