1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Cron config

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by 2danis2do, Jan 19, 2010.

  1. 2danis2do

    2danis2do Guest

    0
     
    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
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,576
    Likes Received:
    1,244
    Location:
    Novosibirsk, Russia
    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

    But I think that it can be safely deleted.
     
  3. 2danis2do

    2danis2do Guest

    0
     
    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
     
Loading...