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

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 10-23-2006, 10:24 AM
Advanced Member
 
Posts: 232
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
Reply With Quote
  #2 (permalink)  
Old 10-23-2006, 01:44 PM
Advanced Member
 
Posts: 232
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
Reply With Quote
  #3 (permalink)  
Old 10-23-2006, 02:05 PM
Advanced Member
 
Posts: 232
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
Reply With Quote
  #4 (permalink)  
Old 10-24-2006, 01:03 AM
Loyal Member
 
Posts: 81
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
Reply With Quote
  #5 (permalink)  
Old 10-24-2006, 08:08 AM
Advanced Member
 
Posts: 232
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
Reply With Quote
  #6 (permalink)  
Old 10-24-2006, 09:24 AM
Advanced Member
 
Posts: 232
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
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.