Page 7 of 7 FirstFirst ... 567
Results 61 to 63 of 63

Thread: upgrade to 6.0.2 stats and status no longer working

  1. #61
    luiz.maia is offline Junior Member
    Join Date
    Aug 2010
    Posts
    5
    Rep Power
    4

    Default the same

    hi guys, the trick with logrotate do not work for me, still have to restart rsyslog.
    the bbugzilla says "solved on 6.0.7" but not for me.......

    i hope anybody can help!!!!

  2. #62
    luiz.maia is offline Junior Member
    Join Date
    Aug 2010
    Posts
    5
    Rep Power
    4

    Default At long Last

    Thanks for no answer, but i resolved my problem.

    my problem was on logrotate, so i saw some solutions like crontab to restart rsyslog, but the log info between logrotate and crontab(rsyslog)will be lost if you use this solution.

    So, instead use the cron solution i've inserted the command to restart rsyslog into the postrotate section under /etc/logrotate.d/zimbra, like following:

    #vim /etc/logrotate.d/zimbra

    /var/log/zimbra.log {
    daily
    missingok
    notifempty
    create 0644 zimbra zimbra
    postrotate
    killall -HUP rsyslogd 2> /dev/null || true
    su - zimbra -c "/opt/zimbra/bin/zmswatchctl restart" > /dev/null 2>&1 || true
    /etc/init.d/rsyslog restart
    endscript
    compress
    }

    /var/log/zimbra-stats.log {
    daily
    missingok
    notifempty
    create 0644 zimbra zimbra
    postrotate
    killall -HUP rsyslogd 2> /dev/null || true
    su - zimbra -c "/opt/zimbra/bin/zmlogswatchctl restart" > /dev/null 2>&1 || true
    /etc/init.d/rsyslog restart
    endscript
    rotate 0
    }

    best greets from brazil!!

  3. #63
    vinzenz is offline Junior Member
    Join Date
    Nov 2010
    Posts
    7
    Rep Power
    4

    Default

    i have rsyslog too and since my update from 6.0.10 to 7.0.0 i had the same problem. stats and status stopped working every day at 7:24 and i had to restart rsyslog. fortunately i found this thread and changed the lines of /var/log/zimbra.log and /var/log/zimbra-stats.log in file /etc/logrotate.d/zimbra to

    kill -HUP `cat /var/run/rsyslog*.pid 2> /dev/null` 2> /dev/null || true
    as i did not have this problem before, it seems, the rsyslog patch (Bug 43081 – Server statistics fail after logrotate with rsyslogd) has been lost in 7.0.0.

Page 7 of 7 FirstFirst ... 567

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Messages not being delivered
    By buee in forum Administrators
    Replies: 53
    Last Post: 10-23-2009, 10:28 AM
  2. Replies: 5
    Last Post: 05-28-2009, 12:53 AM
  3. Error after installation
    By robsontuxlinux in forum Installation
    Replies: 13
    Last Post: 09-11-2008, 09:48 PM
  4. zmmailboxdctl is stopped frequently..
    By tamilnandhu in forum Installation
    Replies: 13
    Last Post: 04-12-2008, 08:59 AM
  5. Replies: 4
    Last Post: 11-14-2007, 02:19 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
  •