Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
  #1 (permalink)  
Old 05-09-2008, 04:16 PM
rwcanary rwcanary is offline
Member
 
Join Date: Jun 2007
ZCS Version: Release 5.0.4_GA_2101.RHEL5_20080321135228 RHEL5 NETWORK edition
Posts: 26
rwcanary is on a distinguished road
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
Reply With Quote
  #2 (permalink)  
Old 05-14-2008, 10:43 AM
cadman cadman is offline
Member
 
Join Date: Aug 2007
Location: Hayward, CA USA
ZCS Version: Zimbra 5.0.2 running on RHEL4
Posts: 18
cadman is on a distinguished road
Default

I am having this same problem, any suggestions from anyone on where to look for possible issues?
Reply With Quote
  #3 (permalink)  
Old 05-14-2008, 12:46 PM
heinzg heinzg is offline
Senior Member
 
Join Date: Jan 2008
Location: Germany
ZCS Version: Open Source Edition 5.0.4 GA on Ubuntu 6.06 LTS and 7.10
Posts: 48
heinzg is on a distinguished road
Send a message via Skype™ to heinzg
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 -
Reply With Quote
  #4 (permalink)  
Old 05-16-2008, 03:34 AM
caio80 caio80 is offline
Member
 
Join Date: Mar 2007
Location: Ferrara, Italy
ZCS Version: Release 5.0.4_GA_2101.RHEL5_64_20080321154100 RHEL5_64 FOSS edition
Posts: 17
caio80 is on a distinguished road
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... :-(
Reply With Quote
  #5 (permalink)  
Old 05-16-2008, 04:50 AM
rwcanary rwcanary is offline
Member
 
Join Date: Jun 2007
ZCS Version: Release 5.0.4_GA_2101.RHEL5_20080321135228 RHEL5 NETWORK edition
Posts: 26
rwcanary is on a distinguished road
Default Stopping Zimbra

I do a "service zimbra stop"
and a "service zimbra start"
__________________
--
Robert Canary
OCDirect Electrical-Datacomm
Reply With Quote
  #6 (permalink)  
Old 05-19-2008, 02:34 AM
caio80 caio80 is offline
Member
 
Join Date: Mar 2007
Location: Ferrara, Italy
ZCS Version: Release 5.0.4_GA_2101.RHEL5_64_20080321154100 RHEL5_64 FOSS edition
Posts: 17
caio80 is on a distinguished road
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?
Reply With Quote
  #7 (permalink)  
Old 05-19-2008, 11:46 PM
mmorse's Avatar
mmorse mmorse is offline
Zimbra Employee
 
Join Date: May 2006
Location: USA
ZCS Version: NE & OS - in the many flavors of 4.5 & 5.0
Posts: 4,257
mmorse is on a distinguished road
Send a message via AIM to mmorse Send a message via MSN to mmorse Send a message via Yahoo to mmorse Send a message via Skype™ to mmorse
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?
Reply With Quote
  #8 (permalink)  
Old 05-20-2008, 06:59 AM
caio80 caio80 is offline
Member
 
Join Date: Mar 2007
Location: Ferrara, Italy
ZCS Version: Release 5.0.4_GA_2101.RHEL5_64_20080321154100 RHEL5_64 FOSS edition
Posts: 17
caio80 is on a distinguished road
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
Reply With Quote
  #9 (permalink)  
Old 05-21-2008, 07:16 AM
mmorse's Avatar
mmorse mmorse is offline
Zimbra Employee
 
Join Date: May 2006
Location: USA
ZCS Version: NE & OS - in the many flavors of 4.5 & 5.0
Posts: 4,257
mmorse is on a distinguished road
Send a message via AIM to mmorse Send a message via MSN to mmorse Send a message via Yahoo to mmorse Send a message via Skype™ to mmorse
Default

Bug 19345 - zimbra-core has missing dependency on sysstat

(FYI I removed your mysql password above)
Reply With Quote
  #10 (permalink)  
Old 05-22-2008, 07:27 AM
caio80 caio80 is offline
Member
 
Join Date: Mar 2007
Location: Ferrara, Italy
ZCS Version: Release 5.0.4_GA_2101.RHEL5_64_20080321154100 RHEL5_64 FOSS edition
Posts: 17
caio80 is on a distinguished road
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!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
zmmailboxdctl is stopped frequently.. tamilnandhu Installation 14 04-12-2008 09:02 AM
it’s possible to copy users and mailboxes from my backup to ZCS new installation? sandro.issufo Migration 20 03-18-2008 05:37 AM
[SOLVED] Upgrade from 4.5.6 CE to 4.5.7 CE: stats service shown as stopped centrex Installation 41 10-29-2007 02:36 PM
Web client logon fails (INVALID_PDU) jermxx Installation 8 02-20-2007 01:20 PM
Tomcat broken after upgrade to 4 dotslashroot Migration 13 01-31-2007 05:05 PM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.0.0