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!

mixing * ports and non-* ports with a NameVirtualHost

Discussion in 'General Discussion' started by MMarko, Aug 18, 2008.

  1. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    166
    And ideas how to sort this "issue":


    thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. hydra

    hydra Well-Known Member

    Joined:
    Mar 26, 2008
    Messages:
    102
    Likes Received:
    1
    Trophy Points:
    68
    Location:
    Amsterdam, Netherlands
    Hi,

    It looks like you are trying to run the VirtualHost 12.73.33.41 on port 0
     
  3. MaestriaNick

    MaestriaNick Well-Known Member

    Joined:
    Aug 6, 2008
    Messages:
    159
    Likes Received:
    3
    Trophy Points:
    68
    Usually, the port is 80, so the entry should be

    VirtualHost 12.73.33.41:80


    check for entries like 12.73.33.41:0 and replace it with 12.73.33.41:80, in the conf or in the included files
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    166
    I will check, but this seems like some default entry in httpd configuration file.

    It is not inside virtual server configuration.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    166
    I just had to comment out this in main httpd

    NameVirtualHost *
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. nrm

    nrm Member
    PartnerNOC

    Joined:
    Jan 11, 2007
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Moscow, Russia
    i have same problem but resolv it after inspect all <VirtualHost IP:Port> Directive, and 1 host do no have "Port" number exampleL

    <VirtualHost 1.2.3.4>

    just edit htpd.conf and fix this error

    <VirtualHost 1.2.3.4:80>
     
  7. natong

    natong Well-Known Member

    Joined:
    May 17, 2008
    Messages:
    89
    Likes Received:
    1
    Trophy Points:
    56
    Thank it works!

    I faced the same problem. I think it came from cpanel update.
     
    #7 natong, Sep 15, 2008
    Last edited: Sep 15, 2008
  8. alex jose

    alex jose Registered

    Joined:
    Oct 29, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    india
    face the same issue in 3 or cPnale server .

    I have face the same issue in 3 or more cPanel server . but it not effcet the the apache service . just an error : "[error] VirtualHost Myip:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results "
    It solved by chnage
    <VirtualHost 1.2.3.4> change to <VirtualHost 1.2.3.4:80>.

    Can any one tell how this error effect to our server ?
     
  9. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    458
    Likes Received:
    6
    Trophy Points:
    68
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    If you made the change manually without running Apache distiller, the changes will be reverted.
    I normally run '/scripts/rebuildhttpdconf' and this fixes the error.

    The error is self-explanatory, I have seen this error on multiple servers but it rarely does anything that fatally alters Apache service. I normally rebuild Apache configuration file with cPanel's script and it stops the warning.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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