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.

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:
    16
    And ideas how to sort this "issue":


    thanks
     
  2. hydra

    hydra Well-Known Member

    Joined:
    Mar 26, 2008
    Messages:
    102
    Likes Received:
    1
    Trophy Points:
    18
    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:
    18
    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
     
  4. MMarko

    MMarko Well-Known Member

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

    It is not inside virtual server configuration.
     
  5. MMarko

    MMarko Well-Known Member

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

    NameVirtualHost *
     
  6. nrm

    nrm Member
    PartnerNOC

    Joined:
    Jan 11, 2007
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    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:
    85
    Likes Received:
    0
    Trophy Points:
    6
    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:
    1
    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:
    447
    Likes Received:
    4
    Trophy Points:
    18
    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.
     
Loading...

Share This Page