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

Thread: Service stats stopped on xxx.xxx.net

  1. #1
    rwcanary is offline Loyal Member
    Join Date
    Jun 2007
    Posts
    86
    Rep Power
    8

    Question Service stats stopped on xxx.xxx.net

    I am trying to figure out why I am getting this error and what dose it mean. I have found much discussion in previous threads, but they were all related to pre 5.x and supposedly it was fixed in 5.x

    If I shutdown Zimbra and restart it, then it comes back alright. For about a day then happens agian.

    May 9 03:11:06 mchn39 zimbramon[3801]: 3801:err: Service status change: xxx.xxx.net stats changed from running to stopped

    I haven't found anything in the log files.
    Robert Canary
    OCDirect Electrical-Datacomm

  2. #2
    cadman is offline Active Member
    Join Date
    Aug 2007
    Location
    Hayward, CA USA
    Posts
    26
    Rep Power
    7

    Default

    I am having this same problem, any suggestions from anyone on where to look for possible issues?

  3. #3
    heinzg is offline Loyal Member
    Join Date
    Jan 2008
    Location
    Germany
    Posts
    83
    Rep Power
    7

    Default

    hi there!

    this might sound a bit simple but how are you stopping and starting Zimbra? please post all steps from the point you login to linux, though you stop and start procedures, including std. output

    cheers
    Heinzg
    Motions of a day at work -

  4. #4
    caio80 is offline Senior Member
    Join Date
    Mar 2007
    Location
    Ferrara, Italy
    Posts
    55
    Rep Power
    8

    Default

    same here too. Already posted this a while ago, but we couldn't come up with an answer. Logs are not helping either (or at least, they are not helping ME... :-(

  5. #5
    rwcanary is offline Loyal Member
    Join Date
    Jun 2007
    Posts
    86
    Rep Power
    8

    Default Stopping Zimbra

    I do a "service zimbra stop"
    and a "service zimbra start"
    Robert Canary
    OCDirect Electrical-Datacomm

  6. #6
    caio80 is offline Senior Member
    Join Date
    Mar 2007
    Location
    Ferrara, Italy
    Posts
    55
    Rep Power
    8

    Default

    Looks like it doesn't survive to crontab job...


    May 17 01:02:05 <myhostname> zimbramon[21716]: 21716:info: 2008-05-17 01:02:01, STATUS: <myhostname>: ldap: Running
    May 17 01:02:05 <myhostname> zimbramon[21716]: 21716:info: 2008-05-17 01:02:01, STATUS: <myhostname>: logger: Running
    May 17 01:02:05 <myhostname> zimbramon[21716]: 21716:info: 2008-05-17 01:02:01, STATUS: <myhostname>: mailbox: Running
    May 17 01:02:05 <myhostname> zimbramon[21716]: 21716:info: 2008-05-17 01:02:01, STATUS: <myhostname>: mta: Running
    May 17 01:02:05 <myhostname> zimbramon[21716]: 21716:info: 2008-05-17 01:02:01, STATUS: <myhostname>: snmp: Running
    May 17 01:02:05 <myhostname> zimbramon[21716]: 21716:info: 2008-05-17 01:02:01, STATUS: <myhostname>: stats: Running
    May 17 01:02:08 <myhostname> zimbramon[22253]: 22253:info: Stopping services
    May 17 01:02:08 <myhostname> zimbramon[22253]: 22253:info: Stopping stats
    May 17 01:02:09 <myhostname> zimbramon[22253]: 22253:info: Stopping mta
    May 17 01:02:10 <myhostname> saslauthd[13816]: server_exit : master exited: 13816
    May 17 01:02:10 <myhostname> zimbramon[22253]: 22253:info: Stopping spell
    May 17 01:02:10 <myhostname> zimbramon[22253]: 22253:info: Stopping snmp
    May 17 01:02:10 <myhostname> zimbramon[22253]: 22253:info: Stopping archiving
    May 17 01:02:10 <myhostname> zimbramon[22253]: 22253:info: Stopping antivirus
    May 17 01:02:10 <myhostname> zimbramon[22253]: 22253:info: Stopping antispam
    May 17 01:02:11 <myhostname> zimbramon[22253]: 22253:info: Stopping imapproxy
    May 17 01:02:11 <myhostname> zimbramon[22253]: 22253:info: Stopping mailbox
    May 17 01:02:21 <myhostname> zimbramon[22253]: 22253:info: Stopping logger
    May 17 01:02:26 <myhostname> zimbramon[22253]: 22253:info: Stopping ldap
    May 17 01:03:03 <myhostname> zimbramon[22593]: 22593:info: Starting services
    May 17 01:03:11 <myhostname> zimbramon[22593]: 22593:info: Rewriting configs webxml mailbox amavis antispam antivirus mta sasl
    May 17 01:03:21 <myhostname> zimbramon[22593]: 22593:info: Starting logger
    May 17 01:03:21 <myhostname> zimbramon[22593]: 22593:info: Starting mailbox
    May 17 01:03:21 <myhostname> zimbramon[22993]: 22993:info: zmmtaconfig: zmmtaconfig started on <myhostname> with loglevel=3 pid=22993
    May 17 01:03:39 <myhostname> zimbramon[22593]: 22593:info: Starting snmp
    May 17 01:03:39 <myhostname> zimbramon[22593]: 22593:info: Starting mta
    May 17 01:03:39 <myhostname> zimbramon[23498]: 23498:info: zmmtaconfig: zmmtaconfig already running at 22993
    May 17 01:03:44 <myhostname> saslauthd: auth_zimbra_init: zimbra_cert_check is off!
    May 17 01:03:44 <myhostname> saslauthd: auth_zimbra_init: 1 auth urls initialized for round-robin
    May 17 01:03:44 <myhostname> saslauthd[23632]: detach_tty : master pid is: 23632
    May 17 01:03:44 <myhostname> saslauthd[23632]: ipc_init : listening on socket: /opt/zimbra/cyrus-sasl-2.1.22.3z/state/mux
    May 17 01:03:44 <myhostname> zimbramon[22593]: 22593:info: Starting stats
    May 17 01:04:06 <myhostname> zimbramon[23698]: 23698:info: 2008-05-17 01:04:02, STATUS: <myhostname>: ldap: Running
    May 17 01:04:06 <myhostname> zimbramon[23698]: 23698:info: 2008-05-17 01:04:02, STATUS: <myhostname>: logger: Running
    May 17 01:04:06 <myhostname> zimbramon[23698]: 23698:info: 2008-05-17 01:04:02, STATUS: <myhostname>: mailbox: Running
    May 17 01:04:06 <myhostname> zimbramon[23698]: 23698:info: 2008-05-17 01:04:02, STATUS: <myhostname>: mta: Running
    May 17 01:04:06 <myhostname> zimbramon[23698]: 23698:info: 2008-05-17 01:04:02, STATUS: <myhostname>: snmp: Running
    May 17 01:04:06 <myhostname> zimbramon[23698]: 23698:info: 2008-05-17 01:04:02, STATUS: <myhostname>: stats: Stopped


    any idea?

  7. #7
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Anything useful in /opt/zimbra/zmstat/zmstat.out?
    -caio80 could you also update your profile so I know what version you're running.
    -Are the rest of you running 5.0.5 yet or still 5.0.4 & 5.0.2?

  8. #8
    caio80 is offline Senior Member
    Join Date
    Mar 2007
    Location
    Ferrara, Italy
    Posts
    55
    Rep Power
    8

    Default

    There we go. Now I have no more secrets for you (well, maybe just a couple...)!

    I won't update Zimbra to something > than 5.0.4 until I see some consistent new features or interesting bugfixes.

    Anyways, I checked /opt/zimbra/zmstat/zmstat.out, and I actually found out this:

    Code:
    No iostat installed on this host at /opt/zimbra/libexec/zmstat-io line 27.
    No iostat installed on this host at /opt/zimbra/libexec/zmstat-io line 27.
    Warning: Not possible to monitor process stats
    No iostat installed on this host at /opt/zimbra/libexec/zmstat-io line 27.
    No iostat installed on this host at /opt/zimbra/libexec/zmstat-io line 27.
    Warning: Not possible to monitor process stats
    No iostat installed on this host at /opt/zimbra/libexec/zmstat-io line 27.
    No iostat installed on this host at /opt/zimbra/libexec/zmstat-io line 27.
    Warning: Not possible to monitor process stats
    No iostat installed on this host at /opt/zimbra/libexec/zmstat-io line 27.
    No iostat installed on this host at /opt/zimbra/libexec/zmstat-io line 27.
    Warning: Not possible to monitor process stats
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)
    Error while running '/opt/zimbra/bin/mysql --user=zimbra --password=REMOVED --database=zimbra --batch --skip-column-names'. at /opt/zimbra/zimbramon/lib/Zimbra/DB/D
    B.pm line 73, <OUTPUT> line 579238.
    Can't locate Zimbra/Mon/Zmstat.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/
    lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/l
    ib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_
    64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr
    /lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/p
    erl5/5.8.8 .) at /opt/zimbra/libexec/zmstat-proc line 20.
    BEGIN failed--compilation aborted at /opt/zimbra/libexec/zmstat-proc line 20.
    Can't locate Zimbra/Mon/Zmstat.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/
    lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/l
    ib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_
    64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr
    /lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/p
    erl5/5.8.8 .) at /opt/zimbra/libexec/zmstat-vm line 42.
    BEGIN failed--compilation aborted at /opt/zimbra/libexec/zmstat-vm line 42.
    Can't locate Zimbra/Mon/Zmstat.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/
    lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/l
    ib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_
    64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr
    /lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/p
    erl5/5.8.8 .) at /opt/zimbra/libexec/zmstat-io line 19.
    BEGIN failed--compilation aborted at /opt/zimbra/libexec/zmstat-io line 19.
    Can't locate Zimbra/Mon/Zmstat.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/
    lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/l
    ib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_
    64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr
    /lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/p
    erl5/5.8.8 .) at /opt/zimbra/libexec/zmstat-cpu line 38.
    [...]
    and so on, for a little while...

    I just installed sysstat to get the missing iostat component, will see tomorrow morning whether ZCS liked it or not, and if the rest of the troubles will get corrected on cascade.

    Meanwhile, thanks for your support mmorse.
    Last edited by mmorse; 05-21-2008 at 07:14 AM. Reason: removed password

  9. #9
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

  10. #10
    caio80 is offline Senior Member
    Join Date
    Mar 2007
    Location
    Ferrara, Italy
    Posts
    55
    Rep Power
    8

    Default

    GOTCHA!

    problem was in a backup script found on the forums! ( Zimbra Backup Script ... Small Problem )

    Should have checked it better before implementing it :-(... It stopped zimbra and restarted it without sourcing all the env stuff the zimbra user has. By using "su - zimbra -c" (-i flag on sudo would work as well) stats service would finally get restarted correctly by cron. Here's a snippet of the stopping section, but the situation was identical in the starting part too.


    Code:
    [...]
    # Stop Zimbra Services
    
    # bad method
    # sudo -u zimbra $ZIMBRA_DIR/bin/zmcontrol stop
    
    # working method
    su - zimbra  -c 'zmcontrol stop'
    [...]
    Thanks for your support, folks!

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. zmmailboxdctl is stopped frequently..
    By tamilnandhu in forum Installation
    Replies: 13
    Last Post: 04-12-2008, 08:59 AM
  2. Replies: 20
    Last Post: 03-18-2008, 05:37 AM
  3. Replies: 41
    Last Post: 10-29-2007, 02:36 PM
  4. Web client logon fails (INVALID_PDU)
    By jermxx in forum Installation
    Replies: 8
    Last Post: 02-20-2007, 02:20 PM
  5. Tomcat broken after upgrade to 4
    By dotslashroot in forum Migration
    Replies: 13
    Last Post: 01-31-2007, 06:05 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
  •