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.

warning for the start httpd

Discussion in 'General Discussion' started by f@b, Feb 7, 2008.

  1. f@b

    f@b Member

    Joined:
    Jan 8, 2008
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Hello,
    I have a warning when I start httpd. You have an idea to make to take(bring) out the warning? Thank you

    [warn] NameVirtualHost *:80 has no VirtualHosts
     
  2. Amit Deshmukh

    Amit Deshmukh Well-Known Member

    Joined:
    Jul 1, 2007
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Its Simple

    WHM tend to fill of garbage httpd.conf
    If you have the time clean those unnecessary items under /var/log files.

    Let us know if the error persist.

    Regards,
    Amit
     
    #2 Amit Deshmukh, Feb 7, 2008
    Last edited: Feb 7, 2008
  3. f@b

    f@b Member

    Joined:
    Jan 8, 2008
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Yes, but to take away this warning, I must make what in httpd.conf to put one * in front of the line but in every virtualhost her is going to make the same
    thing not?
     
  4. f@b

    f@b Member

    Joined:
    Jan 8, 2008
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    before my virtualhosts I have:

    # DO NOT EDIT. AUTOMATICALLY GENERATED
    NameVirtualHost *:80
    NameVirtualHost xx.xx.xx.xxx:80
    NameVirtualHost *
     
  5. f@b

    f@b Member

    Joined:
    Jan 8, 2008
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    #NameVirtualHost *:80
    NameVirtualHost xx.xx.xx.xxx:80
    NameVirtualHost *

    ok!
     
  6. Amit Deshmukh

    Amit Deshmukh Well-Known Member

    Joined:
    Jul 1, 2007
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Its Simple

    No, I think you did not got me.

    Please fire the command # df -h and let us know the output .

    Regrads,
    Amit
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    "df -h" and /var/log don't have anything whatsoever to do with this message from apache and won't provide any useful information for it.

    The message is simply a warning and can be completely ignored so long as you're not having any site access issues.
     
  8. f@b

    f@b Member

    Joined:
    Jan 8, 2008
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    my problem is ended. I commented on a line. My partition is empty not problem
     
  9. grindlay

    grindlay Active Member

    Joined:
    Dec 8, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Edinburgh, Scotland
    cPanel Access Level:
    Root Administrator
    Apache NameVirtualHost x.x.x.x:443 has no VirtualHosts

    Thanks for the reassurance Chirpy.
    This came up on my server today after I installed a couple of self-signed SSL certificates.
    For some reason, after I distilled the httpd.conf changes into Apache, I started getting this error.
    Presumably it's is related to this thread:
    http://www.mail-archive.com/modssl-users@modssl.org/msg07872.html

    I still don't quite get it though, because I have 2 SSL VirtualHosts on different IPs, i.e.
    NBVH1 = IP1:443
    NBVH2 = IP2:443

    When I do httpd -t, I get:
    [warn] NameVirtualHost IP1:443 has no VirtualHosts
    [warn] NameVirtualHost IP2:443 has no VirtualHosts

    in http.conf:

    NameVirtualHost IP1:443
    NameVirtualHost IP1:80
    NameVirtualHost IP2:443
    NameVirtualHost IP2:80
    NameVirtualHost *

    Is this a bug or just expected behaviour ?
    Cheers.
     
Loading...

Share This Page