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.

localdomains loses data

Discussion in 'E-mail Discussions' started by PCZero, Apr 29, 2009.

  1. PCZero

    PCZero Well-Known Member

    Joined:
    Dec 13, 2003
    Messages:
    524
    Likes Received:
    32
    Trophy Points:
    28
    Location:
    Earth
    I have a cPanel box that I have been using for about two years now. I am experiencing an odd situation. One domain (of about 35 on the box) will from time to time drop out of the localdomains file. It just all of a sudden out of the blue is purged from the file. This of course causes all kinds of email issues. Is there a known issue that might be causing this or anything in particulrr I may want to look at. The domain in question is on the main shared IP of the server if that is of any consequence.

    Thanks
     
  2. viraj

    viraj Well-Known Member

    Joined:
    Sep 28, 2006
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Do you notice anything in the logs? There are no such known issues, but to get a workaround this I'd recommend getting the /etc/localdomains file immuted/chattr'd..

    Code:
    chattr +aui /etc/localdomains
    so it doesnt change automatically... by any means
     
  3. PCZero

    PCZero Well-Known Member

    Joined:
    Dec 13, 2003
    Messages:
    524
    Likes Received:
    32
    Trophy Points:
    28
    Location:
    Earth
    Nothing odd in the logs that I have reviewed. This does happen only for one domain name on the entire box and it is always that one name. Any suggestions as tow what exact log would give the best clues and what to look for?
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    A user changing their MX records to point to a remote server could cause this to happen. You can check /usr/local/cpanel/logs/access_log to determine if the change MX entries screen has been viewed by this customer.
     
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    This can have the side-effect of new domains not being added to /etc/localdomains.
     
Loading...
Similar Threads - localdomains loses data
  1. rohroh1974
    Replies:
    3
    Views:
    237

Share This Page