Results 1 to 3 of 3

Thread: 5.0 Beta zmstat don't work on openSUSE10.2

  1. #1
    Achim.Theobald is offline Senior Member
    Join Date
    Feb 2006
    Location
    Germany, Saarland, Saarbruecken
    Posts
    53
    Rep Power
    9

    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

  2. #2
    Achim.Theobald is offline Senior Member
    Join Date
    Feb 2006
    Location
    Germany, Saarland, Saarbruecken
    Posts
    53
    Rep Power
    9

    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

  3. #3
    ppearl's Avatar
    ppearl is offline Zimbra Employee
    Join Date
    Jul 2007
    Location
    US
    Posts
    64
    Rep Power
    8

    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);
          }
    

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Is ZCS 5.0 Beta 2 Really Out?
    By soxfan in forum Administrators
    Replies: 8
    Last Post: 07-26-2007, 04:03 AM
  2. ZCS 5.0 Beta 2 is Out!
    By jholder in forum Announcements
    Replies: 0
    Last Post: 07-25-2007, 11:54 AM
  3. 5.0 Beta Test Server Install - Sanity Check
    By soxfan in forum Installation
    Replies: 3
    Last Post: 06-07-2007, 10:53 AM
  4. Replies: 42
    Last Post: 08-11-2006, 09:50 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
  •