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

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 06-14-2011, 06:03 AM
Member
 
Posts: 12
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?
Reply With Quote
  #2 (permalink)  
Old 06-14-2011, 10:07 AM
Zimbra Employee
 
Posts: 580
Default

Did you run the zmmailboxdctl restart command first, as clearly noted in the patch guide?
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #3 (permalink)  
Old 06-14-2011, 04:39 PM
Elite Member
 
Posts: 305
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."
Reply With Quote
  #4 (permalink)  
Old 06-14-2011, 05:33 PM
Active Member
 
Posts: 33
Default

I noticed that error in the patch's instructions. The "zmprov fc locale" must be run after restarting Zimbra.
Reply With Quote
  #5 (permalink)  
Old 06-14-2011, 06:06 PM
Zimbra Employee
 
Posts: 580
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
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #6 (permalink)  
Old 06-14-2011, 11:14 PM
Member
 
Posts: 12
Default

Having `zmcontrol restart` already done after the patch have been installed, flush cache has been executed with no errors. Thank you.
Reply With Quote
  #7 (permalink)  
Old 06-17-2011, 08:45 AM
Junior Member
 
Posts: 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..
Reply With Quote
  #8 (permalink)  
Old 06-17-2011, 09:12 AM
Elite Member
 
Posts: 305
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."
Reply With Quote
  #9 (permalink)  
Old 06-17-2011, 09:27 AM
Junior Member
 
Posts: 7
Default

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

Doug
Still same error message about java.
Reply With Quote
  #10 (permalink)  
Old 06-17-2011, 09:31 AM
Junior Member
 
Posts: 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)
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.