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 11-13-2009, 06:06 AM
Active Member
 
Posts: 27
Default zmlogswatch crashes after upgrade to 6.0.2

Hi everybody,

I upgraded last week from version 6.0.1 to 6.0.2 (Community edition on a Debian server).

I noticed that since this moment zmlogswatch crashes on a regular basis. I can have it working again with "zmlogswatchctl stop/start", but, within the next 24 hours it crashes again.

I don't see anything in zimbra logs, but maybe I'm not looking at the right place.

If someone can give me a hand to solve this problem I would be really nice.

Thanks in advance,
Reply With Quote
  #2 (permalink)  
Old 11-13-2009, 12:08 PM
Moderator
 
Posts: 1,147
Default

Are you seeing anything in /opt/zimbra/log/zmlogswatch.out ?
Reply With Quote
  #3 (permalink)  
Old 11-13-2009, 03:12 PM
Active Member
 
Posts: 27
Default

Thanks for your answer.

Absolutely nothing, this file zmlogswatch.out is empty.
Reply With Quote
  #4 (permalink)  
Old 11-16-2009, 01:29 PM
Moderator
 
Posts: 1,147
Default

When is it crashing? Around the time logrotate runs?
Reply With Quote
  #5 (permalink)  
Old 11-17-2009, 01:59 AM
Active Member
 
Posts: 27
Default

Good question!

How can I know when it is crashing?
Reply With Quote
  #6 (permalink)  
Old 11-17-2009, 10:54 AM
Moderator
 
Posts: 1,147
Default

Well how do you know that it is down in the first place? Are you manually running `zmcontrol status`, or are you getting an email?

If you are getting an email the time of that email should be within 2-4 minutes of when it went down.
Reply With Quote
  #7 (permalink)  
Old 11-17-2009, 11:40 AM
Active Member
 
Posts: 27
Default

To know that it is down I have many clues:
- logging into the administration interface all "status indicators" are off
- in this admin interface, I get an error message when I want to display statistics graphs
- then, if I execute "zmcontrol status" in command line I can see than zmlogswatchctl is not running

But I don't receive any mail, so that I don't know exactly when it occurs.
Reply With Quote
  #8 (permalink)  
Old 11-17-2009, 12:49 PM
Moderator
 
Posts: 1,147
Default

How about this:
Code:
bzcat /opt/zimbra/log/zmlogswatch.out-200911*
Reply With Quote
  #9 (permalink)  
Old 11-17-2009, 01:28 PM
Active Member
 
Posts: 27
Default

Here is the result
Quote:
bzcat: Can't open input file /opt/zimbra/log/zmlogswatch.out-200911*: No such file or directory.
zmlogswatch.out is empty

Uncompressing zmlogswatch.out.2.gz gives a file containing

Quote:
Can't locate Date/Parse.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /opt/zimbra/libexec/logswatch line 30.
BEGIN failed--compilation aborted at /opt/zimbra/libexec/logswatch line 30.
I don't know if this helps...
Reply With Quote
  #10 (permalink)  
Old 11-17-2009, 01:40 PM
Moderator
 
Posts: 1,147
Default

Ah ha, yes that does help. looks like your perl include paths aren't set correctly.
Try running this as the zimbra user:
Code:
perl -e "print join(\"\n\", @INC);"
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.