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 error

Discussion in 'General Discussion' started by BianchiDude, Jul 16, 2005.

  1. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    I get the following local domains error:
    2005-07-16 21:25:50 failed to open /etc/localdomains for linear search: Permission denied (euid=47 egid=12)

    How can I fix this?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Running the following ought to fix it:

    /scripts/mailperm

    If not, then the following should:

    chown root:mail /etc/localdomains
    chmod 660 /etc/localdomains
     
  3. rmbnet

    rmbnet Well-Known Member

    Joined:
    Feb 22, 2004
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Chirpy.. you are godlike as usual... :) fixed my problem too!!
     
  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
    Funnily enough, I've just had the error on 6 or so servers myself!
     
  5. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    Im not sure but I think upcp might have changed the permissions on that file. Can anyone verify this?
     
  6. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    I have one server that keeps changing /etc/localdomains back to 600. This stops email complete. Please!! Does someone have a permenant fix for this?

    # cat /var/log/exim_mainlog | grep localdomains | wc -l
    22789

    So far over 22,000 emails didnt go through, HHHHHHHHHHEEEEEEEEEEEELLLLLLLLLPPPPPPPPPPPPPPP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :confused:
     
    #6 BianchiDude, Jul 19, 2005
    Last edited: Jul 19, 2005
  7. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    I updated cpanel and it works now.
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
  9. labahost

    labahost Well-Known Member

    Joined:
    May 4, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    It din't help for me, it just removed the error about localdomains (/scripts/mailperm) but I had manually to set chown root:mail /etc/userdomains to fix all my problems.
    Does anybody know which program might have changed those permisions?
     
  10. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It's /scripts/eximup and it ought to be fixed now. Running /scripts/updatenow will obtain the latest eximup for you.
     
  11. Cash

    Cash Well-Known Member

    Joined:
    Jun 9, 2004
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    I am using WHM 10.3.1 cPanel 10.4.0-C150 ,

    /scripts/mailperm - Fail

    also Running /scripts/updatenow - Fail
    and /scripts/eximup - Fail

    but

    /scripts/updateuserdomains seem like work for me.
     
Loading...

Share This Page