Page 1 of 5 123 ... LastLast
Results 1 to 10 of 42

Thread: [SOLVED] Upgrade from 4.5.6 CE to 4.5.7 CE: stats service shown as stopped

  1. #1
    centrex is offline Special Member
    Join Date
    Aug 2007
    Posts
    100
    Rep Power
    8

    Default [SOLVED] Upgrade from 4.5.6 CE to 4.5.7 CE: stats service shown as stopped

    I just upgraded from 4.5.6 to 4.5.7, specifically I am now running 4.5.7_GA_1319.RHEL4_64_20070914213443 CentOS4_64 FOSS edition.

    Things went smooth and there were no errors during the upgrade.

    Only problem I have come across so far is that when I log in as admin and check service status, stats service is showing as not running ( red X graphic next to the service ).

    Interestingly:

    [zimbra@zcs ~]$ zmcontrol status
    Host mail.foo.bar
    antispam Running
    antivirus Running
    imapproxy Running
    ldap Running
    logger Running
    mailbox Running
    mta Running
    snmp Running
    spell Running
    stats Running




    I found a thread ZCS_5.0beta2 'Stats' Service where people discussed stats service issues on 5.0 beta which has the same symptoms as my issue, albeit involving a different ZCS version.

    The symlink solution they suggested here centos 5 zimbra 4.5.6 no statistics I don't think is relevant to my system because the two directories they link together in that solution already exist on my system and are populated.

    [zimbra@zcs ~]$ file /opt/zimbra/zimbramon/rrdtool/bin
    /opt/zimbra/zimbramon/rrdtool/bin: directory

    [zimbra@zcs ~]$ file /opt/zimbra/zimbramon/rrdtool-1.0.49/bin
    /opt/zimbra/zimbramon/rrdtool-1.0.49/bin: directory

    [zimbra@zcs ~]$ ll /opt/zimbra/zimbramon/rrdtool-1.0.49/bin
    total 940
    lrwxrwxrwx 1 root root 40 Sep 19 15:02 bin -> /opt/zimbra/zimbramon/rrdtool-1.0.49/bin
    -rwxr-xr-x 1 root root 424144 Aug 3 05:12 rrdcgi
    -rwxr-xr-x 1 root root 459954 Aug 3 05:12 rrdtool
    -rwxr-xr-x 1 root root 32462 Aug 3 05:12 rrdupdate
    -rwxr-xr-x 1 root root 29539 Aug 3 05:12 trytime

    [zimbra@zcs ~]$ ll /opt/zimbra/zimbramon/rrdtool/bin
    total 940
    lrwxrwxrwx 1 root root 40 Sep 19 15:02 bin -> /opt/zimbra/zimbramon/rrdtool-1.0.49/bin
    -rwxr-xr-x 1 root root 424144 Aug 3 05:12 rrdcgi
    -rwxr-xr-x 1 root root 459954 Aug 3 05:12 rrdtool
    -rwxr-xr-x 1 root root 32462 Aug 3 05:12 rrdupdate
    -rwxr-xr-x 1 root root 29539 Aug 3 05:12 trytime


    In my zimbra.log I see weird things happening in relation to the stats service.

    without any errors, it sometimes shows as running and sometimes shows as stopped. I have run

    tail -f /var/log/zimbra.log and captured the output over a period of several minutes. It will show stats: Running and stats: Stopped at will.

    Here's an excerpt, I only removed lines relating to mail delivery from the log:

    Sep 19 15:00:11 zcs zmtomcatmgr[13459]: status requested
    Sep 19 15:00:11 zcs zmtomcatmgr[13459]: status OK
    Sep 19 15:00:11 zcs zimbramon[13057]: 13057:info: 2007-09-19 15:00:01, STATUS: zcs.domain.com: antispam: Running
    Sep 19 15:00:11 zcs zimbramon[13057]: 13057:info: 2007-09-19 15:00:01, STATUS: zcs.domain.com: antivirus: Running
    Sep 19 15:00:11 zcs zimbramon[13057]: 13057:info: 2007-09-19 15:00:01, STATUS: zcs.domain.com: imapproxy: Running
    Sep 19 15:00:11 zcs zimbramon[13057]: 13057:info: 2007-09-19 15:00:01, STATUS: zcs.domain.com: ldap: Running
    Sep 19 15:00:11 zcs zimbramon[13057]: 13057:info: 2007-09-19 15:00:01, STATUS: zcs.domain.com: logger: Running
    Sep 19 15:00:11 zcs zimbramon[13057]: 13057:info: 2007-09-19 15:00:01, STATUS: zcs.domain.com: mailbox: Running
    Sep 19 15:00:11 zcs zimbramon[13057]: 13057:info: 2007-09-19 15:00:01, STATUS: zcs.domain.com: mta: Running
    Sep 19 15:00:11 zcs zimbramon[13057]: 13057:info: 2007-09-19 15:00:01, STATUS: zcs.domain.com: snmp: Running
    Sep 19 15:00:11 zcs zimbramon[13057]: 13057:info: 2007-09-19 15:00:01, STATUS: zcs.domain.com: spell: Running
    Sep 19 15:00:11 zcs zimbramon[13057]: 13057:info: 2007-09-19 15:00:01, STATUS: zcs.domain.com: stats: Stopped
    Sep 19 15:01:35 zcs zmtomcatmgr[14486]: status requested
    Sep 19 15:01:35 zcs zmtomcatmgr[14486]: status OK
    Sep 19 15:01:36 zcs zimbramon[13772]: 13772:info: 2007-09-19 15:01:29, STATUS: zcs.domain.com: antispam: Running
    Sep 19 15:01:36 zcs zimbramon[13772]: 13772:info: 2007-09-19 15:01:29, STATUS: zcs.domain.com: antivirus: Running
    Sep 19 15:01:36 zcs zimbramon[13772]: 13772:info: 2007-09-19 15:01:29, STATUS: zcs.domain.com: imapproxy: Running
    Sep 19 15:01:36 zcs zimbramon[13772]: 13772:info: 2007-09-19 15:01:29, STATUS: zcs.domain.com: ldap: Running
    Sep 19 15:01:36 zcs zimbramon[13772]: 13772:info: 2007-09-19 15:01:29, STATUS: zcs.domain.com: logger: Running
    Sep 19 15:01:36 zcs zimbramon[13772]: 13772:info: 2007-09-19 15:01:29, STATUS: zcs.domain.com: mailbox: Running
    Sep 19 15:01:36 zcs zimbramon[13772]: 13772:info: 2007-09-19 15:01:29, STATUS: zcs.domain.com: mta: Running
    Sep 19 15:01:36 zcs zimbramon[13772]: 13772:info: 2007-09-19 15:01:29, STATUS: zcs.domain.com: snmp: Running
    Sep 19 15:01:36 zcs zimbramon[13772]: 13772:info: 2007-09-19 15:01:29, STATUS: zcs.domain.com: spell: Running
    Sep 19 15:01:36 zcs zimbramon[13772]: 13772:info: 2007-09-19 15:01:29, STATUS: zcs.domain.com: stats: Running
    Sep 19 15:02:06 zcs zmtomcatmgr[14998]: status requested
    Sep 19 15:02:06 zcs zmtomcatmgr[14998]: status OK
    Sep 19 15:02:06 zcs zimbramon[14788]: 14788:info: 2007-09-19 15:02:01, STATUS: zcs.domain.com: antispam: Running
    Sep 19 15:02:06 zcs zimbramon[14788]: 14788:info: 2007-09-19 15:02:01, STATUS: zcs.domain.com: antivirus: Running
    Sep 19 15:02:06 zcs zimbramon[14788]: 14788:info: 2007-09-19 15:02:01, STATUS: zcs.domain.com: imapproxy: Running
    Sep 19 15:02:06 zcs zimbramon[14788]: 14788:info: 2007-09-19 15:02:01, STATUS: zcs.domain.com: ldap: Running
    Sep 19 15:02:06 zcs zimbramon[14788]: 14788:info: 2007-09-19 15:02:01, STATUS: zcs.domain.com: logger: Running
    Sep 19 15:02:06 zcs zimbramon[14788]: 14788:info: 2007-09-19 15:02:01, STATUS: zcs.domain.com: mailbox: Running
    Sep 19 15:02:06 zcs zimbramon[14788]: 14788:info: 2007-09-19 15:02:01, STATUS: zcs.domain.com: mta: Running
    Sep 19 15:02:06 zcs zimbramon[14788]: 14788:info: 2007-09-19 15:02:01, STATUS: zcs.domain.com: snmp: Running
    Sep 19 15:02:06 zcs zimbramon[14788]: 14788:info: 2007-09-19 15:02:01, STATUS: zcs.domain.com: spell: Running
    Sep 19 15:02:06 zcs zimbramon[14788]: 14788:info: 2007-09-19 15:02:01, STATUS: zcs.domain.com: stats: Stopped


    Has anyone else upgraded their 4.5.6 to 4.5.7 and seen the same issue ? Any ideas where to look next ?

    Edit: I tried service zimbra stop;service zimbra start. I also rebooted the server to no avail. Since posting this thread, I am still monitoring zimbra.log and it's now consistently showing stats: Stopped every single time.
    Last edited by centrex; 11-25-2008 at 02:13 AM. Reason: Typo fix

  2. #2
    hogne is offline Member
    Join Date
    Aug 2007
    Posts
    11
    Rep Power
    8

    Default

    I got the exact same problem with zcs-4.5.7_GA_1319.UBUNTU6.tgz running on Ubuntu 6.06.1 Server Edition (i386).

  3. #3
    centrex is offline Special Member
    Join Date
    Aug 2007
    Posts
    100
    Rep Power
    8

    Default

    Quote Originally Posted by hogne View Post
    I got the exact same problem with zcs-4.5.7_GA_1319.UBUNTU6.tgz running on Ubuntu 6.06.1 Server Edition (i386).

    Where you running 4.5.6 previously without any drama ?

  4. #4
    hogne is offline Member
    Join Date
    Aug 2007
    Posts
    11
    Rep Power
    8

    Default

    Quote Originally Posted by centrex View Post
    Where you running 4.5.6 previously without any drama ?
    This was a new clean install.

  5. #5
    centrex is offline Special Member
    Join Date
    Aug 2007
    Posts
    100
    Rep Power
    8

    Default

    Quote Originally Posted by hogne View Post
    This was a new clean install.
    Maybe a different issue then ?!

    Did you look at the two links I referenced in my original post? Perhaps the suggestions in these two threads could work for you.



    centos 5 zimbra 4.5.6 no statistics

    ZCS_5.0beta2 'Stats' Service
    Last edited by centrex; 09-19-2007 at 06:03 AM.

  6. #6
    hogne is offline Member
    Join Date
    Aug 2007
    Posts
    11
    Rep Power
    8

    Default

    Quote Originally Posted by centrex View Post
    Maybe a different issue then ?!

    Did you look at the two links I referenced in my original post? Perhaps the suggestions in these two threads could work for you.



    centos 5 zimbra 4.5.6 no statistics
    I have looked at those threads and that is not the problem. My /opt/zimbra/zimbramon/rrdtool/bin is populated just as yours are. Otherwise my problem are identical to yours.

    zmcontrol status shows stats to be running, the web interface and /var/log/zimbra.log shows it not to be running. I get no stats generated in the web admin interface. Something seems broken in 4.5.7 independent of any potential upgrade problems.

  7. #7
    centrex is offline Special Member
    Join Date
    Aug 2007
    Posts
    100
    Rep Power
    8

    Default

    Quote Originally Posted by hogne View Post
    I have looked at those threads and that is not the problem. My /opt/zimbra/zimbramon/rrdtool/bin is populated just as yours are. Otherwise my problem are identical to yours.

    zmcontrol status shows stats to be running, the web interface and /var/log/zimbra.log shows it not to be running. I get no stats generated in the web admin interface. Something seems broken in 4.5.7 independent of any potential upgrade problems.
    I was secretly hoping that

    It signifies that we are onto something and it's probably not just my individual install.

    I will poke around tomorrow and see if I can find any cause. Will let you know if I find anything meaningful.

  8. #8
    CrypTom is offline Project Contributor
    Join Date
    Aug 2006
    Posts
    33
    Rep Power
    9

    Default

    I've got exactly the same behavior

    - red cross next to the stats service in the admin webinterface
    - 'zmcontrol status' tells that every service is running
    - graphs are not updated

    after my upgrade from 4.5.6 build 1044 Ubuntu6 on Ubuntu Server 7.04 (feisty) to 4.5.7 build 1319 Ubuntu6.

    I realized that the stats are still gathered. I ran a 'zmgengraphs' and the graphs were updated with reasonable values.

    I tried to manually start (or stop, then start) 'zmstatsctl' without success.

    Any solutions in the meantime?

    Tom

  9. #9
    aabreu2005 is offline Active Member
    Join Date
    May 2006
    Location
    Espírito Santo - Brasil
    Posts
    39
    Rep Power
    9

    Thumbs down

    Quote Originally Posted by CrypTom View Post
    I've got exactly the same behavior

    - red cross next to the stats service in the admin webinterface
    - 'zmcontrol status' tells that every service is running
    - graphs are not updated

    after my upgrade from 4.5.6 build 1044 Ubuntu6 on Ubuntu Server 7.04 (feisty) to 4.5.7 build 1319 Ubuntu6.

    I realized that the stats are still gathered. I ran a 'zmgengraphs' and the graphs were updated with reasonable values.

    I tried to manually start (or stop, then start) 'zmstatsctl' without success.

    Any solutions in the meantime?

    Tom
    Here it did not decide, I find that it is BUG as well as that they had been not yet decided…

  10. #10
    centrex is offline Special Member
    Join Date
    Aug 2007
    Posts
    100
    Rep Power
    8

    Default

    When I run zmgengraphs, it does populate all the graphs except what's under the "Anti-Spam/Anti-Virus Activity" tab. Not sure if it's failure to generate graphs based on amavisd data is a separate issue or related.

    Edit: The bug I logged turned out to be a dupe of an already existing bug report #17977. Please use this link: Bug 17977 - Server Status in admin console shows incorrect info.
    Last edited by centrex; 09-19-2007 at 11:25 PM. Reason: Corrected Bugtrack URL

Page 1 of 5 123 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 4.0.4 to 4.5.6 upgrade failed in network edition
    By chenthil in forum Administrators
    Replies: 1
    Last Post: 08-27-2007, 09:36 AM
  2. Replies: 6
    Last Post: 07-04-2007, 08:36 AM
  3. Web client logon fails (INVALID_PDU)
    By jermxx in forum Installation
    Replies: 8
    Last Post: 02-20-2007, 02:20 PM
  4. Tomcat broken after upgrade to 4
    By dotslashroot in forum Migration
    Replies: 13
    Last Post: 01-31-2007, 06:05 PM
  5. MTA Service Stopped
    By Ryan Frantz in forum Administrators
    Replies: 7
    Last Post: 11-23-2005, 02:03 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
  •