Unable to read Apache log files in web GUI



  • Server
    • FOG Version: 1.3.4
    • OS: Ubuntu 16.04.1 LTS
    Client
    • Service Version:
    • OS:
    Description

    I’m getting ‘Unable to open file for reading’ message when I try to read any of the Apache log files. If I modify /etc/logrotate.d/apache2 to change ‘create 640 root adm’ to ‘create 655 root adm’ should that fix the log issue, unless some other program modifies logrotate? Or should I just schedule ‘chmod 655’ to run every day on /var/log/apache2/*.log?


  • Senior Developer

    I say set the fix in logrotate configuration. This is the correct answer and should fix the problems.


 

423
Online

41.7k
Users

12.2k
Topics

115.1k
Posts