• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Cron config

2

2danis2do

Guest
Hi Guys,

Currently getting the following message:

/etc/cron.daily/logrotate:

error: m:1 unknown option 'logrotate' -- ignoring line
error: m:1 unexpected text

Looking in

/etc/logrotate.d


I have the following files:

clamav.rpmsave drweb-update m rpm sw-sso yum
drwebd httpd named sa-update syslog

looking in m I have the following:

logrotate state -- version 2


My question is what are the correct files that are supposed to me in /etc/logrotate.d and in particular, what is the correct entry for m. IS m the correct file name? I guess this is supposed to contain direction for rotatin gthe mail log but this is located not in /var/log but in /usr/local/psa/var/log/ . Also can i simply remove the file m if this is handled elsewhere?

regards,

Dan
 
I have checked it on fresh installed Plesk 9.3.0 and not found any m file in /etc/logrotate.d directory. You can try to find package where this file is included with

rpm -qf /etc/logrotate.d/m

or

dpkg -S /etc/logrotate.d/m
But I think that it can be safely deleted.
 
Thanks,

rpm -qf /etc/logrotate.d/m
file /etc/logrotate.d/m is not owned by any package

Have now removed this file. Not sure where it came from.

D
 
Back
Top