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-09-2010, 06:02 PM
Elite Member
 
Posts: 303
Thumbs up [SOLVED] After 6.0.5 upgrade stats shown as not running

I upgraded as well, everything seems to be okay, but checking the web interface shows that stats isn't running. I did a vmcontrol stop;vmcontrol start last night (Monday) and got home today to see that it's not running again.

Anybody else notice their stats service is stoppped?

I'm running on Ubuntu 8.04 LTS
Reply With Quote
  #2 (permalink)  
Old 02-09-2010, 06:10 PM
y@w y@w is offline
Moderator
 
Posts: 658
Default

Yeah.. I've noticed stats stopping seemingly randomly on 5.0 as well. You don't need to restart all of Zimbra. A simple 'zmstatctl start' will usually start them up again for you.
__________________
What a n00b!
Reply With Quote
  #3 (permalink)  
Old 02-09-2010, 06:31 PM
Elite Member
 
Posts: 303
Default

Didn't work and now even stopping and starting everything, stats fail. There are also a few stacktrace files in the /opt/zimbra/log directory. One with the time/date stamp of me doing a restart this evening. Should I open a bug?

At the bottom of the trace:

"Surrogate Locker Thread (CMS)" daemon prio=10 tid=0x080e1000 nid=0x24e4 waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=10 tid=0x080cd800 nid=0x24db in Object.wait() [0x84aea000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x8fd010e8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue .java:118)
- locked <0x8fd010e8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue .java:134)
at java.lang.ref.Finalizer$FinalizerThread.run(Finali zer.java:159)

"Reference Handler" daemon prio=10 tid=0x080cc000 nid=0x24d9 in Object.wait() [0x84b2b000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x8fd013d8> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:485)
at java.lang.ref.Reference$ReferenceHandler.run(Refer ence.java:116)
- locked <0x8fd013d8> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x080c8000 nid=0x24d6 runnable

"Concurrent Mark-Sweep GC Thread" prio=10 tid=0x0806bc00 nid=0x24d3 runnable
"VM Periodic Task Thread" prio=10 tid=0x080ea400 nid=0x24ea waiting on condition
Reply With Quote
  #4 (permalink)  
Old 02-10-2010, 02:27 AM
Translation Moderator
 
Posts: 64
Default You may be hitting this problem

Hi,

check this thread, around page 6 is a possible solution for your problem:

upgrade to 6.0.2 stats and status no longer working

Hope this will help yeah, if this fixes your problem, please vote on the bug in the bugtracker.

best
Ray
Reply With Quote
  #5 (permalink)  
Old 02-16-2010, 02:47 AM
Starter Member
 
Posts: 2
Default

Check the owner in zmstat directory.

Last edited by kbsu; 02-16-2010 at 02:53 AM..
Reply With Quote
  #6 (permalink)  
Old 02-16-2010, 04:18 AM
Elite Member
 
Posts: 303
Default

[QUOTE=Hatrix;171042]Hi,

check this thread, around page 6 is a possible solution for your problem:


Ubuntu uses syslogd, not rsyslog, following the thread, everything was as it should be. Thanks for the input though.

Doug
Reply With Quote
  #7 (permalink)  
Old 02-16-2010, 04:25 AM
Elite Member
 
Posts: 303
Default

Quote:
Originally Posted by kbsu View Post
Check the owner in zmstat directory.
Several of the sub directories were owned by root. Even the newly created directory from yesterday was owned by root. What process creates these directories and how can I correct the permissions that it's assigning?

The stats service is now running.

Doug
Reply With Quote
  #8 (permalink)  
Old 02-16-2010, 06:33 AM
Starter Member
 
Posts: 2
Default

Two day ago have the same problem

Receive the mesage from zimbramon:
14772:err: Service status change: ... stats changed from running to stopped

I do the following:
1) zmstatctl stop
2) change owner to zmstat recursively to zimbra
3) zmstatctl start
4) check service status (all running)

five minutes later zimbramon send me email:
4824:err: Service status change: ... stats changed from stopped to running

The problem happened at midnight maybe it's a BUG.
Reply With Quote
  #9 (permalink)  
Old 02-16-2010, 08:52 AM
Elite Member
 
Posts: 303
Default Wrong permissions on zmstat directory

Quote:
Originally Posted by kbsu View Post
Two day ago have the same problem

The problem happened at midnight maybe it's a BUG.
Sounds like it. If it happens to me tonight, I'll search the bug tracker for something similar, if I don't find anything, I'll open a bug report.

Doug
Reply With Quote
  #10 (permalink)  
Old 02-17-2010, 02:55 AM
Elite Member
 
Posts: 303
Default

Checking the zmstat directory this morning shows that yesterday's stats directory is now owned by zimbra:zimbra. So far, so good.

Doug
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.