I had the same problem.  It happens because there are multiple
NameVirtualHost directives.  Find them all, delete them, then add it
in apache2.conf.  The issue should go away.

(though obviously back up the config file before you do - having an
easy rollback would be nice, don't you think?)

On Wed, May 12, 2010 at 12:21 AM, Velocity <[email protected]> wrote:
>  NameVirtualHost *:80 has no VirtualHosts
> I have 5 websites running in a reverse proxy environment.
> On main server
> I am getting this error
> Code:
>
> NameVirtualHost *:80 has no VirtualHosts
> [Wed May 12 12:18:10 2010] [warn] NameVirtualHost *:80 has no
> VirtualHosts
> [Wed May 12 12:18:10 2010] [warn] NameVirtualHost *:80 has no
> VirtualHosts
> [Wed May 12 12:18:10 2010] [warn] NameVirtualHost *:80 has no
> VirtualHosts
> [Wed May 12 12:18:10 2010] [warn] NameVirtualHost *:80 has no
> VirtualHosts
>
> Where as there is a ServerName directive in all vhosts.On internal
> webservers also this problem is coming.
> To check if vhost is having any problem I typed httpd -S and it said
> command not found.What should I check ?
> Where as in /etc/hosts on main site I have named all the internal
> servers on which sites
> have been forwarded.
>
> --
> You received this message because you are subscribed to the Linux Users Group.
> To post a message, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit our group at 
> http://groups.google.com/group/linuxusersgroup



-- 
Registered Linux Addict #431495
For Faith and Family! | John 3:16!
http://www.fsdev.net/

-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup

Reply via email to