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 07-13-2011, 03:38 AM
Member
 
Posts: 12
Default Zimbra Stats service stops frequently

The service stats (from admin console monitoring>server status) this service stops frequently without a reason I can notice or discover. I can start the service again without any problem (zmstatctl start). I cannot know why it stops or how to troubleshoot and find the problem.

Below is the status of the service when it stops. You can notice that there are two in particular (zmstat-nginx.pid) and (zmstat-cpu.pid).

The version of the Zimbra is Release 6.0.2_GA_1912.RHEL5_64_20091020161509 CentOS5_64 FOSS edition.

I appreciate your help.

[zimbra@zimbra ~]$ zmstatctl status
Running: zmstat-df
Running: zmstat-vm
Running: zmstat-proc
process 13291 in /opt/zimbra/zmstat/pid/zmstat-nginx.pid not running
Running: zmstat-allprocs
Running: zmstat-io-x
Running: zmstat-fd
Running: zmstat-io
Running: zmstat-mysql
Running: zmstat-mtaqueue
process 13487 in /opt/zimbra/zmstat/pid/zmstat-cpu.pid not running
[zimbra@zimbra ~]$ zmcontrol status
Host zimbra.bethlehem.edu
antispam Running
antivirus Running
imapproxy Running
ldap Running
logger Running
mailbox Running
memcached Running
mta Running
snmp Running
spell Running
stats Stopped
Reply With Quote
  #2 (permalink)  
Old 07-13-2011, 04:00 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

Quote:
Originally Posted by waseemz View Post
The version of the Zimbra is Release 6.0.2_GA_1912.RHEL5_64_20091020161509 CentOS5_64 FOSS edition.
I'd suggest you upgrade to the most recent release of Zimbra.

Quote:
Originally Posted by waseemz View Post
I appreciate your help.
You can find the answer to these questions by searching the forums.

Quote:
Originally Posted by waseemz View Post
[zimbra@zimbra ~]$ zmstatctl status
Running: zmstat-df
Running: zmstat-vm
Running: zmstat-proc
process 13291 in /opt/zimbra/zmstat/pid/zmstat-nginx.pid not running
Running: zmstat-allprocs
Running: zmstat-io-x
Running: zmstat-fd
Running: zmstat-io
Running: zmstat-mysql
Running: zmstat-mtaqueue
process 13487 in /opt/zimbra/zmstat/pid/zmstat-cpu.pid not running
[zimbra@zimbra ~]$ zmcontrol status
Host zimbra.bethlehem.edu
antispam Running
antivirus Running
imapproxy Running
ldap Running
logger Running
mailbox Running
memcached Running
mta Running
snmp Running
spell Running
stats Stopped
Why do you have the imapproxy and memcached installed on what I assume is a single server? They should not be installed on a single server, they will cause you problems. Search the forums for details on how to disable and remove them and how to reset the ports to their correct values.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-13-2011, 06:05 AM
fyd fyd is offline
Elite Member
 
Posts: 373
Default

Quote:
Originally Posted by waseemz View Post
[zimbra@zimbra ~]$ zmstatctl status
Running: zmstat-df
Running: zmstat-vm
Running: zmstat-proc
process 13291 in /opt/zimbra/zmstat/pid/zmstat-nginx.pid not running
process 13487 in /opt/zimbra/zmstat/pid/zmstat-cpu.pid not running
Hi Waseemz, like it says the particular pid doesn't really exist on the server. First stop stats with su - zimbra; zmstatctl stop. Then remove the pid entry from both the files /opt/zimbra/zmstat/pid/zmstat-nginx.pid and /opt/zimbra/zmstat/pid/zmstat-cpu.pid using your editor (just make it blank). Now start stats with zmstatctl start.

Like Bill said, issues with stats broken or troubles with service status from admin-gui has been discussed a lot here and solved too. Please give a search.

And don't miss the important point Bill has stated above, about imap-proxy and memcached.

Edit: this should help you to disable it. Server stop sending and receiving mail

Last edited by fyd; 07-13-2011 at 06:25 AM.. Reason: add more details
Reply With Quote
  #4 (permalink)  
Old 07-13-2011, 11:00 PM
Member
 
Posts: 12
Default Thanks

Many thanks, I disabled imapproxy and memcached services and reset ports.

I will try to update to the latest release 6.0.13 or maybe I will take decision to upgrade to 7.1.1.

I will see if the disabling services will affect the stats service.

Wasim.

Last edited by waseemz; 07-14-2011 at 02:37 AM..
Reply With Quote
  #5 (permalink)  
Old 07-14-2011, 09:08 AM
fyd fyd is offline
Elite Member
 
Posts: 373
Default

Quote:
Originally Posted by waseemz View Post
Many thanks, I disabled imapproxy and memcached services and reset ports.

I will try to update to the latest release 6.0.13 or maybe I will take decision to upgrade to 7.1.1.

I will see if the disabling services will affect the stats service.

Wasim.
Hi Wasim,
You are welcome. Happy I could help.
Removing the pid files and restarting stats once helped me to remove the same error.
Good luck with the updation, and if you are planing 7.1.1, don't forget there is a patch for that release which you need to apply after the normal upgrade. It fixes lot of issues.
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.