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

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 08-03-2007, 02:54 AM
Senior Member
 
Posts: 53
Default 5.0 Beta zmstat don't work on openSUSE10.2

Hello,

Since Update from 5.0 Beta 1 to Beta2 on openSUSE 10.2, zmstat(ctl) don't work.

Zmcontrol say "running", but the WebUI say no. Also no Server statistics since update available.
A startup from zmstatctl make this output:

post:/opt/zimbra/bin # ./zmstatctl start
Can't locate Zimbra/Mon/Zmstat.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at ./zmstatctl line 29.
BEGIN failed--compilation aborted at ./zmstatctl line 29.


Any hint?

Cu
Reply With Quote
  #2 (permalink)  
Old 08-08-2007, 03:54 AM
Senior Member
 
Posts: 53
Default

Quote:
Originally Posted by Achim.Theobald View Post
Hello,

Since Update from 5.0 Beta 1 to Beta2 on openSUSE 10.2, zmstat(ctl) don't work.

Zmcontrol say "running", but the WebUI say no. Also no Server statistics since update available.
Any hint?

Cu
Answer to myself.

centos 5 zimbra 4.5.6 no statistics

Cu
Reply With Quote
  #3 (permalink)  
Old 09-25-2007, 10:47 PM
Zimbra Employee
 
Posts: 11
Default Two hacks for Admin UI showing stats as an "x" in 4.5.7

Here are two hacks to get the status in the Admin UI to show properly in 4.5.7 if your stats always shows as an "x" even when 'zmcontrol status' show that stats are running properly...

Code:
zimbra$ diff -c ./bin/zmstatctl.ORIG ./bin/zmstatctl
*** ./bin/zmstatctl.ORIG        Wed Sep 26 01:05:41 2007
--- ./bin/zmstatctl     Wed Sep 26 01:06:20 2007
***************
*** 26,31 ****
--- 26,33 ----

  use strict;
  use File::Basename;
+
+ use lib "/opt/zimbra/zimbramon/lib";
  use Zimbra::Mon::Zmstat;

  zmstatInit();
--- and ---

Code:
zimbra$ diff -c ./zimbramon/lib/Zimbra/Mon/Zmstat.pm.ORIG ./zimbramon/lib/Zimbra/Mon/Zmstat.pm
*** ./zimbramon/lib/Zimbra/Mon/Zmstat.pm.ORIG   Sat Sep 15 00:42:14 2007
--- ./zimbramon/lib/Zimbra/Mon/Zmstat.pm        Wed Sep 26 01:36:28 2007
***************
*** 32,38 ****
  sub getLocalConfig(;@) {
      my @vars = @_;
      my $dir = dirname($0);
!     my $cmd = "zmlocalconfig -q -x";
      if (scalar(@vars) > 0) {
          $cmd .= ' ' . join(' ', @vars);
      }
--- 32,38 ----
  sub getLocalConfig(;@) {
      my @vars = @_;
      my $dir = dirname($0);
!     my $cmd = "/opt/zimbra/bin/zmlocalconfig -q -x";
      if (scalar(@vars) > 0) {
          $cmd .= ' ' . join(' ', @vars);
      }
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.