Results 1 to 6 of 6

Thread: [SOLVED] 5.0 GA - logrotate problem

  1. #1
    Join Date
    Jun 2007
    Location
    Czech Republic, Prague
    Posts
    66
    Rep Power
    8

    Default [SOLVED] 5.0 GA - logrotate problem

    Hi,
    i upgraded zimbra 5.0 RC2 FOSS -> 5.0 GA FOSS (Ubutu 6.06 LTS). After upgrade i foud errors in cron.daily:

    Code:
    /etc/cron.daily/logrotate:
    -su: /opt/zimbra/bin/zmmtaconfig: No such file or directory
    error: error running postrotate script for /opt/zimbra/log/zmmtaconfig.log
    run-parts: /etc/cron.daily/logrotate exited with return code 1
    In /etc/logrotate.d/zimbra is:

    Code:
    ...
    /opt/zimbra/log/zmmtaconfig.log {
        daily
        missingok
        copytruncate
        notifempty
        create 0740 zimbra zimbra
        postrotate
          su - zimbra -c "/opt/zimbra/bin/zmmtaconfig restart"
        endscript
        rotate 5
        compress
    }
    ....
    .. but there is no file /opt/zimbra/bin/zmmtaconfig. Should i have there
    /opt/zimbra/bin/zmmtaconfigctl ?


    Thanks.

  2. #2
    Join Date
    Feb 2006
    Location
    Germany, Saarland, Saarbruecken
    Posts
    53
    Rep Power
    9

    Default

    Quote Originally Posted by boblin View Post
    Hi,
    i upgraded zimbra 5.0 RC2 FOSS -> 5.0 GA FOSS (Ubutu 6.06 LTS). After upgrade i foud errors in cron.daily:

    Code:
    /etc/cron.daily/logrotate:
    -su: /opt/zimbra/bin/zmmtaconfig: No such file or directory
    error: error running postrotate script for /opt/zimbra/log/zmmtaconfig.log
    run-parts: /etc/cron.daily/logrotate exited with return code 1
    In /etc/logrotate.d/zimbra is:

    Code:
    ...
    /opt/zimbra/log/zmmtaconfig.log {
        daily
        missingok
        copytruncate
        notifempty
        create 0740 zimbra zimbra
        postrotate
          su - zimbra -c "/opt/zimbra/bin/zmmtaconfig restart"
        endscript
        rotate 5
        compress
    }
    ....
    .. but there is no file /opt/zimbra/bin/zmmtaconfig. Should i have there
    /opt/zimbra/bin/zmmtaconfigctl ?


    Thanks.
    You can find "zmmtaconfig" her:

    /opt/zimbra/libexec/zmmtaconfig

    Cu

  3. #3
    Join Date
    Jun 2007
    Location
    Czech Republic, Prague
    Posts
    66
    Rep Power
    8

    Default

    Quote Originally Posted by Achim.Theobald View Post
    You can find "zmmtaconfig" her:

    /opt/zimbra/libexec/zmmtaconfig

    Cu

    Do I have to change path to zmmtaconfig in /etc/logrotate.d/zimbra?
    Is this some bug in zimbra instalator 5.0 GA?

  4. #4
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Should be able to go ahead and add ctl to the end, but still off of bin (zmmtaconfigctl in libexec & bin hold two different files).
    I'll add a note to Bug 10398 - clean up logging for swatch, zmmtaconfig

  5. #5
    Join Date
    Jun 2007
    Location
    Czech Republic, Prague
    Posts
    66
    Rep Power
    8

    Default

    Thanks Mike.

  6. #6
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    10

    Default

    This was an oversight, fix will be in 5.0.1
    Bugzilla - Wiki - Downloads - Before posting... Search!

Similar Threads

  1. Outlook 2007 Beta Overview
    By GregA in forum Zimbra Connector for Outlook
    Replies: 19
    Last Post: 03-03-2008, 03:24 PM
  2. Problem after upgrade to 5.0
    By bmannella in forum Installation
    Replies: 6
    Last Post: 01-26-2008, 12:35 AM
  3. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 06:07 PM
  4. ZCS 5.0 FOSS is Released!!!
    By jholder in forum Announcements
    Replies: 1
    Last Post: 12-21-2007, 11:21 AM
  5. Replies: 0
    Last Post: 12-18-2007, 05:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •