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
  #11 (permalink)  
Old 03-24-2010, 06:28 AM
Active Member
 
Posts: 38
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.
Reply With Quote
  #12 (permalink)  
Old 03-24-2010, 04:25 PM
Intermediate Member
 
Posts: 16
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.
Reply With Quote
  #13 (permalink)  
Old 03-25-2010, 01:30 AM
Member
 
Posts: 14
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...
Reply With Quote
  #14 (permalink)  
Old 05-07-2010, 06:45 AM
Starter Member
 
Posts: 1
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..
Reply With Quote
  #15 (permalink)  
Old 05-07-2010, 08:50 AM
Elite Member
 
Posts: 372
Default

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

su - zimbra
zmstatctl stop
zmstatctl stop
exit

seems to have fixed the problem here
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.