为什么我的Apache服务加了虚拟主机后就无法启动了?

由 zhangzezhi0 在 04-20-2004 19:35 发表:

为什么我的Apache服务加了虚拟主机后就无法启动了?

为什么我的Apache服务加了虚拟主机后就无法启动了?提示错误如下:

Starting httpd: httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

[Tue Apr 20 17:22:48 2004] [warn] NameVirtualHost 172.31.6.6:0 has no VirtualHosts

(99)Cannot assign requested address: make_sock: could not bind to address 172.31.6.9:80

no listening sockets available, shutting down

Unable to open logs!


由 cozo 在 04-21-2004 10:26 发表:


你的虚拟主机部分肯定写错了。


勿以善小而不为,勿以恶小而为之。


由 Snoopy 在 04-21-2004 13:02 发表:


Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

这句没问题


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 zhangzezhi0 在 04-22-2004 16:52 发表:


NameVirtualHost 172.31.6.151:80

1<virtualhost 172.31.6.151="">   
2  
3DocumentRoot "/var/zzz"   
4  
5ServerName zzz.qlsedu.com&lt;br</virtualhost>
Published At
Categories with 服务器类
comments powered by Disqus