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

Thread: [SOLVED] Updating to 7.1.1 P1 (3204): java.lang.NoClassDefFoundError

  1. #1
    asemenov is offline Member
    Join Date
    Jun 2010
    Posts
    12
    Rep Power
    5

    Default [SOLVED] Updating to 7.1.1 P1 (3204): java.lang.NoClassDefFoundError

    An old testing environment was just upgraded from 7.0.0 BETA3 to 7.1.1 via 7.1.1 (3196) installer, successful. Then 7.1.1 P1 patch was applied and following http://files.zimbra.com/website/docs...ch%207.1.1.pdf I tried to run
    Code:
    zmprov fc locale
    I've got an error:
    Code:
    > zmprov fc locale
    ERROR: service.FAILURE (system failure: java.lang.NoClassDefFoundError: com/zimbra/cs/service/admin/FlushCache$1)
    >
    Now the system is:
    Code:
    > zmcontrol -v
    Release 7.1.1_GA_3196.SLES11_64_20110527125454 SLES11_64 FOSS edition.
    What to do with the error above?

  2. #2
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,271
    Rep Power
    10

    Default

    Did you run the zmmailboxdctl restart command first, as clearly noted in the patch guide?
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  3. #3
    lytledd is offline Elite Member
    Join Date
    Dec 2009
    Location
    Michigan
    Posts
    448
    Rep Power
    5

    Default

    Quote Originally Posted by quanah View Post
    Did you run the zmmailboxdctl restart command first, as clearly noted in the patch guide?
    Actually,

    The patch guide states to run the zmprov fc locale and then restart:
    Code:
    The patch is delivered as a zipped tgz file.
        1. Copy the patch.tgz file to your server
        2. Log in as root and cd to the directory where the tar file is saved
        3. Type
                tar xzvf zcs_patch-<version>.tgz
                cd zcs-patch-<version> 
                ./installPatch.sh
        4. If this patch is installed on a server with the zimbra-store package installed, the local cache must
            be flushed. Type
                    zmprov fc locale
        5. Once the patch is complete, ZCS should be restarted for changes to take effect. Type
                 zmcontrol restart
    Ben Franklin quote:

    "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."

  4. #4
    sergioag is offline Active Member
    Join Date
    Nov 2007
    Location
    Lima-Peru
    Posts
    33
    Rep Power
    7

    Default

    I noticed that error in the patch's instructions. The "zmprov fc locale" must be run after restarting Zimbra.

  5. #5
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,271
    Rep Power
    10

    Default

    No, the patch instructions are incorrect. You have to run zmmailboxdctl stop;zmmailboxdctl start;zmprov fc locale;zmcontrol stop;zmcontrol start

    Updated patch instructions with the correct procedure will be put online shortly.

    --Quanah
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  6. #6
    asemenov is offline Member
    Join Date
    Jun 2010
    Posts
    12
    Rep Power
    5

    Default

    Having `zmcontrol restart` already done after the patch have been installed, flush cache has been executed with no errors. Thank you.

  7. #7
    fibrewire is offline Junior Member
    Join Date
    Aug 2007
    Posts
    7
    Rep Power
    7

    Default

    Started with 7.1.0 GA for RedHat 5 x64, upgraded to 7.1.1 and also applied the patch. Now I get this:
    Code:
    [zimbra@mail ~]$ zmprov fc locale
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    in fact, any zmprov command gives the same command - I'm guessing zmconfigd is timing out?

    Apache is not running.
    This is CentOS 5.6 x64

    EDIT: I deleted the zmconfigd.log to clear it out, when I recreated it I forgot to correct the owner and permissions on the zmconfigd.log file
    Code:
    [zimbra@mail ~]$ zmconfigdctl reload
    Stopping zmconfigdctl...success
    Stopping zmconfigd...zmconfigd is not running.
    Starting zmconfigd.../opt/zimbra/bin/zmconfigdctl: line 118: /opt/zimbra/log/zmconfigd.log: Permission denied
    failed.
    Starting zmconfigdctl...success
    Also after chown & chgrp to zimbra for the zmconfigd.log file, I noticed other files in /opt/zimbra/log/ were owned by root, so i chown & chgrp to zimbra for ./* and I still get this:
    Code:
    [zimbra@mail ~]$ zmprov fc local
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    Last edited by fibrewire; 06-17-2011 at 09:12 AM.

  8. #8
    lytledd is offline Elite Member
    Join Date
    Dec 2009
    Location
    Michigan
    Posts
    448
    Rep Power
    5

    Default

    zmcontrol start
    zmprov fc locale
    zmcontrol restart

    Doug
    Ben Franklin quote:

    "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."

  9. #9
    fibrewire is offline Junior Member
    Join Date
    Aug 2007
    Posts
    7
    Rep Power
    7

    Default

    Quote Originally Posted by lytledd View Post
    zmcontrol start
    zmprov fc locale
    zmcontrol restart

    Doug
    Still same error message about java.

  10. #10
    fibrewire is offline Junior Member
    Join Date
    Aug 2007
    Posts
    7
    Rep Power
    7

    Default

    tail /opt/zimbra/log/zmconfigd.log
    Code:
    [zimbra@mail log]$ tail zmconfigd.log 
    
    Starting zmconfigd...zmconfigd is already running.
    Starting zmconfigd...zmconfigd is already running.
    Starting zmconfigd...zmconfigd is already running.
    Starting zmconfigd...zmconfigd is already running.
    [zimbra@mail log]$ zmprov fc locale
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)

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. [SOLVED] ZCS 7.1.1 broken SMTP Auth
    By flsimbeck in forum Installation
    Replies: 18
    Last Post: 06-10-2011, 04:13 AM
  2. postfix build error while building Zimbra source
    By anuradha_mihsra in forum Developers
    Replies: 6
    Last Post: 07-19-2007, 10:22 AM
  3. updating shared calendar remotely fails with error
    By crunchywelch in forum Administrators
    Replies: 0
    Last Post: 06-04-2007, 08:37 PM
  4. Error updating license after upgrading to latest patch
    By PureBrand in forum Installation
    Replies: 5
    Last Post: 05-03-2007, 06:43 PM
  5. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 10:30 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
  •