昨天新申请了一个阿里云服务器,用apt-get install apache2 安装了apache,然后用apachectl configtest测试后没有语法错误,启动后,浏览器输入ip后无法打开默认apache页面,提示无法打开此页面,看了/var/log/apache2/error.log日志,没有报错信息,求帮助。。
log信息:
[Tue Dec 25 16:36:56.161797 2018] [mpm_event:notice] [pid 1252:tid 139935986046848] AH00494: SIGHUP received. Attempting to restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
[Tue Dec 25 16:36:56.164263 2018] [mpm_event:notice] [pid 1252:tid 139935986046848] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Tue Dec 25 16:36:56.164284 2018] [core:notice] [pid 1252:tid 139935986046848] AH00094: Command line: '/usr/sbin/apache2'
[Tue Dec 25 16:37:41.387701 2018] [mpm_event:notice] [pid 1252:tid 139935986046848] AH00494: SIGHUP received. Attempting to restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
[Tue Dec 25 16:37:41.390345 2018] [mpm_event:notice] [pid 1252:tid 139935986046848] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Tue Dec 25 16:37:41.390363 2018] [core:notice] [pid 1252:tid 139935986046848] AH00094: Command line: '/usr/sbin/apache2'
-------------------------
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。