NameVirtualHost地址不受支持,处理未定义的结果

Apache细节

服务器版本:Apache / 2.2.15(Unix)服务器内置:Aug 28 2015 22:18:57

varnishd(varnish-3.0.7 revision f544cd8)Copyright(c)2006 Verdens Gang AS Copyright(c)2006-2014 Varnish Software AS

OS

CentOS版本6.7(最终版)

Linux内核

2.6.32-042stab113.11#1 SMP Fri Dec 18 17:32:04 MSK 2015 x86_64 x86_64 x86_64 GNU / Linux

注意:当试图开始得到这个错误,并善意的build议如何解决这些错误,并启动Apache服务器。 我也安装和configurationvarnishcaching代理服务器。

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 

一旦Apache正确启动,Varnish错误将会消失。 目前Varnish正在试图从Apache获取内容,但不能因为Apache停机。

您应该能够使用这个问题的接受的答案解决Apache错误。