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.

NameVirtualHost error

Discussion in 'General Discussion' started by BlackBloods, Jul 26, 2014.

  1. BlackBloods

    BlackBloods Member

    Joined:
    Jul 25, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    hi guys,
    when i try to restart httpd [ service httpd restart] i am getting this error:- [warn] NameVirtualHost ip:80 has no VirtualHosts

    someone plz tell me how to fix this error :(
     
  2. cPanelKurtN

    cPanelKurtN Well-Known Member
    Staff Member

    Joined:
    Jan 29, 2013
    Messages:
    95
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Do you have multiple IPs assigned to your server? If so, that might happen if you haven't assigned any virtual hosts to the other IP.
     
  3. BlackBloods

    BlackBloods Member

    Joined:
    Jul 25, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Multiple Ip ?
    i think no, how i can check ?
     
  4. cPanelKurtN

    cPanelKurtN Well-Known Member
    Staff Member

    Joined:
    Jan 29, 2013
    Messages:
    95
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    In WHM, go to Show or Delete Current IP Addresses
     
  5. BlackBloods

    BlackBloods Member

    Joined:
    Jul 25, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    oh yes, one more ip is there.
    so how i can fix this error ?
     
  6. cPanelKurtN

    cPanelKurtN Well-Known Member
    Staff Member

    Joined:
    Jan 29, 2013
    Messages:
    95
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    By "one more ip is there", do you mean, "there's more than 1 IP address listed on the page" ?
     
  7. BlackBloods

    BlackBloods Member

    Joined:
    Jul 25, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Yes........
     
  8. cPanelKurtN

    cPanelKurtN Well-Known Member
    Staff Member

    Joined:
    Jan 29, 2013
    Messages:
    95
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    It's a harmless warning (not error), and is simply stating that all of your virtual hosts are on the other IP address, and that there are none assigned to the other.

    If the warning bothers you even after knowing what it means, you can remove the IP from your WHM configuration. Or, the next time you assign a new virtual host to your server, consider placing it on the other IP. Either way, the warning message will go away.
     
  9. BlackBloods

    BlackBloods Member

    Joined:
    Jul 25, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    oh, so you mean that i should remove second ip right ?
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You should likely just ignore the warning message. It's harmless, and results in no configuration problems.

    Thank you.
     
Loading...

Share This Page