Results 1 to 13 of 13

Thread: problems after a cPanel update

  1. #1
    Member
    Join Date
    Jan 2010
    Posts
    10

    Default problems after a cPanel update

    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. #2
    Member
    Join Date
    Nov 2003
    Posts
    366

    Default Re: problems after a cPanel update

    same issue here !
    --

  3. #3
    Member
    Join Date
    Aug 2006
    Posts
    8

    Default Re: problems after a cPanel update

    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. #4
    Member
    Join Date
    Jan 2010
    Posts
    10

    Default Re: problems after a cPanel update

    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. #5
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,565
    cPanel/WHM Access Level

    DataCenter Provider

    Default Re: problems after a cPanel update

    Quote Originally Posted by floppyfringe View Post
    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
    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?

  6. #6
    Member
    Join Date
    May 2006
    Location
    Morocco
    Posts
    189
    cPanel/WHM Access Level

    Root Administrator

    Default Re: problems after a cPanel update

    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. #7
    Member
    Join Date
    May 2006
    Location
    Morocco
    Posts
    189
    cPanel/WHM Access Level

    Root Administrator

    Default Re: problems after a cPanel update

    Resolved by adding the chown for exim filter file

    Code:
    chown cpaneleximfilter:cpaneleximfilter /var/log/filter.log
    Hope this be helpful
    Last edited by activa; 01-27-2011 at 06:57 PM. Reason: correct text

  8. #8
    Member
    Join Date
    Jan 2011
    Posts
    503
    cPanel/WHM Access Level

    Root Administrator

    Default Re: problems after a cPanel update

    Hello,

    Thanks for a new info!

  9. #9
    Member
    Join Date
    Nov 2007
    Posts
    900

    Default Re: problems after a cPanel update

    The same probleme here ..

    any solution for this
    Delivering All Messages in Queue

    LOG: MAIN
    cwd=/usr/local/cpanel/whostmgr/docroot 2 args: /usr/sbin/runq -v
    LOG: queue_run MAIN
    Start queue run: pid=3317
    delivering 1PmZaQ-00032y-TW (queue run pid 3317)
    LOG: MAIN PANIC
    Error in system filter: failed to open filter log file "/var/log/exim_mainlog": Permission denied (euid=512 egid=514)
    delivering 1PhWaQ-0006rd-TI (queue run pid 3317)

  10. #10
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: problems after a cPanel update

    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
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  11. #11
    Member
    Join Date
    Aug 2006
    Posts
    8

    Default Re: problems after a cPanel update

    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. #12
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,476
    cPanel/WHM Access Level

    Root Administrator

    Default Re: problems after a cPanel update

    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.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation - Find cPanel hosting


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  13. #13
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,476
    cPanel/WHM Access Level

    Root Administrator

    Default Re: problems after a cPanel update

    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.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation - Find cPanel hosting


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

Similar Threads

  1. email problems after cpanel update
    By edrom in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 02-27-2007, 09:09 AM
  2. Mail send problems since cpanel update
    By nsusa in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 10-27-2006, 11:36 PM
  3. BIND problems since cPanel Update
    By celliott in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 09-02-2006, 04:28 PM
  4. webmail problems after update cpanel
    By magicnet in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 07-28-2006, 06:37 PM
  5. Bluelagoon problems after CPanel update
    By rhood in forum Themes and Branding
    Replies: 1
    Last Post: 05-31-2003, 12:44 PM

Tags for this Thread