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 03-04-2010, 01:10 AM
Senior Member
 
Posts: 71
Default Service Stats Down

HI,

Today, i see that service stats is down.

I try to start stats, but don't start.

Why?

Thanks in advance.

Best Regards
Antonello.
Reply With Quote
  #2 (permalink)  
Old 03-04-2010, 02:02 AM
Senior Member
 
Posts: 71
Default

HI,

i see you zmstats.out


"apache-convertd not running, not launching zmstat-convertd
/opt/zimbra/zmstat/cpu.csv was stale (2010-02-24) pre-rotating
sh: /opt/zimbra/zmstat//2010-02-24/cpu.csv.gz: Permission denied
Unable to move /opt/zimbra/zmstat/cpu.csv to /opt/zimbra/zmstat//2010-02-24/cpu.csv.gz at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 256.
/opt/zimbra/zmstat/vm.csv was stale (2010-02-24) pre-rotating
/opt/zimbra/zmstat/io.csv was stale (2010-02-24) pre-rotating
sh: /opt/zimbra/zmstat//2010-02-24/io.csv.gz: Permission denied
sh: /opt/zimbra/zmstat//2010-02-24/vm.csv.gz: Permission denied
zmstat-fd.pid: Already running as pid 20797
Unable to move /opt/zimbra/zmstat/vm.csv to /opt/zimbra/zmstat//2010-02-24/vm.csv.gz at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 256.
Unable to move /opt/zimbra/zmstat/io.csv to /opt/zimbra/zmstat//2010-02-24/io.csv.gz at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 256.
/opt/zimbra/zmstat/io-x.csv was stale (2010-02-24) pre-rotating
sh: /opt/zimbra/zmstat//2010-02-24/io-x.csv.gz: Permission denied
Unable to move /opt/zimbra/zmstat/io-x.csv to /opt/zimbra/zmstat//2010-02-24/io-x.csv.gz at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 256.
/opt/zimbra/zmstat/mtaqueue.csv was stale (2010-02-24) pre-rotating
sh: /opt/zimbra/zmstat//2010-02-24/mtaqueue.csv.gz: Permission denied
Unable to move /opt/zimbra/zmstat/mtaqueue.csv to /opt/zimbra/zmstat//2010-02-24/mtaqueue.csv.gz at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 256.
/opt/zimbra/zmstat/df.csv was stale (2010-02-24) pre-rotating
sh: /opt/zimbra/zmstat//2010-02-24/df.csv.gz: Permission denied
Unable to move /opt/zimbra/zmstat/df.csv to /opt/zimbra/zmstat//2010-02-24/df.csv.gz at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 256.
/opt/zimbra/zmstat/allprocs.csv was stale (2010-02-24) pre-rotating
sh: /opt/zimbra/zmstat//2010-02-24/allprocs.csv.gz: Permission denied
Unable to move /opt/zimbra/zmstat/allprocs.csv to /opt/zimbra/zmstat//2010-02-24/allprocs.csv.gz at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 256.
Warning: Not possible to monitor process stats"


Thanks in advance.

Best Regards
Antonello
Reply With Quote
  #3 (permalink)  
Old 03-04-2010, 02:19 AM
Senior Member
 
Posts: 71
Default

Hi,
I see a document a Thred in Forum : "Unable to start stats in zcs 6.0.5"

I change permission folder : "chown -R zimbra:zimbra folder", and now work.

All day i change permission folder for do work service stats?

Is there a workaround for this problem?

Thanks in advance.

Best Regards
Antonello.
Reply With Quote
  #4 (permalink)  
Old 03-07-2010, 07:48 PM
Junior Member
 
Posts: 9
Default

me too. And our multi-server, only the ldap-server have this error. I upgrade to 6.0.5 and edit visudo just adding /opt/zimbra/libexec/zmstat-fd , and then it display ok. But 2 days later, I found the error, and the 2day's folder shows owned by root, I now have to change the owner and restart the zmstatctl, it's display ok now. But I wonder if the next day's folder will owned by root again.
Reply With Quote
  #5 (permalink)  
Old 03-09-2010, 09:30 AM
Member
 
Posts: 14
Default stats stopped

Same to me here on Ubuntu 8.04LTS 64bit/Zimbra 605 NE 64bit. Stats has been working some days properly and suddenly it stopped. Since it stopped the ownersship and rights of /opt/zimbra/zmstat/{daily directory} have changed from

drwxr-x--- 2 zimbra zimbra 4096 2010-02-27 00:00 2010-02-26
to
drwxr-xr-x 2 root root 4096 2010-02-28 00:00 2010-02-27

so the zimbra user can't write in there anymore...

Joerg

Last edited by wentum; 03-10-2010 at 02:37 AM..
Reply With Quote
  #6 (permalink)  
Old 03-10-2010, 02:41 AM
Member
 
Posts: 14
Default stats not working

UPDATE:

And in /opt/zimbra/zmstat/zmstat.out i also see this:

sh: cannot create /opt/zimbra/zmstat//2010-02-27/df.csv.gz: Permission denied
Unable to move /opt/zimbra/zmstat/df.csv to /opt/zimbra/zmstat//2010-02-27/df.csv.gz at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 256.
/opt/zimbra/zmstat/mysql.csv was stale (2010-02-27) pre-rotating
sh: cannot create /opt/zimbra/zmstat//2010-02-27/mysql.csv.gz: Permission denied
Unable to move /opt/zimbra/zmstat/mysql.csv to /opt/zimbra/zmstat//2010-02-27/mysql.csv.gz at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 256.
Warning: Not possible to monitor process stats

So, for me it seems that there is something wrong with creating the daily directory before rotating and saving the logs. But what script or process is doing this and why has it suddenly occured? Can't remember having changed anything to the system at the date it occured...

Last edited by wentum; 03-10-2010 at 04:55 AM..
Reply With Quote
  #7 (permalink)  
Old 03-17-2010, 04:09 AM
Partner (VAR/HSP)
 
Posts: 92
Default

Same problem here. Seems 6.0.5 specific. Bug filed:
Bug 45378 – /opt/zimbra/zmstat/ directories owner root
__________________
Snelbij | Uw informatie ter beschikking.
https://www.snelbij.nl
Reply With Quote
  #8 (permalink)  
Old 03-17-2010, 04:15 AM
Partner (VAR/HSP)
 
Posts: 92
Default

Sorry, dupe of this bug: Bug 45010 – Stats service failing due to folder permissions getting set wrong
__________________
Snelbij | Uw informatie ter beschikking.
https://www.snelbij.nl
Reply With Quote
  #9 (permalink)  
Old 03-20-2010, 09:46 AM
Special Member
 
Posts: 100
Default

Same issue - stats not working (AGAIN) - there was an issue that was resolved in a previous update, but this looks like yet a new issue with the stats service.
__________________
- SLM -
Reply With Quote
  #10 (permalink)  
Old 03-22-2010, 09:19 PM
Elite Member
 
Posts: 338
Default

can you run : zmfixperms?
Hope this help.
this tool will fix all errors about permissions in zimbra
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.