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!

problems after a cPanel update

Discussion in 'E-mail Discussion' started by floppyfringe, Jan 5, 2011.

  1. floppyfringe

    floppyfringe Active Member

    Joined:
    Jan 21, 2010
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    It seems there has been a cPanel update and a custom exim script has now stopped working

    LOG: MAIN PANIC Error in system filter: failed to open filter log file "/var/log/filter.log": Permission denied (euid=507 egid=505)

    Can anyone suggest how I can get it working again? When I comment out all the logfile /var/log/filter.log 0644
    and logwrite lines everything but the logging works as it should, so i'm 99.9% sure it's the logging that is failing, filters work as before

    Thanks
     
  2. webstyler

    webstyler Well-Known Member

    Joined:
    Nov 20, 2003
    Messages:
    439
    Likes Received:
    0
    Trophy Points:
    166
    same issue here !
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Giannis78

    Giannis78 Member

    Joined:
    Aug 29, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    151
    Same issue here
    WHM 11.28.64
    I see from mail log
    2011-01-11 11:07:19 1Pb1Tu-0000yU-5F Error in system filter: failed to open filter log file "/var/log/exim_mainlog": Permission denied (euid=507 egid=512)
     
  4. floppyfringe

    floppyfringe Active Member

    Joined:
    Jan 21, 2010
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Well nice to know I'm not the only one with the problem, has anyone from cPanel got a clue how to fix it?
     
  5. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,554
    Likes Received:
    9
    Trophy Points:
    168
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    What Exim customizations were applied?

    What is the "custom exim script" that stopped working? How was this implemented; how does it integrate with the Exim configuration?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    207
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    The same probleme here ..

    any solution for this

    Code:
    Error in system filter: failed to open filter log file "/var/log/filter.log": Permission denied (euid=506 egid=503)
     
  7. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    207
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    Resolved by adding the chown for exim filter file

    Code:
    chown cpaneleximfilter:cpaneleximfilter /var/log/filter.log
    Hope this be helpful
     
    #7 activa, Jan 27, 2011
    Last edited: Jan 27, 2011
  8. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    5
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Hello,

    Thanks for a new info!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    941
    Likes Received:
    0
    Trophy Points:
    66
    The same probleme here ..

    any solution for this
     
  10. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Check the ownership and file permissions on /var/log/exim_mainlog location, since it is reporting in the error the file with the issue (/var/log/exim_mainlog). The ownership and permissions should be the following:

    Code:
    # ls -lah /var/log/exim_mainlog
    -rw-r----- 1 mailnull mail 2.5M Mar 22 17:58 /var/log/exim_mainlog
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Giannis78

    Giannis78 Member

    Joined:
    Aug 29, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    151
    Hello
    i am still having this problem
    Permission on exim_mainlog is as mentioned above but i still see
    2011-04-21 12:09:23 1PeDZZ-0001yq-HU Error in system filter: failed to open filter log file "/var/log/exim_mainlog": Permission denied (euid=504 egid=504)

    Any solution on this?

    Thank you
     
  12. cPanelJared

    cPanelJared Technical Analyst

    Joined:
    Feb 25, 2010
    Messages:
    1,835
    Likes Received:
    20
    Trophy Points:
    143
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You also need to check the permissions of every directory up the tree. A permissions problem on a parent directory could cause permission on /var/log/exim/mainlog to be denied.

    The permissions and ownerships on the file and its parent directories should be like this:

    Code:
    # ls -alh /var/log/exim_mainlog
    -rw-r----- 1 mailnull mail 197K Apr 21 08:33 /var/log/exim_mainlog
    
    # ls -alh /var/
    total 198K
    drwxr-xr-x 27 root root  4.0K Apr 11 11:55 ./
    drwxr-xr-x 27 root root  4.0K Apr 20 21:53 ../
    ...
    ...
    drwxr-xr-x 11 root root  4.0K Apr 21 04:06 log/
    
    # ls -alh /
    total 314K
    drwxr-xr-x  27 root root 4.0K Apr 20 21:53 ./
    drwxr-xr-x  27 root root 4.0K Apr 20 21:53 ../
    ...
    ...
    drwxr-xr-x  27 root root 4.0K Apr 11 11:55 var/
    If you see any difference in the permissions or ownerships on your server compared to what I just gave you, you need to change them.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. cPanelJared

    cPanelJared Technical Analyst

    Joined:
    Feb 25, 2010
    Messages:
    1,835
    Likes Received:
    20
    Trophy Points:
    143
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If the permissions information I gave you above does not help, please submit a ticket, so that we can log in, find the problem and fix it for you. There is no charge to submit a ticket, and tickets with services (such as Exim) down are given emergency status and treated with priority until the service is back up.
     
    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