Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: zmlogswatch crashes after upgrade to 6.0.2

  1. #1
    Join Date
    Sep 2008
    Posts
    27
    Rep Power
    7

    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,

  2. #2
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    Are you seeing anything in /opt/zimbra/log/zmlogswatch.out ?

  3. #3
    Join Date
    Sep 2008
    Posts
    27
    Rep Power
    7

    Default

    Thanks for your answer.

    Absolutely nothing, this file zmlogswatch.out is empty.

  4. #4
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    When is it crashing? Around the time logrotate runs?

  5. #5
    Join Date
    Sep 2008
    Posts
    27
    Rep Power
    7

    Default

    Good question!

    How can I know when it is crashing?

  6. #6
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    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.

  7. #7
    Join Date
    Sep 2008
    Posts
    27
    Rep Power
    7

    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.

  8. #8
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    How about this:
    Code:
    bzcat /opt/zimbra/log/zmlogswatch.out-200911*

  9. #9
    Join Date
    Sep 2008
    Posts
    27
    Rep Power
    7

    Default

    Here is the result
    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

    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...

  10. #10
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    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);"

Similar Threads

  1. Replies: 2
    Last Post: 11-23-2009, 06:20 PM
  2. Upgrade Fail from 6.0.1 to 6.0.2
    By stich86 in forum Migration
    Replies: 2
    Last Post: 10-29-2009, 10:30 AM
  3. Upgrade to 6.0.2 advice
    By sadams@bigrocksports.com in forum Zimbra Connector for BlackBerry
    Replies: 7
    Last Post: 10-27-2009, 09:42 AM
  4. [SOLVED] Upgrade from 6.0.1 to 6.0.2 trashed web UI
    By MaffooClock in forum Installation
    Replies: 10
    Last Post: 10-26-2009, 05:07 AM
  5. [SOLVED] Upgrade from 6.0.1 to 6.0.2 fails
    By ianw1974 in forum Installation
    Replies: 2
    Last Post: 10-25-2009, 11:08 AM

Posting Permissions

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