Permission Denied when awstats click update now

Because awstats on the web is run by the www-data user, and the log file generated by apache is the root user, and other users do not have read permissions

Modify the permissions of the log file in the following way

/etc/logrotate.d/apache2

Change to the following line

create 644 root adm

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327106523&siteId=291194637