The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[warn] NameVirtualHost XXX has no VirtualHosts

Discussion in 'General Discussion' started by postcd, Jan 15, 2012.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    621
    Likes Received:
    6
    Trophy Points:
    18
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    621
    Likes Received:
    6
    Trophy Points:
    18
    Thx for help, this message disappeared after running this script.
     

Share This Page