Results 1 to 6 of 6

Thread: FC3 to FC 5

  1. #1
    Join Date
    Oct 2005
    Location
    Calgary, AB
    Posts
    232
    Rep Power
    10

    Default FC3 to FC 5

    Many attempts to get this working. I did succeed in getting partial functionality. Problems that existed:

    1. apachectl would not start (aspell?)
    2. Wiki would not function

    3. This one is the kicker and a carry over from my FC3 version: Message Que (Active) would backlog terribly when AMAVIS and DSPAM were enabled. In my FC3 version I disabled in the Admin Console so that we could at least send and receive problem free, albeit with a ton of SPAM not being filtered. I got new hardware (my FC3 is still intact if this migration proves a failure) and was really hoping that an upgrade to FC5 with the latest and greatest Zimbra would fix things up. That was not the case. Mail Que is still backlogging and disabling the AV/SPAM in Admin Console seems to have no effect. So I am worse off.

    So here is where I am at now:

    1. Backed up the followng directoreis: db, store, index, conf, config.15070, config.save, the http 'conf' folder, the openldap 'etc' folder and subdirectories, openldap-data, the postfix 'conf' directory
    2. Backed up these two files: config.15070 (latest install attempt), config.save

    I have just uninstalled my previous FC5 install and reinstalled it from scratch, configuring the same domain name as I had before.

    Any ideas as to where I should proceed from here?

    Cheers,

    Travis
    Cheers,

    Travis

    "Let's look at this from a standpoint of "Status". What exactly, on the Space Craft, IS working?"
    -Flight Control, Apollo 13

  2. #2
    Join Date
    Oct 2005
    Location
    Calgary, AB
    Posts
    232
    Rep Power
    10

    Default

    I followed the wiki for this:

    But still cannot start tomcat.

    This is the output of my attempt:

    [zimbra@webmail ~]$ tomcat start
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/ht tpclient/protocol/SecureProtocolSocketFactory
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java :620)
    at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:12 4)
    at java.net.URLClassLoader.defineClass(URLClassLoader .java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader. java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
    at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
    at com.zimbra.cs.util.Zimbra.toolSetup(Zimbra.java:19 4)
    at com.zimbra.cs.util.Zimbra.toolSetup(Zimbra.java:18 8)
    at com.zimbra.cs.util.Zimbra.toolSetup(Zimbra.java:18 4)
    at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java: 1365)
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/ht tpclient/protocol/SecureProtocolSocketFactory
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java :620)
    at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:12 4)
    at java.net.URLClassLoader.defineClass(URLClassLoader .java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader. java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
    at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
    at com.zimbra.cs.util.Zimbra.toolSetup(Zimbra.java:19 4)
    at com.zimbra.cs.util.Zimbra.toolSetup(Zimbra.java:18 8)
    at com.zimbra.cs.util.Zimbra.toolSetup(Zimbra.java:18 4)
    at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java: 1365)

    Please help :-)
    Cheers,

    Travis

    "Let's look at this from a standpoint of "Status". What exactly, on the Space Craft, IS working?"
    -Flight Control, Apollo 13

  3. #3
    Join Date
    Oct 2005
    Location
    Calgary, AB
    Posts
    232
    Rep Power
    10

    Default

    Ok so that error evolved from doing:

    'remove rm /opt/zimbra/lib/jars/commons-httpclient-2.0.1.jar'

    As outlined in this post.

    I re-ran the 4.0.2 upgrade and it fixed that up.

    I am going to try and upgrade to 4.0.3 now, FC5.
    Cheers,

    Travis

    "Let's look at this from a standpoint of "Status". What exactly, on the Space Craft, IS working?"
    -Flight Control, Apollo 13

  4. #4
    Join Date
    Jan 2006
    Posts
    81
    Rep Power
    9

    Default

    You don't make it clear if you started by doing the following:

    1. Stop zimbra on old machine
    2. Backup /opt/zimbra on old machine
    3. Install same version of zimbra on new machine
    4. restore backup of /opt/zimbra from old machine to new machine
    5. (re)installed same version of zimbra from step 3 as an "upgrade"

    If you didn't start by following those steps, any number of things could have gone wrong.
    Jacob Turner
    Ringnebula Systems - Ukiah, CA

  5. #5
    Join Date
    Oct 2005
    Location
    Calgary, AB
    Posts
    232
    Rep Power
    10

    Default

    Quote Originally Posted by ringnebula
    You don't make it clear if you started by doing the following:

    1. Stop zimbra on old machine
    2. Backup /opt/zimbra on old machine
    3. Install same version of zimbra on new machine
    4. restore backup of /opt/zimbra from old machine to new machine
    5. (re)installed same version of zimbra from step 3 as an "upgrade"

    If you didn't start by following those steps, any number of things could have gone wrong.
    I tried a few things. The following is what worked and it seems to have abandoned the "Que Backlog" issue that was occuring with SPAM/AV enabled on FC3 and my first install of Zimbra on FC5:

    ON OLD MACHINE:
    1. On old machine: tar -cvzp /opt/zimbra > zimbra.tar

    ON NEW MACHINE:
    1. Fresh install of FC5
    2. mkdir /tmp/oldzimbra
    3. chkconfig --del iptables and sendmail
    4. From samotrak's post ran:
    Disable SELinu
    yum -y update
    cd /lib
    ln -s libssl.so.0.9.7a libssl.so.5
    ln -s libcrypto.so.0.9.7a libcrypto.so.5
    5. scp root@[old machine ip]:/opt/zimbra/zimbra.tar .
    6. Installed Zimbra zcs-3.1.4_GA_518.FC3.tgz which was my FC3 version of Zimbra. This errored out at the very end which was not surprising. This portion was not an "Upgrade".
    7. cd /opt
    8. rm -rf zimbra/
    9. cd /tmp/oldzimbra
    10. tar -xvzf zimbra.tar
    11. cd /tmp/oldzimbra/opt
    12. mv zimbra /opt
    13. cd /opt/zimbra
    14. rm -rf * ON SPAM and Anti-virus SUB FOLDERS, I left the root folders alone, no reason in particular.
    15. ran ./install on zcs-4.0.2_GA_362.FC5.tgz (choosing "Upgrade")
    16. A lot of SQL scripting ran here upgrading my DB/Mailboxes.
    17. Upgrade completed successfully
    18. From wiki

    1. As root, type:
    rm -rf /opt/zimbra/ssl
    mkdir /opt/zimbra/ssl
    chown zimbra:zimbra /opt/zimbra/ssl
    2.Type su - zimbra then type the following all on one line
    keytool -delete -alias my_ca -keystore /opt/zimbra/java/jre/lib/security/cacerts -storepass changeit
    Next type the following all on one line
    keytool -delete -alias tomcat -keystore /opt/zimbra/tomcat/conf/keystore -storepass zimbra
    3. Type zmcreateca , press Enter
    4. Type zmcreatecert , press Enter
    5. Type zmcertinstall mailbox , press Enter
    6. Type tomcat stop , press Enter
    7. Type tomcat start press Enter

    19. ./install.sh on zcs-4.0.3_GA_406.FC5.tgz, choosing "Upgrade"

    End result is my install is working great and having the SPAM/AV modules on is NOT causing my Mail QUE to backlog. This symptom still remains somewhat of a mystery and the only thing that cured it was to NOT bring over my old DSPAM or AV data from the previous version.

    I did notice that there was a lot of data in the DSPAM folder so perhaps that is why those modules caused a mail backlog in both FC3 and FC5 Zimbra installs. I will extract that directory again (not to my /opt/zimbra....only to /tmp ) and post the size of that 'dir'.

    Hope this helps someone else in the future!

    Thanks to everyone who provided previous clues as to how to accomplish this.
    Cheers,

    Travis

    "Let's look at this from a standpoint of "Status". What exactly, on the Space Craft, IS working?"
    -Flight Control, Apollo 13

  6. #6
    Join Date
    Oct 2005
    Location
    Calgary, AB
    Posts
    232
    Rep Power
    10

    Default

    FYI

    My old DSPAM directory

    [zimbra@webmail zimbra.sig]$ pwd
    /tmp/oldzimbra/opt/zimbra/dspam/var/dspam/data/z/i/zimbra/zimbra.sig

    [zimbra@webmail zimbra.sig]$ ls | wc
    2692 2692 74359
    Cheers,

    Travis

    "Let's look at this from a standpoint of "Status". What exactly, on the Space Craft, IS working?"
    -Flight Control, Apollo 13

Similar Threads

  1. Migration problem from FC3 to Centos 4.3
    By kibo in forum Migration
    Replies: 5
    Last Post: 01-02-2007, 06:34 PM
  2. FC3 ZCS 3.1 Crash Recovery - Help!
    By stillSpirit in forum Administrators
    Replies: 0
    Last Post: 09-23-2006, 07:53 AM
  3. 3.1.4 Update - FC3
    By tbullock in forum Administrators
    Replies: 3
    Last Post: 07-27-2006, 10:29 PM
  4. Best Procedure for new install M2 on FC3
    By chamo in forum Installation
    Replies: 5
    Last Post: 11-18-2005, 12:47 PM
  5. New to Linux - Zimbra Installation trouble on FC3
    By Jaymate in forum Installation
    Replies: 18
    Last Post: 10-26-2005, 06:17 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
  •