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
  #21 (permalink)  
Old 10-01-2009, 11:37 AM
Elite Member
 
Posts: 360
Default

grep STATUS /var/log/zimbra-stats.log

doesn't show anything...either as root or zimbra user...
Reply With Quote
  #22 (permalink)  
Old 10-01-2009, 11:47 AM
Elite Member
 
Posts: 360
Default

correction....I ran /opt/zimbra/libexec/zmstatuslog
then the grep showed like what u had...

But still shows the red Xs.....
Reply With Quote
  #23 (permalink)  
Old 10-01-2009, 12:24 PM
Moderator
 
Posts: 1,147
Default

Ok the exact process that is ran to show those 'X' or not on the status screen can be emulated by the following command run as the zimbra user:
Code:
zmsoap -v -a admin@domain.com -P "Path to password file" GetServiceStatusRequest
You should get something like
Code:
<GetServiceStatusRequest xmlns="urn:zimbraAdmin"/>
Sending admin auth request to https://email.domain.com:7071/service/admin/soap/GetServiceStatusRequest
<GetServiceStatusResponse xmlns="urn:zimbraAdmin">
  <timezone id="America/Los_Angeles" displayName="Pacific Standard Time"/>
  <status t="1254421200" service="spell" server="email.pyxislab.com">1</status>
  <status t="1254421200" service="mailbox" server="email.pyxislab.com">1</status>
  <status t="1254421200" service="logger" server="email.pyxislab.com">1</status>
  <status t="1254421200" service="mta" server="email.pyxislab.com">1</status>
  <status t="1254421200" service="antispam" server="email.pyxislab.com">1</status>
  <status t="1254421200" service="stats" server="email.pyxislab.com">1</status>
  <status t="1254421200" service="ldap" server="email.pyxislab.com">1</status>
  <status t="1254421200" service="memcached" server="email.pyxislab.com">1</status>
  <status t="1254421200" service="antivirus" server="email.pyxislab.com">1</status>
  <status t="1254421200" service="snmp" server="email.pyxislab.com">1</status>
</GetServiceStatusResponse>
Could you post the output of that command? Also what does
Code:
crontab -l | grep zmstatuslog
show when ran as the zimbra user?

Last edited by ArcaneMagus; 10-01-2009 at 12:25 PM.. Reason: Found out you can remove the URL element of the command
Reply With Quote
  #24 (permalink)  
Old 10-01-2009, 02:47 PM
Elite Member
 
Posts: 360
Default

0,10,20,30,40,50 * * * * /opt/zimbra/libexec/zmstatuslog
Reply With Quote
  #25 (permalink)  
Old 10-01-2009, 02:59 PM
Member
 
Posts: 12
Default

Can you please post the jobs that should be in the crontab?
Thanks
Reply With Quote
  #26 (permalink)  
Old 10-01-2009, 03:04 PM
Moderator
 
Posts: 1,147
Default

Hmmm... well every 10 seems to be working for kepp, but not for you, maybe try changing the line to read
Code:
*/10 * * * * /opt/zimbra/libexec/zmstatuslog
instead of listing each minute individually, or if that doesn't work try leaving it on */2 for a bit. Either way you should be getting results from `grep STATUS /var/log/zimbra-stats.log` at intervals of what you specified in the crontab. Since you said that running the task manually put entries in the log your problem has to be in the automatic execution.

damiand please look at my earlier post as I already posted the output of `crontab -l` for my zimbra user...
Reply With Quote
  #27 (permalink)  
Old 10-01-2009, 03:27 PM
Elite Member
 
Posts: 360
Default

Well, It was originally on every 2min...but I changed it when kepp suggested the 10min thing...

either way it wasn't working...

mind you when I execute it manually, it works...go figure...LOL
Reply With Quote
  #28 (permalink)  
Old 10-01-2009, 03:29 PM
Elite Member
 
Posts: 360
Default

Quote:
Oct 1 08:46:46 mail zimbramon[28294]: 28294:info: 2009-10-01 08:46:34, STATUS: mail.balancehydro.com: stats: Stopped
could this be a clue....?
Reply With Quote
  #29 (permalink)  
Old 10-01-2009, 03:39 PM
Moderator
 
Posts: 1,147
Default

Ah, yea that could be a problem...
What do you get for `zmstatctl status`, if anything is not running try `zmstatctl stop` then `zmstatctl start` and check if everything came up properly.
Reply With Quote
  #30 (permalink)  
Old 10-01-2009, 03:47 PM
Elite Member
 
Posts: 360
Default

`zmstatctl status`
Running: zmstat-vm
Running: zmstat-io
Running: zmstat-mysql
Running: zmstat-df
Running: zmstat-proc
Running: zmstat-io-x
Running: zmstat-cpu
Running: zmstat-allprocs
Running: zmstat-fd
Running: zmstat-mtaqueue
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.