maillog of 2GB - logrotate not working

Discussion in 'Parallels Plesk Panel 9.x for Linux Problems, Suggested Fixes, and How-To' started by ghazlewood, Mar 3, 2011.

  1. ghazlewood

    ghazlewood New Member

    Messages:
    38
    I have a 9.2.1 CentOS 5 92090422.13 server which has a 2GB maillog file. For some reason logrotate isn't rotating this file.

    I've tried re-running the /usr/local/psa/admin/sbin/statistics command without any success
  2. IgorG

    IgorG Parallels Team

    Messages:
    15,874
    Try to run

    # /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php

    from /etc/cron.daily/50plesk-daily and check that it was logrotated.
  3. ghazlewood

    ghazlewood New Member

    Messages:
    38
    OK running the command you suggest highlights that there are some databases which it cannot read properly.

    Looking at them they are only DBs with hypens in the name. I am renaming these databases, I remember reading a similar thread but did not realise that I too had databases with malformed names.

    I also get lots of

    Can I safely ignore these messages?
  4. ghazlewood

    ghazlewood New Member

    Messages:
    38
    I still have an ever increasing maillog file even after correcting the database names. Any further suggestions please?

Share This Page