Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: zmstatctl doesnt start

  1. #1
    M.K.Z.R is offline Active Member
    Join Date
    Feb 2010
    Posts
    35
    Rep Power
    5

    Default zmstatctl doesnt start

    Hi,

    Again I have this problem. zmstats doesnt start. I tried it with zmcontrol start and zmstatctl start but with no results.








    [zimbra@stolwijk root]$ zmcontrol start
    Host stolwijk.amnesty.nl
    Starting logger...Done.
    Starting mailbox...Done.
    Starting memcached...Done.
    Starting imapproxy...Done.
    Starting antispam...Done.
    Starting antivirus...Done.
    Starting snmp...Done.
    Starting spell...Done.
    Starting mta...Done.
    Starting stats...Done.

    [zimbra@stolwijk root]$ zmcontrol status
    Host stolwijk.amnesty.nl
    antispam Running
    antivirus Running
    imapproxy Running
    ldap Running
    logger Running
    mailbox Running
    memcached Running
    mta Running
    snmp Running
    spell Running
    stats Stopped

    [zimbra@stolwijk root]$ zmstatctl start
    Invoking: /opt/zimbra/libexec/zmstat-proc
    Invoking: /opt/zimbra/libexec/zmstat-cpu
    Invoking: /opt/zimbra/libexec/zmstat-vm
    Invoking: /opt/zimbra/libexec/zmstat-io -x
    Invoking: /opt/zimbra/libexec/zmstat-df
    Invoking: /opt/zimbra/libexec/zmstat-io
    Invoking: /opt/zimbra/libexec/zmstat-fd
    Invoking: /opt/zimbra/libexec/zmstat-allprocs
    Invoking: /opt/zimbra/libexec/zmstat-mysql
    Invoking: /opt/zimbra/libexec/zmstat-convertd
    Invoking: /opt/zimbra/libexec/zmstat-mtaqueue
    Invoking: /opt/zimbra/libexec/zmstat-nginx

    [zimbra@stolwijk root]$ zmcontrol status
    Host stolwijk.amnesty.nl
    antispam Running
    antivirus Running
    imapproxy Running
    ldap Running
    logger Running
    mailbox Running
    memcached Running
    mta Running
    snmp Running
    spell Running
    stats Stopped
    [zimbra@stolwijk root]$

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

    Default

    Anything in your log files at all ? Is /opt/zimbra/log/zimbra-stats.log being updated ? What do you have in /etc/syslog.conf ? ZCS 6.0.6 fixed some issues in this area.

  3. #3
    M.K.Z.R is offline Active Member
    Join Date
    Feb 2010
    Posts
    35
    Rep Power
    5

    Default

    I dont see anything in my logfiles....


    Apr 23 09:42:08 stolwijk zimbramon[1660]: 1660:info: 2010-04-23 09:42:02, STATUS: stolwijk.****.**: antispam: Running
    Apr 23 09:42:08 stolwijk zimbramon[1660]: 1660:info: 2010-04-23 09:42:02, STATUS: stolwijk.****.**: antivirus: Running
    Apr 23 09:42:08 stolwijk zimbramon[1660]: 1660:info: 2010-04-23 09:42:02, STATUS: stolwijk.****.**: imapproxy: Running
    Apr 23 09:42:08 stolwijk zimbramon[1660]: 1660:info: 2010-04-23 09:42:02, STATUS: stolwijk.****.**: ldap: Running
    Apr 23 09:42:08 stolwijk zimbramon[1660]: 1660:info: 2010-04-23 09:42:02, STATUS: stolwijk.****.**: logger: Running
    Apr 23 09:42:08 stolwijk zimbramon[1660]: 1660:info: 2010-04-23 09:42:02, STATUS: stolwijk.****.**: mailbox: Running
    Apr 23 09:42:08 stolwijk zimbramon[1660]: 1660:info: 2010-04-23 09:42:02, STATUS: stolwijk.****.**: memcached: Running
    Apr 23 09:42:08 stolwijk zimbramon[1660]: 1660:info: 2010-04-23 09:42:02, STATUS: stolwijk.****.**: mta: Running
    Apr 23 09:42:08 stolwijk zimbramon[1660]: 1660:info: 2010-04-23 09:42:02, STATUS: stolwijk.****.**: snmp: Running
    Apr 23 09:42:08 stolwijk zimbramon[1660]: 1660:info: 2010-04-23 09:42:02, STATUS: stolwijk.****.**: spell: Running
    Apr 23 09:42:08 stolwijk zimbramon[1660]: 1660:info: 2010-04-23 09:42:02, STATUS: stolwijk.****.**: stats: Stopped
    Apr 23 09:42:16 stolwijk zimbramon[12070]: 12070:info: zmstat fd.csv: timestamp, fd_count, mailboxd_fd_count:: 04/23/2010 09:42:16, 4800, 376
    Apr 23 09:42:46 stolwijk zimbramon[12070]: 12070:info: zmstat fd.csv: timestamp, fd_count, mailboxd_fd_count:: 04/23/2010 09:42:46, 4800, 376
    Apr 23 09:43:16 stolwijk zimbramon[12070]: 12070:info: zmstat fd.csv: timestamp, fd_count, mailboxd_fd_count:: 04/23/2010 09:43:16, 4800, 376
    Apr 23 09:43:46 stolwijk zimbramon[12070]: 12070:info: zmstat fd.csv: timestamp, fd_count, mailboxd_fd_count:: 04/23/2010 09:43:46, 4736, 376
    Apr 23 09:44:08 stolwijk zimbramon[3365]: 3365:info: 2010-04-23 09:44:02, STATUS: stolwijk.****.**: antispam: Running
    Apr 23 09:44:08 stolwijk zimbramon[3365]: 3365:info: 2010-04-23 09:44:02, STATUS: stolwijk.****.**: antivirus: Running
    Apr 23 09:44:08 stolwijk zimbramon[3365]: 3365:info: 2010-04-23 09:44:02, STATUS: stolwijk.****.**: imapproxy: Running
    Apr 23 09:44:08 stolwijk zimbramon[3365]: 3365:info: 2010-04-23 09:44:02, STATUS: stolwijk.****.**: ldap: Running
    Apr 23 09:44:08 stolwijk zimbramon[3365]: 3365:info: 2010-04-23 09:44:02, STATUS: stolwijk.****.**: logger: Running
    Apr 23 09:44:08 stolwijk zimbramon[3365]: 3365:info: 2010-04-23 09:44:02, STATUS: stolwijk.****.**: mailbox: Running
    Apr 23 09:44:08 stolwijk zimbramon[3365]: 3365:info: 2010-04-23 09:44:02, STATUS: stolwijk.****.**: memcached: Running
    Apr 23 09:44:08 stolwijk zimbramon[3365]: 3365:info: 2010-04-23 09:44:02, STATUS: stolwijk.****.**: mta: Running
    Apr 23 09:44:08 stolwijk zimbramon[3365]: 3365:info: 2010-04-23 09:44:02, STATUS: stolwijk.****.**: snmp: Running
    Apr 23 09:44:08 stolwijk zimbramon[3365]: 3365:info: 2010-04-23 09:44:02, STATUS: stolwijk.****.**: spell: Running
    Apr 23 09:44:08 stolwijk zimbramon[3365]: 3365:info: 2010-04-23 09:44:02, STATUS: stolwijk.****.**: stats: Stopped
    Apr 23 09:44:16 stolwijk zimbramon[12070]: 12070:info: zmstat fd.csv: timestamp, fd_count, mailboxd_fd_count:: 04/23/2010 09:44:16, 4800, 376
    Apr 23 09:44:46 stolwijk zimbramon[12070]: 12070:info: zmstat fd.csv: timestamp, fd_count, mailboxd_fd_count:: 04/23/2010 09:44:46, 4928, 376
    Apr 23 09:45:16 stolwijk zimbramon[12070]: 12070:info: zmstat fd.csv: timestamp, fd_count, mailboxd_fd_count:: 04/23/2010 09:45:16, 4928, 376



    syslog.conf:

    # Log all kernel messages to the console.
    # Logging much else clutters up the screen.
    #kern.* /dev/console

    # Log anything (except mail) of level info or higher.
    # Don't log private authentication messages!
    *.info;local0.none;local1.none;auth.none;mail.none ;authpriv.none;cron.none /var/log/messages

    # The authpriv file has restricted access.
    authpriv.* /var/log/secure

    # Log all the mail messages in one place.


    # Log cron stuff
    cron.* /var/log/cron

    # Everybody gets emergency messages
    *.emerg *

    # Save news errors of level crit and higher in a special file.
    uucp,news.crit /var/log/spooler

    # Save boot messages also to boot.log
    local7.* /var/log/boot.log
    local0.* -/var/log/zimbra.log
    local1.* -/var/log/zimbra-stats.log
    auth.* -/var/log/zimbra.log
    mail.* -/var/log/zimbra.log

  4. #4
    M.K.Z.R is offline Active Member
    Join Date
    Feb 2010
    Posts
    35
    Rep Power
    5

    Default

    Nobody can help me?

  5. #5
    M.K.Z.R is offline Active Member
    Join Date
    Feb 2010
    Posts
    35
    Rep Power
    5

    Default

    No one who can help me?

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

    Default

    What happens if you do the following
    Code:
    su - zimbra
    zmstatsctl start
    Would you also please post the zimbra entries from /etc/sudoers.

  7. #7
    M.K.Z.R is offline Active Member
    Join Date
    Feb 2010
    Posts
    35
    Rep Power
    5

    Default

    ## Sudoers allows particular users to run various commands as
    ## the root user, without needing the root password.
    ##
    ## Examples are provided at the bottom of the file for collections
    ## of related commands, which can then be delegated out to particular
    ## users or groups.
    ##
    ## This file must be edited with the 'visudo' command.

    ## Host Aliases
    ## Groups of machines. You may prefer to use hostnames (perhap using
    ## wildcards for entire domains) or IP addresses instead.
    # Host_Alias FILESERVERS = fs1, fs2
    # Host_Alias MAILSERVERS = smtp, smtp2

    ## User Aliases
    ## These aren't often necessary, as you can use regular groups
    ## (ie, from files, LDAP, NIS, etc) in this file - just use %groupname
    ## rather than USERALIAS
    # User_Alias ADMINS = jsmith, mikem


    ## Command Aliases
    ## These are groups of related commands...

    ## Networking
    Cmnd_Alias NETWORKING = /sbin/route, /sbin/ifconfig, /bin/ping, /sbin/dhclient, /usr/bin/net, /sbin/iptables, /usr/bin/rfcomm, /usr/bin/wvdial, /sbin/iwconfig, /sbin/mii-tool

    ## Installation and management of software
    Cmnd_Alias SOFTWARE = /bin/rpm, /usr/bin/up2date, /usr/bin/yum

    ## Services
    Cmnd_Alias SERVICES = /sbin/service, /sbin/chkconfig

    ## Updating the locate database
    Cmnd_Alias LOCATE = /usr/bin/updatedb

    ## Storage
    Cmnd_Alias STORAGE = /sbin/fdisk, /sbin/sfdisk, /sbin/parted, /sbin/partprobe, /bin/mount, /bin/umount

    ## Delegating permissions
    Cmnd_Alias DELEGATING = /usr/sbin/visudo, /bin/chown, /bin/chmod, /bin/chgrp

    ## Processes
    Cmnd_Alias PROCESSES = /bin/nice, /bin/kill, /usr/bin/kill, /usr/bin/killall

    ## Drivers
    Cmnd_Alias DRIVERS = /sbin/modprobe

    # Defaults specification

    #
    # Disable "ssh hostname sudo ", because it will show the password in clear.
    # You have to run "ssh -t hostname sudo ".
    #
    #Defaults requiretty

    Defaults env_reset
    Defaults env_keep = "COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC KDEDIR \
    LS_COLORS MAIL PS1 PS2 QTDIR USERNAME PATH PATH PATH PATH PATH PATH PATH PATH PATH \
    LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION \
    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC \
    LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS \
    _XKB_CHARSET XAUTHORITY"

    ## Next comes the main part: which users can run what software on
    ## which machines (the sudoers file can be shared between multiple
    ## systems).
    ## Syntax:
    ##
    ## user MACHINE=COMMANDS
    ##
    ## The COMMANDS section may have other options added to it.
    ##
    ## Allow root to run any commands anywhere
    root ALL=(ALL) ALL

    ## Allows members of the 'sys' group to run networking, software,
    ## service management apps and more.
    # %sys ALL = NETWORKING, SOFTWARE, SERVICES, STORAGE, DELEGATING, PROCESSES, LOCATE, DRIVERS

    ## Allows people in group wheel to run all commands
    # %wheel ALL=(ALL) ALL

    ## Same thing without a password
    # %wheel ALL=(ALL) NOPASSWD: ALL

    ## Allows members of the users group to mount and unmount the
    ## cdrom as root
    # %users ALL=/sbin/mount /mnt/cdrom, /sbin/umount /mnt/cdrom

    ## Allows members of the users group to shutdown this system
    # %users localhost=/sbin/shutdown -h now

    %zimbra ALL=NOPASSWD:/opt/zimbra/openldap/libexec/slapd
    %zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmslapd
    %zimbra ALL=NOPASSWD:/opt/zimbra/postfix/sbin/postfix, /opt/zimbra/postfix/sbin/postalias, /opt/zimbra/postfix/sbin/qshape.pl, /opt/zimbra/postfix/sbin/postconf,/opt/zimbra/postfix/sbin/postsuper
    %zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmqstat,/opt/zimbra/libexec/zmmtastatus
    %zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmmailboxdmgr
    %zimbra ALL=NOPASSWD:/opt/zimbra/bin/zmcertmgr
    %zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmstat-fd *
    %zimbra ALL=NOPASSWD:/opt/zimbra/nginx/sbin/nginx












    [root@stolwijk ~]# su zimbra
    [zimbra@stolwijk root]$ zmstatctl start
    Invoking: /opt/zimbra/libexec/zmstat-proc
    Invoking: /opt/zimbra/libexec/zmstat-cpu
    Invoking: /opt/zimbra/libexec/zmstat-vm
    Invoking: /opt/zimbra/libexec/zmstat-io -x
    Invoking: /opt/zimbra/libexec/zmstat-df
    Invoking: /opt/zimbra/libexec/zmstat-io
    Invoking: /opt/zimbra/libexec/zmstat-fd
    Invoking: /opt/zimbra/libexec/zmstat-allprocs
    Invoking: /opt/zimbra/libexec/zmstat-mysql
    Invoking: /opt/zimbra/libexec/zmstat-convertd
    Invoking: /opt/zimbra/libexec/zmstat-mtaqueue
    Invoking: /opt/zimbra/libexec/zmstat-nginx
    [zimbra@stolwijk root]$ zmcontrol status
    Host stolwijk.amnesty.nl
    antispam Running
    antivirus Running
    imapproxy Running
    ldap Running
    logger Running
    mailbox Running
    memcached Running
    mta Running
    snmp Running
    spell Running
    stats Stopped
    [zimbra@stolwijk root]$

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

    Default

    Code:
    zmstatctl status

  9. #9
    M.K.Z.R is offline Active Member
    Join Date
    Feb 2010
    Posts
    35
    Rep Power
    5

    Default

    [zimbra@stolwijk root]$ zmstatctl start
    Invoking: /opt/zimbra/libexec/zmstat-proc
    Invoking: /opt/zimbra/libexec/zmstat-cpu
    Invoking: /opt/zimbra/libexec/zmstat-vm
    Invoking: /opt/zimbra/libexec/zmstat-io -x
    Invoking: /opt/zimbra/libexec/zmstat-df
    Invoking: /opt/zimbra/libexec/zmstat-io
    Invoking: /opt/zimbra/libexec/zmstat-fd
    Invoking: /opt/zimbra/libexec/zmstat-allprocs
    Invoking: /opt/zimbra/libexec/zmstat-mysql
    Invoking: /opt/zimbra/libexec/zmstat-convertd
    Invoking: /opt/zimbra/libexec/zmstat-mtaqueue
    Invoking: /opt/zimbra/libexec/zmstat-nginx
    [zimbra@stolwijk root]$ zmstatctl status
    process 13012 in /opt/zimbra/zmstat/pid/zmstat-io-x.pid not running
    process 13030 in /opt/zimbra/zmstat/pid/zmstat-io.pid not running
    Running: zmstat-allprocs
    Running: zmstat-fd
    process 13155 in /opt/zimbra/zmstat/pid/zmstat-mtaqueue.pid not running
    Running: zmstat-proc
    process 24697 in /opt/zimbra/zmstat/pid/zmstat-mysql.pid not running
    process 24688 in /opt/zimbra/zmstat/pid/zmstat-df.pid not running
    process 13158 in /opt/zimbra/zmstat/pid/zmstat-nginx.pid not running
    process 13003 in /opt/zimbra/zmstat/pid/zmstat-cpu.pid not running
    process 13005 in /opt/zimbra/zmstat/pid/zmstat-vm.pid not running
    [zimbra@stolwijk root]$

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

    Default

    Hmm, try invoking one of the monitors manually and see if it throws an error
    Code:
    su - zimbra
    /opt/zimbra/libexec/zmstat-df

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Errors installing Outlook Connector
    By Tim G in forum Zimbra Connector for Outlook
    Replies: 57
    Last Post: 05-05-2011, 02:27 PM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. Replies: 4
    Last Post: 04-09-2009, 10:53 AM
  4. Error Installing Outlook Connector
    By DanO in forum Zimbra Connector for Outlook
    Replies: 17
    Last Post: 08-28-2007, 09:35 AM
  5. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •