Page 1 of 5 123 ... LastLast
Results 1 to 10 of 63

Thread: upgrade to 6.0.2 stats and status no longer working

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Posts
    22
    Rep Power
    5

    Default upgrade to 6.0.2 stats and status no longer working

    As many have encountered, I experience the problem with the status page being wrong (everything appears down (red cross) even if it's working perfectly) and the stats are no longer working, after updating from 5 to 6.0.2

    I noticed other had different results from their troubleshooting tips per the wiki, but the information collected following the procedure didn't help me. Here are the information:

    zmloggerctl status; echo $?; ps ax | grep zmlogger

    0
    24968 pts/1 S+ 0:00 grep zmlogger

    /opt/zimbra/libexec/zmrrdfetch -f zmmtastats
    no structure found for zmmtastats at /opt/zimbra/libexec/zmrrdfetch line 225.

    /opt/zimbra/libexec/zmrrdfetch -c -f zmmtastats
    no structure found for zmmtastats at /opt/zimbra/libexec/zmrrdfetch line 225.

    grep -w MTA /var/log/zimbra-stats.log

    (doesn't return anything, and zimbra-stats.log stays empty)

    zmsoap -z GetLoggerStatsRequest stats/@name=zmmtastats | head -20
    ERROR: service.FAILURE (system failure: Unable to read logger stats)

    zmsoap -z GetLoggerStatsRequest stats/@name=zmmtastats @limit=1 | head -50
    ERROR: service.FAILURE (system failure: Unable to read logger stats)

    As a guess, I tried to edit the syslog setting to make syslog write all data (mail.* auth.* local.*) to zimbra-stats.log, not really sure that was what was expected... At least I get the information the system needs to make the stats in the correct place, but it doesn't work better. The message I get as a result for the last two commands is then :

    zmsoap -z GetLoggerStatsRequest stats/@name=zmmtastats |head -20
    GetLoggerStatsResponse xmlns="urn:zimbraAdmin"/

    and

    zmsoap -z GetLoggerStatsRequest stats/@name=zmmtastats @limit=1
    GetLoggerStatsResponse xmlns="urn:zimbraAdmin"/

    System is Debian 5 64 bits, emulated in a vmware.

    What are the steps to take to make it work? (the data doesn't seem written to zimbra-stats.log from where it is supposed to originate, but I checked the usual suspects in that regard (permissions...) so I am a little puzzled.

    Thanks in advance for helping me fixing my problem!
    Last edited by Richelieu; 10-28-2009 at 05:51 PM.

  2. #2
    Join Date
    Feb 2007
    Location
    Houston, Texas
    Posts
    51
    Rep Power
    8

    Default

    This seemed to work for me, hope it helps:

    As root

    Go to line 57 of /opt/zimbra/libexec/zmstat-convertd and change it to say:

    next if (!defined($ppid));

    instead of

    die "ppid not found for $pid" if (!defined($ppid));

    Restart Zimbra

  3. #3
    Join Date
    Oct 2009
    Posts
    22
    Rep Power
    5

    Default

    Thanks jwhbud. Unfortunately, I didn't solve the problem for me
    I still get blank stats.

  4. #4
    Join Date
    Oct 2009
    Posts
    22
    Rep Power
    5

    Default

    I'll add that I got the same zmstat.out than others :

    Use of uninitialized value in subtraction (-) at /opt/zimbra/libexec/zmstat-allprocs line 118.

    repeated thousands of line...

  5. #5
    Join Date
    Jun 2009
    Posts
    131
    Rep Power
    6

    Default

    Ack, same problem...just found this thread; ive posted another, apologies. The global status work fine, however the server specific on the drop down below the global, do not work... 48 hours shows nothing, 30 days and above shows stuff....

  6. #6
    Join Date
    Jun 2009
    Posts
    131
    Rep Power
    6

    Default

    root@mambo:/etc/apache2# tail /opt/zimbra/zmstat/zmstat.out
    Use of uninitialized value in subtraction (-) at /opt/zimbra/libexec/zmstat-allprocs line 118.
    Use of uninitialized value in subtraction (-) at /opt/zimbra/libexec/zmstat-allprocs line 118.
    Use of uninitialized value in subtraction (-) at /opt/zimbra/libexec/zmstat-allprocs line 118.
    Use of uninitialized value in subtraction (-) at /opt/zimbra/libexec/zmstat-allprocs line 118.
    Use of uninitialized value in subtraction (-) at /opt/zimbra/libexec/zmstat-allprocs line 118.
    Use of uninitialized value in subtraction (-) at /opt/zimbra/libexec/zmstat-allprocs line 118.
    Use of uninitialized value in subtraction (-) at /opt/zimbra/libexec/zmstat-allprocs line 118.
    Use of uninitialized value in subtraction (-) at /opt/zimbra/libexec/zmstat-allprocs line 118.
    Use of uninitialized value in subtraction (-) at /opt/zimbra/libexec/zmstat-allprocs line 118.
    Use of uninitialized value in subtraction (-) at /opt/zimbra/libexec/zmstat-allprocs line 118.

  7. #7
    Join Date
    Oct 2009
    Posts
    2
    Rep Power
    6

    Default

    I am also getting this same error. Fresh install of 6.0.2 in Debian 5 64bit on a Xen DomU.

  8. #8
    Join Date
    Jun 2006
    Location
    Washington DC
    Posts
    124
    Rep Power
    9

    Default

    Same for me.

    Running FC11 x64 version and Zimbra OpenSource 6.0.2 .

  9. #9
    Join Date
    Jun 2009
    Posts
    131
    Rep Power
    6

    Default

    https://bugzilla.zimbra.com/show_bug.cgi?id=42332

    ive logged this bug, please update this if youre also seeing it.

  10. #10
    Join Date
    Nov 2009
    Posts
    1
    Rep Power
    5

    Default Finally

    I had to do a few things to get the statuses and stats showing properly:

    First, my /opt/zimbra/logger/db/data/logger.sqlitedb file didn't have any schema, so I did this as root:
    rm -r /opt/zimbra/logger/db/data/*

    Second, I wanted to verify all my permissions, so as root:
    /opt/zimbra/libexec/zmfixperms

    Then I ran this as the zimbra user to create the /opt/zimbra/logger/db/data/logger.sqlitedb and /opt/zimbra/logger/db/data/rrds directory:
    /opt/zimbra/libexec/zmlogger&

    I then had to kill that zmlogger process because it still didn't work: killall zmlogger

    I then noticed the /var/log/zimbra-stats.log file was staying empty... after much digging, I found the /etc/syslog.conf file wasn't modified during the installation like it should to include zimbra-stats.log I backed up my /etc/syslog.conf file and then ran this as root:
    /opt/zimbra/bin/zmsyslogsetup

    Restarted Zimbra, and now everything works. I think the syslog.conf not getting updated was the cause of the whole problem.

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, 01: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
  •