Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

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 05-14-2010, 08:20 PM
Active Member
 
Posts: 49
Default zmstat is stopped!

Dear community,
I have a fresh install of zimbra FOSS 6.0.6 on rhel5 and have the problem with zmstat service. I tried to search on zimbra forum but the problem is not resolved. When I run zmstatctl status, I have "
process 5538 in /opt/zimbra/zmstat/pid/zmstat-mysql.pid not running".
This is the error log in zmstat.out
apache-convertd not running, not launching zmstat-convertd
/opt/zimbra/bin/mysql: line 20: /opt/zimbra/mysql/bin/mysql: No such file or directory
/opt/zimbra/bin/mysql: line 20: exec: /opt/zimbra/mysql/bin/mysql: cannot execute: No such file or directory
Error while running '/opt/zimbra/bin/mysql --user=zimbra --password=JdphmTAQccak --database=zimbra --batch --skip-column-names'. at /opt/zimbra/zimbramon/lib/Zimbra/DB/DB.pm line 73.
Warning: Not possible to monitor process stats

Please help me to resolve the problem.

Many thanks,
Reply With Quote
  #2 (permalink)  
Old 05-14-2010, 10:37 PM
Moderator
 
Posts: 7,929
Default

Code:
ls -l /opt/zimbra/mysql/bin/mysql
ls -ld /opt/zimbra/mysql*
__________________
Reply With Quote
  #3 (permalink)  
Old 05-15-2010, 12:31 AM
Active Member
 
Posts: 49
Default

My mailbox server is working properly. Only zmstat service is stopped. I can see the output of these commnad. Are there any other ways for more checking?

Many thanks uxbod
Reply With Quote
  #4 (permalink)  
Old 05-15-2010, 01:24 AM
Moderator
 
Posts: 7,929
Default

Would you please post the output of those commands.
__________________
Reply With Quote
  #5 (permalink)  
Old 05-17-2010, 04:54 PM
Special Member
 
Posts: 122
Default

I am having the same problem.
Here is the output of those commands:
Code:
[root@zimbra log]# ls -l /opt/zimbra/mysql/bin/mysql
-rwxr-xr-x 1 root root 311221 Apr  6 14:05 /opt/zimbra/mysql/bin/mysql

[root@zimbra log]#  ls -ld /opt/zimbra/mysql*
lrwxrwxrwx 1 root root   59 Apr 10 21:47 /opt/zimbra/mysql -> /opt/zimbra/mysql-standard-5.0.90-pc-linux-gnu-i686-glibc23
drwxrwxr-x 7 root root 4096 Apr 10 21:48 /opt/zimbra/mysql-standard-5.0.90-pc-linux-gnu-i686-glibc23
Reply With Quote
  #6 (permalink)  
Old 05-17-2010, 05:00 PM
Special Member
 
Posts: 122
Default

Nevermind, I figured out my problem. It was a permission issue: /opt/zimbra/zmstat/{today's date} was owned by root for some reason. After chown'ing to user zimbra, stats stayed running
Reply With Quote
  #7 (permalink)  
Old 05-17-2010, 06:41 PM
Active Member
 
Posts: 49
Default

I have right permissions in /opt/zimbra/zmstat/ but I can't start zmstat service. It always stops.
Reply With Quote
  #8 (permalink)  
Old 05-18-2010, 12:57 AM
Starter Member
 
Posts: 1
Default

We've had the same issue this morning.

OS platform is CentOS
Zimbra was updated a few days ago (6.0.6 - 6.0.6.1), and yesterday, CentOS was updated from 5.4 to 5.5.

zmstats stopped working around midnight, and we observed the following in zmstat.out:
Code:
/opt/zimbra/zmstat/vm.csv was stale (2010-05-17) pre-rotating
sh: /opt/zimbra/zmstat//2010-05-17/vm.csv.gz: Permission denied
The issue was resloved by changing permissions for 2010-05-17 directory and restarting zmstat daemon.
Reply With Quote
  #9 (permalink)  
Old 05-18-2010, 02:35 AM
Moderator
 
Posts: 1,432
Default

Problem may reappear, see Bug 45010 – Stats service failing due to folder permissions getting set wrong for a patch.
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
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.