Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

[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:
    691
    Likes Received:
    14
    Trophy Points:
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,344
    Likes Received:
    1,854
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    691
    Likes Received:
    14
    Trophy Points:
    68
    Thx for help, this message disappeared after running this script.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...
Similar Threads - [warn] NameVirtualHost VirtualHosts
  1. gnetwork-cp
    Replies:
    3
    Views:
    353

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice