Results 1 to 9 of 9

Thread: zmstat is stopped!

  1. #1
    celeron is offline Active Member
    Join Date
    Jan 2007
    Posts
    49
    Rep Power
    8

    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,

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Code:
    ls -l /opt/zimbra/mysql/bin/mysql
    ls -ld /opt/zimbra/mysql*

  3. #3
    celeron is offline Active Member
    Join Date
    Jan 2007
    Posts
    49
    Rep Power
    8

    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

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Would you please post the output of those commands.

  5. #5
    mackoftrack's Avatar
    mackoftrack is offline Special Member
    Join Date
    Sep 2008
    Location
    Los Angeles, CA
    Posts
    135
    Rep Power
    6

    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

  6. #6
    mackoftrack's Avatar
    mackoftrack is offline Special Member
    Join Date
    Sep 2008
    Location
    Los Angeles, CA
    Posts
    135
    Rep Power
    6

    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

  7. #7
    celeron is offline Active Member
    Join Date
    Jan 2007
    Posts
    49
    Rep Power
    8

    Default

    I have right permissions in /opt/zimbra/zmstat/ but I can't start zmstat service. It always stops.

  8. #8
    adis is offline Starter Member
    Join Date
    May 2010
    Posts
    1
    Rep Power
    4

    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.

  9. #9
    ewilen's Avatar
    ewilen is offline Moderator
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    8

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. mailbox "Stopped"
    By hodd in forum Administrators
    Replies: 6
    Last Post: 02-09-2010, 12:43 PM
  2. [SOLVED] service zimbra starting slow
    By lufermalgo in forum Administrators
    Replies: 5
    Last Post: 02-05-2010, 03:06 PM
  3. zmmailboxdctl is stopped frequently..
    By tamilnandhu in forum Installation
    Replies: 13
    Last Post: 04-12-2008, 08:59 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
  •