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.

i.p. in httpd config file that is not on server

Discussion in 'General Discussion' started by DWHS.net, Jan 21, 2005.

  1. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Strange this i.p. is in the httpd config file yet when I remove it apache crashes.

    We never added it and it's not conected to anythig that we can see.

    It's set as a virtual host i.p. but there is no hosts using it.

    Why would apache crash when I remove it if it's not connected to a actualy host?

    Thanks,

    -Charles
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Try doing
    /usr/sbin/httpd configtest
    before and after removing it.

    If it's not used for anything, it shouldn't hurt to remove it.
     
  3. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Yeh that's how I found it :)

    I am afraid to experiment with it removed since apache will be down. The server is on production.

    I was thinking the same thing though, remove then do the test again I just didn't wantthe downtime but I guess one minute nowc is better then a major problem from it later.

    Thanks,
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I've seen those when a datacenter uses a ghost build of their servers with the OS and cPanel already installed. They then change the IP addresses on the server and the original build one gets left behind.

    If you can show us the line that contains the address we can probably tell you how much/what needs deleting. Having said that, leaving it there probably won't do any harm at all.
     
Loading...

Share This Page