Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

So I chowned my server... Default owner help

Discussion in 'E-mail Discussion' started by GrandAdmiral, Dec 16, 2014.

  1. GrandAdmiral

    GrandAdmiral Active Member

    Joined:
    May 21, 2014
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi All

    Its been a bad night to say the least. Fortunately, thanks to some exemplary work by my hosting provider I'm almost back on my feet but I have two remaining issues.

    -Exim is having permission problems with its system filter (in my case /etc/antivirus.empty, Mailscanner is installed). Can someone please provide the default permissions and UID:GID?
    -Second one is below
    Dec 17 04:14:50 srv1 dccproc[12412]: open(/var/dcc/map): Permission denied
    Dec 17 04:14:50 srv1 dccproc[12412]: lock_open(/var/dcc/whiteclnt.dccx): Permission denied; file not writeable for locking
    Again, default UID:GID would be fantastic.

    Thanks!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,699
    Likes Received:
    1,790
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Those are not standard files associated with a cPanel installation on CentOS/RHEL. What's the specific error message you are receiving in /var/log/exim_mainlog or /var/log/exim_paniclog?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. GrandAdmiral

    GrandAdmiral Active Member

    Joined:
    May 21, 2014
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Michael

    I've followed up with cPanel support and sorted out the first issue (turned out it was a problem with the exim binary permissions, not the filter file).

    For the second issue, the error is in /var/log/maillog:

    Dec 18 12:12:55 srv1 dccproc[22368]: open(/var/dcc/map): Permission denied
    Dec 18 12:12:55 srv1 dccproc[22368]: lock_open(/var/dcc/whiteclnt.dccx): Permission denied; file not writeable for locking
    Dec 18 12:13:01 srv1 dccproc[22371]: open(/var/dcc/map): Permission denied
    Dec 18 12:13:01 srv1 dccproc[22371]: lock_open(/var/dcc/whiteclnt.dccx): Permission denied; file not writeable for locking

    - - - Updated - - -

    According to my research these files are part of SpamAssasin
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,699
    Likes Received:
    1,790
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    What are the existing permissions/ownership values on those files?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. GrandAdmiral

    GrandAdmiral Active Member

    Joined:
    May 21, 2014
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    /var/dcc/ root:root 0755
    /var/dcc/map root:bin 0600

    The second file doesn't exist, I'm guessing its a lock file that is trying to be written and can't. All other files in the folder are root:bin with varying permissions

    On closer examination dccproc is set to root:bin so I'm going to try changing /var/dcc/ to root:bin as well
     
  6. GrandAdmiral

    GrandAdmiral Active Member

    Joined:
    May 21, 2014
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I've reinstalled DCC and it looks to be resolved. Thanks Michael!
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,699
    Likes Received:
    1,790
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    I am happy to see the issue has been addressed. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice