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.

IP address, Missing.

Discussion in 'General Discussion' started by dazza2011, Nov 14, 2011.

  1. dazza2011

    dazza2011 Registered

    Joined:
    Nov 14, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I logged into my control panel this morning, clicked onto list accounts and on the IP address column it says "MISSING".
    Here is a screenshot.

    /http://prntscr.com/41030


    Please can someone help?
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    387
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Hello,

    Please try to rebuild apache conf using /scripts/rebuildhttpdconf script ( please take a backup of current httpd.conf before running this ).

    Thank you,
    Nibin.
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Can you please check the following files for one of the domains to see what is showing there:

    Code:
    /var/cpanel/userdata/username/domain.com
    /var/cpanel/users/username
    Above username would be the cPanel account username and domain.com would be the domain name. In each file, you should have an IP field that lists the IP address. If that is missing in any way, it would cause the IP to not show up in WHM's List Accounts area.

    As for making a backup of httpd.conf file, this command should suffice:

    Code:
    cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.bak111114
    With this many accounts showing the IP as missing, it's a bit concerning that /var/cpanel/userdata itself might be corrupted for data (this normally happens due to a server compromise). If that ends up being the case, you can rebuild /var/cpanel/userdata from Apache httpd.conf itself and this is why you must have that working backup of /usr/local/apache/conf/httpd.conf saved. I am not going to note the command to rebuild /var/cpanel/userdata from httpd.conf at this point as that command could seriously impact things if this isn't the case where /var/cpanel/userdata is corrupted (if you have a bad working copy of httpd.conf).

    Finally, I need to point out that if you run "/scripts/rebuildhttpdconf" command after copying httpd.conf first, please restart Apache:

    Code:
    /scripts/restartsrv_httpd
    If you don't restart Apache, no changes you make will update for WHM anyway.
     
Loading...

Share This Page