| 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.
|  | | 
10-28-2009, 11:57 AM
| | Zimbra Employee | |
Posts: 62
| | zmstat-vm, zmstat-cpu and zmstat-proc are unrelated to the other issues I've mentioned previously.
Please include output from /opt/zimbra/zmstat/zmstat.out
This is likely some sort of configuration error (system or otherwise). Quote:
Originally Posted by olecoot on 6.0.2 and the issue is still there. Stops after a few days.
zmstatctl status
Running: zmstat-io-x
Running: zmstat-fd
Running: zmstat-df
Running: zmstat-io
process 12984 in /opt/zimbra/zmstat/pid/zmstat-vm.pid not running
process 12982 in /opt/zimbra/zmstat/pid/zmstat-cpu.pid not running
Running: zmstat-allprocs
Running: zmstat-mtaqueue
process 12980 in /opt/zimbra/zmstat/pid/zmstat-proc.pid not running
Running: zmstat-convertd
Running: zmstat-mysql | | 
10-30-2009, 12:02 AM
| | | I have a similar problem.
It appeared after the upgrade from 6.0.1 to 6.0.2 (Debian5 OSE).
In the Server Status tab shows that no postal service is not active (Although zmcontrol status says that all services are running).
Section statistics sometimes works, and sometimes does not work and gives an error: Quote:
Message: system failure: Unable to read logger stats
Error: service.FAILURE Method: GetLoggerStatsRequest
Details: soap: Receive
| Log /opt/zimbra/zmstat/zmstat.out generally continually clogging the following failure:
Use of uninitialized value in subtraction (-) at /opt/zimbra/libexec/zmstat-allprocs line 118. Code: zimbra@mail:/tmp$ zmloggerctl status Code: zimbra@mail:/tmp$ ps ax | grep zmlogger
8640 ? S 0:02 /usr/bin/perl /opt/zimbra/libexec/zmlogger
8671 ? S 0:00 zmlogger: zmrrdfetch: server
9595 pts/0 S+ 0:00 grep zmlogger Quote:
tail -f /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.
| Code: /opt/zimbra/libexec/zmrrdfetch -f zmmtastats | head
Host: mail.domen.ru
timestamp,filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_event,filter_count,mta_count,filter_spam,sendmail_events
1256799420,,,,,,,,,,
1256799450,,,,,,,,,,
1256799480,,,,,,,,,,
1256799510,,,,,,,,,,
1256799540,,,,,,,,,,
1256799570,,,,,,,,,, Code: grep -w MTA /var/log/zimbra-stats.log
Oct 30 06:30:05 mail zimbramon[12391]: 12391:info: MTA: mail.domen.ru: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,0,0,1300,0,1,2,0,0
Oct 30 06:40:05 mail zimbramon[23353]: 23353:info: MTA: mail.domen.ru: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0 Code: zmsoap -z GetLoggerStatsRequest stats/@name=zmmtastats | head -20
<GetLoggerStatsResponse xmlns="urn:zimbraAdmin">
<hostname hn="mail.domen.ru">
<stats name="zmmtastats">
<values t="1256874030">
<stat name="filter_misc" value="0"/>
<stat name="clam_events" value="0.00166764205983012"/>
<stat name="mta_delay" value=""/>
<stat name="mta_volume" value="0"/>
<stat name="filter_virus" value="0"/>
<stat name="filter_event" value=""/>
<stat name="filter_count" value="0"/>
<stat name="mta_count" value="0"/>
<stat name="filter_spam" value="0"/>
<stat name="sendmail_events" value="0"/>
</values>
<values t="1256874060">
<stat name="filter_misc" value="0"/>
<stat name="clam_events" value="0.00166764205983012"/>
<stat name="mta_delay" value=""/>
<stat name="mta_volume" value="0"/>
Last edited by HidX; 10-30-2009 at 12:14 AM..
| 
10-30-2009, 08:44 AM
| | Zimbra Employee | |
Posts: 62
| | HidX,
Did you have the logger service disabled while upgrading to 6.0.2? If so you will need to import the logger crontab into the zimbra user's crontab: /opt/zimbra/zimbramon/crontabs | 
10-30-2009, 08:56 AM
| | | Quote:
Originally Posted by pfnguyen HidX,
Did you have the logger service disabled while upgrading to 6.0.2? If so you will need to import the logger crontab into the zimbra user's crontab: /opt/zimbra/zimbramon/crontabs | I can not exactly answer your question.
Updating meet a standard. I did not stop the service Zimbra, before upgrading. Simply download the new distribution and started install.sh.
As to the crontab. In the directory already exists /opt/zimbra/zimbramon/crontabs have a file crontab.logger. You do mean this file? Quote:
mail:/opt/zimbra/zimbramon/crontabs# ls -l
-r--r--r-- 1 root root 552 Oct 21 04:31 crontab
-r--r--r-- 1 root root 21 Oct 21 04:31 crontab.ldap
-r--r--r-- 1 root root 287 Oct 21 04:31 crontab.logger
-r--r--r-- 1 root root 1347 Oct 21 04:31 crontab.mta
-r--r--r-- 1 root root 744 Oct 21 04:31 crontab.store
| Quote:
mail:/opt/zimbra/zimbramon/crontabs# cat crontab.logger
#
# crontab.logger
#
# process logs
#
00,10,20,30,40,50 * * * * /opt/zimbra/libexec/zmlogprocess > /tmp/logprocess.out 2>&1
#
# Graph generation
#
#10 * * * * /opt/zimbra/libexec/zmgengraphs >> /tmp/gengraphs.out 2>&1
#
# Daily reports
#
30 23 * * * /opt/zimbra/libexec/zmdailyreport -m
| By the way. Just two hours ago, statistics earned. Graphs are displayed normally. Server Status section, just shows all true.
But here is the log: /opt/zimbra/zmstat/zmstat.out continues to clog an error message. How to get rid of them? Quote:
tail -f /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.
.......
|
Last edited by HidX; 10-30-2009 at 09:04 AM..
| 
11-02-2009, 12:03 PM
| | | Quote:
Originally Posted by pfnguyen zmstat-vm, zmstat-cpu and zmstat-proc are unrelated to the other issues I've mentioned previously.
Please include output from /opt/zimbra/zmstat/zmstat.out
This is likely some sort of configuration error (system or otherwise). | The file that you mention is empty:
-rw-r----- 1 zimbra zimbra 0 Oct 26 04:02 zmstat.out
The contents of zmstat.out.1.gz is:
Warning: Not possible to monitor process stats
Warning: Not possible to monitor process stats
zmstat-proc.pid: Already running as pid 12980
zmstat-vm.pid: Already running as pid 12984
zmstat-cpu.pid: Already running as pid 12982
the contents of zmstat.out.2.gz is:
/opt/zimbra/zmstat/convertd.csv was stale (2009-10-17) pre-rotating
/opt/zimbra/zmstat/allprocs.csv was stale (2009-10-16) pre-rotating
Warning: Not possible to monitor process stats
10/23/2009 09:14:30: ERROR: No such process: '22514'
10/23/2009 09:14:30: ERROR: No such process: '22515'
Warning: Not possible to monitor process stats
Warning: Not possible to monitor process stats
Warning: Not possible to monitor process stats
Edited to add:
After running:
zmstatctl stop
zmstatctl start
contents of zmstat.out:
/opt/zimbra/zmstat/cpu.csv was stale (2009-10-25) pre-rotating
/opt/zimbra/zmstat/vm.csv was stale (2009-10-25) pre-rotating
Warning: Not possible to monitor process stats
/opt/zimbra/zmstat/proc.csv was stale (2009-10-25) pre-rotating
Statistics are now available in Server Statistic page.
Last edited by olecoot; 11-02-2009 at 12:21 PM..
Reason: added more information
| 
11-02-2009, 12:11 PM
| | Zimbra Employee | |
Posts: 62
| | Quote:
Originally Posted by HidX By the way. Just two hours ago, statistics earned. Graphs are displayed normally. Server Status section, just shows all true.
But here is the log: /opt/zimbra/zmstat/zmstat.out continues to clog an error message. How to get rid of them? | You can ignore the uninitialized warning. it's annoying but otherwise harmless. | 
11-02-2009, 12:14 PM
| | Zimbra Employee | |
Posts: 62
| | Quote:
Originally Posted by olecoot The file that you mention is empty:
-rw-r----- 1 zimbra zimbra 0 Oct 26 04:02 zmstat.out
The contents of zmstat.out.1.gz is:
Warning: Not possible to monitor process stats
Warning: Not possible to monitor process stats
zmstat-proc.pid: Already running as pid 12980
zmstat-vm.pid: Already running as pid 12984
zmstat-cpu.pid: Already running as pid 12982
the contents of zmstat.out.2.gz is:
/opt/zimbra/zmstat/convertd.csv was stale (2009-10-17) pre-rotating
/opt/zimbra/zmstat/allprocs.csv was stale (2009-10-16) pre-rotating
Warning: Not possible to monitor process stats
10/23/2009 09:14:30: ERROR: No such process: '22514'
10/23/2009 09:14:30: ERROR: No such process: '22515'
Warning: Not possible to monitor process stats
Warning: Not possible to monitor process stats
Warning: Not possible to monitor process stats | Sounds like have a few processes running still, zmcontrol stop; kill all zmstat-* processes; zmcontrol start and try again. | 
11-09-2009, 11:53 AM
| | | Hmmm...well, I'm on 6.0.2 and I have no stats graphs, only disk usage graph is working....
Did anyone find a solution...? | 
11-09-2009, 12:01 PM
| | Zimbra Employee | |
Posts: 62
| | Please follow the troubleshooting steps at http://wiki.zimbra.com/index.php?title=Logger(GnR) | 
11-09-2009, 12:25 PM
| | Special Member | |
Posts: 131
| | Quote:
Originally Posted by NoDoze Hmmm...well, I'm on 6.0.2 and I have no stats graphs, only disk usage graph is working....
Did anyone find a solution...? | https://bugzilla.zimbra.com/show_bug.cgi?id=42332
Check this bug out, does this fit what youre seeing? | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |