• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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