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.
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.
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
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.
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.
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.
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.
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
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
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 -
can you run : zmfixperms?
Hope this help.
this tool will fix all errors about permissions in zimbra
There are currently 1 users browsing this thread. (0 members and 1 guests)