Apache 详细信息
服务器版本:Apache/2.2.15 (Unix) 服务器建立时间:2015 年 8 月 28 日 22:18:57
漆
varnishd (varnish-3.0.7 修订版 f544cd8) 版权所有 (c) 2006 Verdens Gang AS 版权所有 (c) 2006-2014 Varnish Software AS
操作系统
CentOS 版本 6.7(最终版)
Linux 内核
2.6.32-042stab113.11 #1 SMP 星期五 12月 18日 17:32:04 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux
笔记: 尝试启动时出现此错误,请建议如何解决这些错误并启动 apache 服务器。我还安装并配置了 varnish 缓存代理服务器。
Failed to start apache :
Starting httpd: [Sat Mar 12 16:36:02 2016] [error] VirtualHost _default_:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sat Mar 12 16:36:02 2016] [error] VirtualHost _default_:8443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sat Mar 12 16:36:02 2016] [warn] NameVirtualHost 23.227.161.204:443 has no VirtualHosts
[Sat Mar 12 16:36:02 2016] [warn] NameVirtualHost 23.227.161.204:81 has no VirtualHosts
[Sat Mar 12 16:36:02 2016] [warn] NameVirtualHost 23.227.161.204:444 has no VirtualHosts
(98)Address already in use: make_sock: could not bind to address 104.251.216.213:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]
在浏览器请求时出现以下错误。
Error 503 Service Unavailable
Service Unavailable
Guru Meditation:
XID: 54055607
Varnish cache server
答案1
一旦 Apache 正确启动,Varnish 错误就会消失。目前 Varnish 正在尝试从 Apache 获取内容,但无法获取,因为 Apache 已关闭。
您应该能够使用以下可接受的答案来解决 Apache 错误这个问题。