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
  #81 (permalink)  
Old 10-28-2009, 11:57 AM
Zimbra Employee
 
Posts: 62
Default

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 View Post
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
Reply With Quote
  #82 (permalink)  
Old 10-30-2009, 12:02 AM
Senior Member
 
Posts: 53
Default

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..
Reply With Quote
  #83 (permalink)  
Old 10-30-2009, 08:44 AM
Zimbra Employee
 
Posts: 62
Default

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
Reply With Quote
  #84 (permalink)  
Old 10-30-2009, 08:56 AM
Senior Member
 
Posts: 53
Default

Quote:
Originally Posted by pfnguyen View Post
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..
Reply With Quote
  #85 (permalink)  
Old 11-02-2009, 12:03 PM
Active Member
 
Posts: 47
Default

Quote:
Originally Posted by pfnguyen View Post
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
Reply With Quote
  #86 (permalink)  
Old 11-02-2009, 12:11 PM
Zimbra Employee
 
Posts: 62
Default

Quote:
Originally Posted by HidX View Post
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.
Reply With Quote
  #87 (permalink)  
Old 11-02-2009, 12:14 PM
Zimbra Employee
 
Posts: 62
Default

Quote:
Originally Posted by olecoot View Post
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.
Reply With Quote
  #88 (permalink)  
Old 11-09-2009, 11:53 AM
Elite Member
 
Posts: 360
Default

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...?
Reply With Quote
  #89 (permalink)  
Old 11-09-2009, 12:01 PM
Zimbra Employee
 
Posts: 62
Default

Please follow the troubleshooting steps at http://wiki.zimbra.com/index.php?title=Logger(GnR)
Reply With Quote
  #90 (permalink)  
Old 11-09-2009, 12:25 PM
imx imx is offline
Special Member
 
Posts: 131
Default

Quote:
Originally Posted by NoDoze View Post
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?
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.