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-03-2011, 06:59 PM
Advanced Member
 
Posts: 206
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.
Reply With Quote
  #2 (permalink)  
Old 10-05-2011, 11:47 AM
Advanced Member
 
Posts: 206
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.
Reply With Quote
  #3 (permalink)  
Old 10-05-2011, 12:27 PM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

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


Bill
Reply With Quote
  #4 (permalink)  
Old 10-05-2011, 02:46 PM
Advanced Member
 
Posts: 206
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...
Reply With Quote
  #5 (permalink)  
Old 10-05-2011, 03:11 PM
Advanced Member
 
Posts: 206
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!
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.