kb: technical
ABT: Group B
Symptoms
Cron jobs email report shows Logrotate daily task errors:
CONFIG_TEXT: /etc/cron.daily/logrotate:
error: Ignoring alt-php73-newrelic-daemon because of bad file mode - must be 0644 or 0444.
error: Ignoring alt-php73-newrelic-php5 because of bad file mode - must be 0644 or 0444.
Cause
Incorrect permissions for Logrotate configuration files.
Resolution
Restore files permissions as below:
-
Connect to the server via SSH;
-
Run the commands:
# chown -R root:root /etc/logrotate.d/alt-*
# chmod -R 0644 /etc/logrotate.d/alt-*
Comments
0 comments
Please sign in to leave a comment.