[warn] NameVirtualHost XXX has no VirtualHosts

postcd

Well-Known Member
Oct 22, 2010
717
19
68
Hi, when restarting Apache over cpanel, it went successfully without any message, when doing it over SSH, i get:

[warn] NameVirtualHost XXX.XXX.XXX.XX has no VirtualHosts cpanel

XX = IP

and apache is also restarted successfully. What is the cause of this, is it natural behavior?

The mentioned IP is the IP which dont have assigned any accounts "System has 1 free ip."

Thank you
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
Hello :)

This is not a fatal error message. It's sometimes caused by having duplicate "NameVirtualHost" entries for the IP address in your Apache configuration file. You can try rebuilding the Apache configuration file via:

Code:
# /scripts/rebuildhttpdconf
Thank you.