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!

Apache Raw Access log empty .gz file

Discussion in 'General Discussion' started by Havri, Dec 6, 2017.

  1. Havri

    Havri Well-Known Member

    Joined:
    Oct 28, 2013
    Messages:
    78
    Likes Received:
    17
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Hello,

    We are encountering a problem on a server. If we access any account on the server and we try to download the Raw Access logs from the "Download Current Raw Access Logs" section, all we get is an empty .gz file.

    The error message from /usr/local/cpanel/logs/error_log is the following:

    gzip: /etc/apache2/logs/domlogs/mydomain.com-ssl_log: Permission denied

    This happens to both SSL and non-SSL logs.

    Does anyone have any recommendations to get this fixed? Let me know if you need any other info.

    Thank you.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    There a few potential causes to this issue (e.g. custom Apache templates, third-party software). Could you open a support ticket using the link in my signature so we can take a closer look to see what's happening?

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

    Havri Well-Known Member

    Joined:
    Oct 28, 2013
    Messages:
    78
    Likes Received:
    17
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Hello,

    I've opened a ticket:

    Your Support Request ID is: 9091455

    Thank you.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    To update, this was the result of a custom ACL set on the /etc/apache2/logs directory. Reverting to the default ACL solved the issue.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    linux4me2 likes this.
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