【发布时间】:2021-05-21 22:02:33
【问题描述】:
我收到此错误httpd restart fail
[root@centos6 etc]# service https restart
Stopping httpd: [ OK ]
Starting https: httpd: apr_socketaddr_info_get() failed for centos6
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Thu Feb 18 22:38:09 2021] [warn] NameVirtualHost *:80 has no VirtualHosts
[ OK ]
这是我的 httpd.conf:NameVirtualHost Virtual Host
这是我的 /etc/hosts /etc/hosts
知道我已经创建了目录及其 index.html 文件/var/www/
【问题讨论】:
-
Please do not upload images of code/errors when asking a question.。最重要的是,这与编程无关,因此与 stackoverflow 无关 - 请参阅 help center
标签: apache virtualhost httpd.conf centos6