Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Service Stats Down

  1. #11
    hmmblah is offline Active Member
    Join Date
    Aug 2008
    Location
    Michigan
    Posts
    38
    Rep Power
    7

    Default

    Quote Originally Posted by wentum View Post
    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...
    Same issue for me. Been on 6.0.5 since a week after release. Starting from the 22nd of this month, the stats folders are owned by root instead of zimbra user. Haven't changed anything since the update. Not even had a restart. It was simply running fine and then decided to break itself.

  2. #12
    tross is offline Intermediate Member
    Join Date
    Feb 2008
    Location
    San Luis Obispo, CA
    Posts
    16
    Rep Power
    7

    Default

    1. zmfixperms doesn't change the owner of these folders. I tried it.

    2. What seems to have worked for me is the suggestion from another forum post to a) change the owner of the root-owned zmstat folders to zimbra:zimbra, b) then as root run "/opt/zimbra/bin/zmsyslogsetup", c) run zmcontrol stop, zmcontrol start.

    Since I have done those steps (a couple weeks since the first occurrence), none of the servers that have hit this bug have had a recurrence.

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

    Default zmfixperms -extended -verbose

    For me and for now 'zmfixperms -extended -verbose' seems to have fixed the problem. Stopped zimbra, ran 'zmfixperms -extended -verbose', started zimbra and stats has been working again. Remark: another user pointed out that the problem has appeared again as he rebooted the server. Unfortunately, I neither can confirm nor decline this because I can not reboot the server right now. It's a production system...

  4. #14
    sunsarav is offline Starter Member
    Join Date
    Mar 2010
    Location
    Chennai, India
    Posts
    1
    Rep Power
    5

    Default zmfixperms -extended -verbose' - Worked

    Quote Originally Posted by wentum View Post
    For me and for now 'zmfixperms -extended -verbose' seems to have fixed the problem. Stopped zimbra, ran 'zmfixperms -extended -verbose', started zimbra and stats has been working again. Remark: another user pointed out that the problem has appeared again as he rebooted the server. Unfortunately, I neither can confirm nor decline this because I can not reboot the server right now. It's a production system...
    Had permission denied errors.

    zmfixperms -extended -verbose' fixed it. I am yet to stop/start zimbra.

    Update: Stats service alone showed as down in the status page. Fixed it by running zmstatctl start as zimbra user.

    ---
    SK
    Last edited by sunsarav; 05-08-2010 at 12:58 AM.

  5. #15
    padraig's Avatar
    padraig is offline Elite Member
    Join Date
    Jul 2006
    Location
    ireland
    Posts
    388
    Rep Power
    9

    Default

    as root
    chown -R zimbra /opt/zimbra/zmstat/

    su - zimbra
    zmstatctl stop
    zmstatctl stop
    exit

    seems to have fixed the problem here

Page 2 of 2 FirstFirst 12

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
  •