Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Service Stats Down

  1. #1
    antonello74 is offline Loyal Member
    Join Date
    Jul 2009
    Posts
    78
    Rep Power
    5

    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.

  2. #2
    antonello74 is offline Loyal Member
    Join Date
    Jul 2009
    Posts
    78
    Rep Power
    5

    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

  3. #3
    antonello74 is offline Loyal Member
    Join Date
    Jul 2009
    Posts
    78
    Rep Power
    5

    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.

  4. #4
    fulltears is offline Junior Member
    Join Date
    Nov 2009
    Posts
    9
    Rep Power
    5

    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.

  5. #5
    wentum is offline Intermediate Member
    Join Date
    Feb 2008
    Posts
    23
    Rep Power
    7

    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 03:37 AM.

  6. #6
    wentum is offline Intermediate Member
    Join Date
    Feb 2008
    Posts
    23
    Rep Power
    7

    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 05:55 AM.

  7. #7
    stiller is offline Partner (VAR/HSP)
    Join Date
    May 2008
    Posts
    92
    Rep Power
    6

    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

  8. #8
    stiller is offline Partner (VAR/HSP)
    Join Date
    May 2008
    Posts
    92
    Rep Power
    6

  9. #9
    d2globalinc's Avatar
    d2globalinc is offline Special Member
    Join Date
    May 2008
    Location
    Nebraska, USA
    Posts
    100
    Rep Power
    6

    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 -

  10. #10
    dalmate is offline Elite Member
    Join Date
    Jan 2009
    Posts
    359
    Rep Power
    6

    Default

    can you run : zmfixperms?
    Hope this help.
    this tool will fix all errors about permissions in zimbra

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. 4.5.7 new 'stats' service running/not-running
    By jdell in forum Administrators
    Replies: 12
    Last Post: 11-02-2009, 10:09 AM
  2. Replies: 5
    Last Post: 05-28-2009, 12:53 AM
  3. stats service stopped
    By tiger2000 in forum Administrators
    Replies: 0
    Last Post: 07-31-2008, 07:06 PM
  4. Stats Service Does Not Start Following Restart
    By jremshik@pgprint.com in forum Administrators
    Replies: 3
    Last Post: 07-21-2008, 04:31 AM
  5. Replies: 20
    Last Post: 03-18-2008, 05:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •