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 02-22-2010, 01:19 AM
jet jet is offline
Junior Member
 
Posts: 9
Default unable to start stats in zcs 6.0.5

i have been using 6.0.5 for a couple of weeks already and just this morning i noticed that stats was stopped. i tried doing several restarts already hoping stats could start normally but unfortunately it didn't. could anyone please guide me how to find what is causing this.
Reply With Quote
  #2 (permalink)  
Old 02-22-2010, 01:22 AM
Moderator
 
Posts: 7,928
Default

Please update your profile with the following information
Code:
su - zimbra
zmcontrol -v
and also post the following
Code:
su - zimbra
zmcontrol status
__________________
Reply With Quote
  #3 (permalink)  
Old 02-22-2010, 02:20 AM
jet jet is offline
Junior Member
 
Posts: 9
Default

i noticed in the mailbox.log that there are permission denied messages in /opt/zimbra/zmstat/2010-02-20 folders so i tried browsing over /opt/zimbra/zmstat/ folder and noticed that two folders 2010-02-20 and 2010-02-21 have both root:root ownership where the rest of the folders are owned by zimbra:zimbra. i also noticed both folders have drwxr-xr-x folder permissions while the rest of the folders have drwxr-x--- folder permission.

so i tried doing a chown zimbra:zimbra -R on both folders and did a server restart and luckily stat finally started okay.

what troubles me right now is how this thing happened. could it be a bug on zimbra.
Reply With Quote
  #4 (permalink)  
Old 02-22-2010, 02:27 AM
Loyal Member
 
Posts: 97
Default

Our stats service shuts down a few hours after we enable it, every time. It has been like this since 6 GA .. don't know what to do about it really, I guess just sucking it up and moving on is our current strategy.
Reply With Quote
  #5 (permalink)  
Old 02-22-2010, 02:31 AM
Loyal Member
 
Posts: 97
Default

Having thousands of lines of this may be a clue:

Quote:
Use of uninitialized value in subtraction (-) at /opt/zimbra/libexec/zmstat-allprocs line 118
Reply With Quote
  #6 (permalink)  
Old 03-01-2010, 07:37 PM
jet jet is offline
Junior Member
 
Posts: 9
Default

strangely, the problem recurred again and noticed this morning. this time arount it's the 2010-02-28 and 2010-03-01 folders. did the same chown command and everything works fine again. i wonder what is causing this and how to correct it permanently. does anyone in the forum having similar problem?
Reply With Quote
  #7 (permalink)  
Old 03-03-2010, 06:02 AM
Loyal Member
 
Posts: 97
Default

We are having same issue, I found some folders with authority problems like you list and fixed them and now our stats is running again. I suspect it will be short lived until another folder get the wrong ownership again so I opened bug Bug 45010 – Stats service failing due to folder permissions getting set wrong to have zimbra hopefully fix what is causing the folders to get the wrong ownership.
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.