Results 1 to 5 of 5

Thread: Stats service stopped

  1. #1
    Join Date
    Jun 2011
    Location
    Caracas Venezuela
    Posts
    476
    Rep Power
    4

    Default Stats service stopped

    After succesful upgrade from 7.1.2 to 7.1.3 the service zmstats stopped. Pick and try some solutions from this forums but the problem continues. I'll preciate any help.

  2. #2
    Join Date
    Jun 2011
    Location
    Caracas Venezuela
    Posts
    476
    Rep Power
    4

    Default

    Continue with no stats, as far i can see there no ownership problems, only zmstat-fd-real.pid owned by root. I've ran zmfixperms with no success.

    root@mail:~# su - zimbra
    zimbra@mail:~$ zmstatctl status
    Running: zmstat-mtaqueue
    process 9598 in /opt/zimbra/zmstat/pid/zmstat-mysql.pid not running
    Running: zmstat-io-x
    Running: zmstat-df
    Running: zmstat-proc
    Running: zmstat-vm
    Running: zmstat-allprocs
    Running: zmstat-fd
    Running: zmstat-io
    Running: zmstat-cpu
    zimbra@mail:~$ cd /opt/zimbra/zmstat/pid/
    zimbra@mail:~/zmstat/pid$ ls -slt
    total 44
    4 -rw-r----- 1 zimbra zimbra 5 Oct 4 22:54 zmstat-mysql.pid
    4 -rw-r----- 1 root root 6 Oct 4 22:54 zmstat-fd-real.pid
    4 -rw-r----- 1 zimbra zimbra 5 Oct 4 22:54 zmstat-df.pid
    4 -rw-r----- 1 zimbra zimbra 5 Oct 4 22:54 zmstat-fd.pid
    4 -rw-r----- 1 zimbra zimbra 5 Oct 4 22:54 zmstat-allprocs.pid
    4 -rw-r----- 1 zimbra zimbra 5 Oct 4 22:54 zmstat-io.pid
    4 -rw-r----- 1 zimbra zimbra 5 Oct 4 22:54 zmstat-mtaqueue.pid
    4 -rw-r----- 1 zimbra zimbra 5 Oct 4 22:54 zmstat-proc.pid
    4 -rw-r----- 1 zimbra zimbra 5 Oct 4 22:54 zmstat-vm.pid
    4 -rw-r----- 1 zimbra zimbra 5 Oct 4 22:54 zmstat-io-x.pid
    4 -rw-r----- 1 zimbra zimbra 5 Oct 4 22:54 zmstat-cpu.pid
    zimbra@mail:~/zmstat/pid$

    At least, zmstat.out is filled by
    Use of uninitialized value in subtraction (-) at /opt/zimbra/libexec/zmstat-allprocs line 118.
    and continue growing.

    As i said before, everything works fine except this.

    Any help will be preciated.

  3. #3
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by ccelis5215 View Post
    Any help will be preciated.
    Which of these have you tried?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    Join Date
    Jun 2011
    Location
    Caracas Venezuela
    Posts
    476
    Rep Power
    4

    Default

    Basically, every post point you to check file ownership and permissions, ran zmfixperms or check if syslog its running properly. I've already done this by reading this forums.

    Also encourages you to fill a bug report eg: https://bugzilla.zimbra.com/show_bug.cgi?id=42332

    Sorry, but the problem continues...

  5. #5
    Join Date
    Jun 2011
    Location
    Caracas Venezuela
    Posts
    476
    Rep Power
    4

    Default

    Follow http://wiki.zimbra.com/index.php?title=Logger(GnR) and post the information to the forum.

    zmloggerctl status; echo $?; ps ax | grep zmlogger
    zimbra@mail:~/zmstat/pid$ zmloggerctl status; echo $?; ps ax | grep zmlogger
    0
    10217 ? S 0:22 /usr/bin/perl /opt/zimbra/libexec/zmlogger
    10435 ? S 0:00 zmlogger: zmrrdfetch: server
    21607 pts/0 S+ 0:00 grep zmlogger

    zimbra@mail:~/zmstat/pid$ /opt/zimbra/libexec/zmrrdfetch -f zmmtastats
    1317851880,,,,,,,,,
    1317851910,,,,,,,,,
    1317851940,,,,,,,,,

    zimbra@mail:~/zmstat/pid$ /opt/zimbra/libexec/zmrrdfetch -c -f zmmtastats
    1317851700,,,,,,,,,
    1317852000,,,,,,,,,
    1317852300,,,,,,,,,

    zimbra@mail:~/zmstat/pid$ grep -w MTA /var/log/zimbra-stats.log

    zimbra@mail:~/zmstat/pid$ tail /var/log/zimbra-stats.log

    Oct 5 17:34:00 mail zimbramon[11002]: :::EE07F342-EF9D-11E0-9D7A-BB23826D5B8A:::2, 1052, 0, 1228596, 28156, 48, 29704, 15840, 13864, 2920, 19936, 0, 0, 0, 1817212, 3018996, 34359738367, 11704, 34359722408, 0, 0, 0, 0, 0, 2048, 8128, 1564672, 1.11
    Oct 5 17:34:00 mail zimbramon[11000]: 11000:info: zmstat cpu.csv: timestamp, cpu:user, cpu:nice, cpu:sys, cpu:idle, cpu:iowait, cpu:irq, cpu:softirq, cpu0:user, cpu0:nice, cpu0:sys, cpu0:idle, cpu0:iowait, cpu0:irq, cpu0:softirq, cpu1:user, cpu1:nice, cpu1:sys, cpu1:idle, cpu1:iowait, cpu1:irq, cpu1:softirq:: 10/05/2011 17:34:00, 7.5, 0.0, 6.8, 85.2, 0.1, 0.1, 0.1, 7.2, 0.0, 7.0, 85.4, 0.2, 0.1, 0.1, 7.9, 0.0, 6.7, 85.0, 0.0, 0.1, 0.2
    Oct 5 17:34:00 mail zimbramon[11405]: 11405:info: zmstat fd.csv: timestamp, fd_count, mailboxd_fd_count:: 10/05/2011 17:34:00, 3680, 155
    Oct 5 17:34:12 mail zimbramon[11020]: 11020:info: zmstat mtaqueue.csv: timestamp, KBytes, requests:: 10/05/2011 17:34:12, 0, 0

    zimbra@mail:~/zmstat/pid$ zmsoap -z GetLoggerStatsRequest stats/@name=zmmtastats | head -20
    <GetLoggerStatsResponse xmlns="urn:zimbraAdmin">
    <hostname hn="mail.megacash.com.ve">
    <stats name="zmmtastats"/>
    </hostname>
    </GetLoggerStatsResponse>

    zimbra@mail:~/zmstat/pid$ zmsoap -z GetLoggerStatsRequest stats/@name=zmmtastats @limit=1 | head -50
    <GetLoggerStatsResponse xmlns="urn:zimbraAdmin">
    <hostname hn="mail.megacash.com.ve">
    <stats name="zmmtastats"/>
    </hostname>
    </GetLoggerStatsResponse>

    Again, any feedback will be preciated!

Similar Threads

  1. [SOLVED] zmconfigd WARNING in 7.0.0 GA
    By Labsy in forum Administrators
    Replies: 23
    Last Post: 02-10-2012, 12:09 PM
  2. Zimbra Stats service stops frequently
    By waseemz in forum Administrators
    Replies: 4
    Last Post: 07-14-2011, 10:08 AM
  3. Replies: 20
    Last Post: 03-18-2008, 06:37 AM
  4. stats Stopped but not really
    By mcesari in forum Administrators
    Replies: 0
    Last Post: 01-29-2008, 08:29 AM
  5. MTA Service Stopped
    By Ryan Frantz in forum Administrators
    Replies: 7
    Last Post: 11-23-2005, 02:03 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
  •