大网数据广告活动
服务器运维问答

NameVirtualHost address is not supported, proceeding with undefined results

· 52CE 我爱测

Apache Details Server version: Apache/2.2.15 (Unix) Server built: Aug 28 2015 22:18:57 Varnish varnishd (varnish-3.0.7 revision f544cd8) Copyright (c) 2006 Verdens Gang AS Copyright (c) 2006-2014 Varnish Software AS OS CentOS rel…

问题原文

原帖链接 · Chaminda Bandara · CC BY-SA 3.0

Apache Details

Server version: Apache/2.2.15 (Unix) Server built: Aug 28 2015 22:18:57

Varnish

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

OS

CentOS release 6.7 (Final)

Linux Kernel

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

Note: When trying to start getting this error and kindly advice how to solve these errors and start apache server. I have install and configure varnish cache proxy server also.

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]

On browser request getting following error.

Error 503 Service Unavailable

Service Unavailable
Guru Meditation:

XID: 54055607

Varnish cache server

已采纳解答

原帖链接 · rangfu · CC BY-SA 3.0

Once Apache is starting correctly, the Varnish error will go away. Currently Varnish is trying to get content from Apache but can't because Apache is down.

You should be able to solve the Apache error using the accepted answer of this question.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-03-12)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。