Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-12-2009, 11:46 PM
Senior Member
 
Posts: 59
Default zmstat crashes after upgrade to 6.0.1

Hi,

one of the Zimbra's I manage is a 6.0.1_GA_1816.UBUNTU6 Network Edition that was upgraded from 5.x. We upgraded about 2 weeks ago, and I've had four alerts from my monitoring systems that one of zmstat's processes (zmstat-cpu) stops working.

They all occur around 6:30 AM, which is (if I not mistaken) the time at which some cron/logrotate jobs should run.

Anyone else seing this? Is it a know bug/issue?
Reply With Quote
  #2 (permalink)  
Old 10-13-2009, 02:22 PM
Moderator
 
Posts: 1,147
Default

Are you seeing any errors in your log files /opt/zimbra/log/mailbox.log or /var/log/zimbra-stats.log?

(Also you might want to update your forum profile if you have upgraded to 6.0.x)
Reply With Quote
  #3 (permalink)  
Old 11-12-2009, 11:08 PM
Senior Member
 
Posts: 59
Default

No errors what so ever. Still occurs from time to time, exactly at the time of the normal Ubuntu logrotate and daily system-cron. I suspect it's one of the processes that doesn't like the fact that it's logfile has changed?

That box is still on 6.0.1 NE, I'll try to upgrade to 6.0.2 this weekend.
Reply With Quote
  #4 (permalink)  
Old 11-13-2009, 10:01 AM
Moderator
 
Posts: 1,147
Default

Looks like 6:25 is when the daily crontab entries run, including logrotate.
The only one that I see that might be causing the issue is /var/log/zimbra-stats.log. The relevant logrotate config on my system is:
Code:
/var/log/zimbra-stats.log {
    daily
    missingok
    notifempty
    create 0644 zimbra zimbra
    postrotate
      killall -HUP syslogd 2> /dev/null || true
      su - zimbra -c "/opt/zimbra/bin/zmlogswatchctl restart" > /dev/null 2>&1 || true
    endscript
    rotate 0
}
Does yours look any different?
Reply With Quote
  #5 (permalink)  
Old 11-13-2009, 11:41 AM
Senior Member
 
Posts: 59
Default

There are a few that seem logwatch related:

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

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

/opt/zimbra/log/zmlogswatch.out {
daily
missingok
copytruncate
notifempty
create 0740 zimbra zimbra
postrotate
su - zimbra -c "/opt/zimbra/bin/zmlogswatchctl stop"
su - zimbra -c "/opt/zimbra/bin/zmlogswatchctl start"
endscript
rotate 5
compress
}
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.