Results 1 to 10 of 10

Thread: Upgrade from FC4 to FC5

  1. #1
    Join Date
    Apr 2006
    Location
    San Jose, CA
    Posts
    23
    Rep Power
    9

    Default Upgrade from FC4 to FC5

    Hello folks,
    I just tried to upgrade FC4+3.1.3 OpenSource to FC5+4.0.2 with the following steps. If you guys know the better ways or ideas, kindly let me know.

    1. Backup /opt/zimbra dir and keep this safe place.
    ex. # tar cvfz zimbra_313.tgz /opt/zimbra (I correct the command because of typo in previous post...)

    2. Install FC5 from scratch.
    2-1. Disable SELinux
    2-2. Diable firewall
    2-4. yum -y update
    2-5. Install requirement software (Sudo, libidn, cURL, GMP, etc...)
    2-3. Install Openssl097a (just in case)

    yum install openssl097a
    cd /lib
    ln -s libssl.so.0.9.7a libssl.so.5
    ln -s libcrypto.so.0.9.7a libcrypto.so.5

    3. Install 4.0.2 with FC5 binary.

    4. Stop ZCS and remove /opt/zimbra

    5. Restore 3.1.3 dir to /opt/zimbra

    6. Start the Upgrade to 4.0.2 with FC5 binary

    7. Just before running server during installation (when the message "Notify Zimbra of your installation?" appears), do the followings to avoid further "zmprov" errors.
    7-1. remove rm /opt/zimbra/lib/jars/commons-httpclient-2.0.1.jar
    7-2. Renew SSL certificate
    7-3. Remove Logo.gif in Template directory (not necessary in some cases)

    (by root user)
    rm -rf /opt/zimbra/ssl
    mkdir /opt/zimbra/ssl
    chown zimbra:zimbra /opt/zimbra/ssl
    chown zimbra:zimbra /opt/zimbra/java/jre/lib/security/cacerts
    chmod 644 /opt/zimbra/java/jre/lib/security/cacerts
    rm -rf /opt/zimbra/lib/jars/commons-httpclient-2.0.1.jar
    rm -rf /opt/zimbra/wiki/Template/Logo.gif(not necessary in some cases)

    (by zimbra user)
    keytool -delete -alias my_ca -keystore /opt/zimbra/java/jre/lib/security/cacerts -storepass changeit
    keytool -delete -alias tomcat -keystore /opt/zimbra/tomcat/conf/keystore -storepass zimbra
    zmcreateca
    zmcreatecert
    zmcertinstall mailbox /opt/zimbra/ssl/ssl/server/tomcat.crt
    zmcertinstall mta /opt/zimbra/ssl/ssl/server/server.crt /opt/zimbra/ssl/ssl/server/server.key

    Thanks,
    Last edited by samotrak; 10-17-2006 at 04:16 PM. Reason: Some update

  2. #2
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Were you successful?

    I wouldn't tar, I'd use rsync, but i'm interested to find out if you were successful.

  3. #3
    Join Date
    Apr 2006
    Location
    San Jose, CA
    Posts
    23
    Rep Power
    9

    Default It works

    Yes, it works. Server is running and looks OK.

    Actually, I had some errors when Wiki was enabled during installation. But I think it could be fixed manually.

  4. #4
    Join Date
    Oct 2005
    Location
    Calgary, AB
    Posts
    232
    Rep Power
    9

    Default

    I would definitely like to keep tabs on this.

    Is everything still functioning OK? What are the errors that you have to go back and fix manually?
    Cheers,

    Travis

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

  5. #5
    Join Date
    Apr 2006
    Location
    San Jose, CA
    Posts
    23
    Rep Power
    9

    Default

    The Wiki error I got is as below.

    [zimbra@zimbra01 ~]$ zmprov in wiki@zimbra.example.com password /opt/zimbra/wiki/Template Template
    Initializing folders
    Initializing...
    Creating wiki document _TitleBar in folder Template
    Creating wiki document _PathItemTemplate in folder Template
    Creating wiki document _TemplateStyles in folder Template
    Creating wiki document _TocBodyTemplate in folder Template
    Creating wiki document _Template in folder Template
    Creating wiki document _PathBodyTemplate in folder Template
    Creating file document Logo.gif in folder Template
    Cannot import Wiki documents from /opt/zimbra/wiki/Template
    com.zimbra.cs.service.wiki.WikiServiceException: error: import
    at com.zimbra.cs.service.wiki.WikiServiceException.ER ROR(WikiServiceException.java:60)
    at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.startImpo rt(WikiUtil.java:499)
    at com.zimbra.cs.account.ProvUtil.doImport(ProvUtil.j ava:1201)
    at com.zimbra.cs.account.ProvUtil.initNotebook(ProvUt il.java:1153)
    at com.zimbra.cs.account.ProvUtil.execute(ProvUtil.ja va:522)
    at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java: 1418)
    Caused by: com.zimbra.soap.SoapFaultException: system failure: java.lang.NullPointerException
    at com.zimbra.soap.Soap12Protocol.soapFault(Soap12Pro tocol.java:102)
    at com.zimbra.soap.SoapTransport.extractBodyElement(S oapTransport.java:212)
    at com.zimbra.soap.SoapTransport.parseSoapResponse(So apTransport.java:188)
    at com.zimbra.soap.SoapHttpTransport.invoke(SoapHttpT ransport.java:214)
    at com.zimbra.soap.SoapTransport.invoke(SoapTransport .java:228)
    at com.zimbra.cs.client.soap.LmcSoapRequest.invoke(Lm cSoapRequest.java:148)
    at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.createDoc ument(WikiUtil.java:399)
    at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.createIte m(WikiUtil.java:426)
    at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.populateF olders(WikiUtil.java:460)
    at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.startImpo rt(WikiUtil.java:496)
    ... 4 more
    [zimbra@zimbra01 ~]$


    So far server looks OK other than Wiki.

    compat-libstdc++-33 and compat-libstdcc++-296 are surely installed.
    Document function for COS is enabled.

    In case of fresh ZCS installation (not upgrade), the above command works.

    I'm still trying to fix this error ... Thanks,
    Last edited by samotrak; 09-29-2006 at 08:39 PM. Reason: Some addition

  6. #6
    Join Date
    Apr 2006
    Location
    San Jose, CA
    Posts
    23
    Rep Power
    9

    Default Update

    When I removed /opt/zimbra/wiki/Template/Logo.gif, command "zmprov in wiki@zimbra.example.com password /opt/zimbra/wiki/Template Template" succeeded.

    Now, document function is starting to work.

    However, I cannot upload a picture to wiki and think this might related with the above error.

    In zimbra.log, I found some messages as below and also think these messages could be related with this issue.

    2006-09-29 22:08:16,125 INFO [Timer-0] [] FileUploadServlet - 7 pending file uploads
    2006-09-29 22:10:16,136 INFO [Timer-0] [] FileUploadServlet - Removed 2 expired file uploads; 5 pending file uploads

  7. #7
    Join Date
    Apr 2006
    Location
    San Jose, CA
    Posts
    23
    Rep Power
    9

    Default First post updated

    Folks,
    My first post updated. Still investigating errors during Document activation ...

  8. #8
    Join Date
    Apr 2006
    Location
    San Jose, CA
    Posts
    23
    Rep Power
    9

    Default Errors in zimbra.log

    Folks,

    The following errors appears in /opt/zimbra/log/zimbra.log when document initialization (document import from Template dir) fails.
    Does anyone have an idea to solve this issue?
    Thanks,

    2006-10-17 19:37:01,344 INFO [http-80-Processor98] [mid=36;ua=lmc;ip=192.168.100.108;name=2_7bnlqe1q@z imbra.example.com;] FileBlobStore - Stored size=1046 wrote=1046 path=/opt/zimbra/store/incoming/1161139018421-6.msg vol=1 digest=fntknwB1juNVzMuTqa+UzNLSKM8=
    2006-10-17 19:37:01,352 WARN [http-80-Processor98] [mid=36;ua=lmc;ip=192.168.100.108;name=2_7bnlqe1q@z imbra.example.com;] index - loadHandler caught exception
    java.lang.ClassNotFoundException: extension convertd not found
    at com.zimbra.cs.extension.ExtensionUtil.loadClass(Ex tensionUtil.java:165)
    at com.zimbra.cs.mime.MimeHandler.loadHandler(MimeHan dler.java:161)
    at com.zimbra.cs.mime.MimeHandler.getMimeHandler(Mime Handler.java:113)
    at com.zimbra.cs.mime.ParsedDocument.init(ParsedDocum ent.java:167)
    at com.zimbra.cs.mime.ParsedDocument.<init>(ParsedDoc ument.java:157)
    at com.zimbra.cs.mailbox.Mailbox.createDocument(Mailb ox.java:5031)
    at com.zimbra.cs.wiki.WikiPage$LocalWikiPage.create(W ikiPage.java:149)
    at com.zimbra.cs.wiki.Wiki.addPage(Wiki.java:667)
    at com.zimbra.cs.service.wiki.SaveDocument.handle(Sav eDocument.java:145)
    at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:261)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:162)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:84)
    at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:223)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:709)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:173)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
    at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:541)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:667)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    2006-10-17 19:37:01,356 INFO [http-80-Processor98] [mid=36;ua=lmc;ip=192.168.100.108;name=2_7bnlqe1q@z imbra.example.com;] FileBlobStore - deleting blob file (path=/opt/zimbra/store/incoming/1161139018421-6.msg, vol=1)
    2006-10-17 19:37:01,356 INFO [http-80-Processor98] [mid=36;ua=lmc;ip=192.168.100.108;name=2_7bnlqe1q@z imbra.example.com;] FileBlobStore - deleting blob file (path=/opt/zimbra/store/incoming/1161139018421-6.msg, vol=1)
    2006-10-17 19:37:01,362 WARN [http-80-Processor98] [mid=36;ua=lmc;ip=192.168.100.108;name=2_7bnlqe1q@z imbra.example.com;] SoapEngine - handler exception
    java.lang.NullPointerException
    at com.zimbra.cs.mime.MimeHandler$HandlerInfo.getInst ance(MimeHandler.java:402)
    at com.zimbra.cs.mime.MimeHandler.getMimeHandler(Mime Handler.java:115)
    at com.zimbra.cs.mime.ParsedDocument.init(ParsedDocum ent.java:167)
    at com.zimbra.cs.mime.ParsedDocument.<init>(ParsedDoc ument.java:157)
    at com.zimbra.cs.mailbox.Mailbox.createDocument(Mailb ox.java:5031)
    at com.zimbra.cs.wiki.WikiPage$LocalWikiPage.create(W ikiPage.java:149)
    at com.zimbra.cs.wiki.Wiki.addPage(Wiki.java:667)
    at com.zimbra.cs.service.wiki.SaveDocument.handle(Sav eDocument.java:145)
    at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:261)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:162)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:84)
    at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:223)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:709)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:173)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
    at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:541)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:667)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    2006-10-17 19:37:59,202 INFO [Timer-0] [] FileUploadServlet - 1 pending file uploads
    2006-10-17 19:38:59,206 INFO [Timer-0] [] FileUploadServlet - 1 pending file uploads

  9. #9
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default Network -> OSS downgrade?

    Did you move from Network to OSS? It seems to be looking for the convertd service, which isn't present in the OSS version.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  10. #10
    Join Date
    Apr 2006
    Location
    San Jose, CA
    Posts
    23
    Rep Power
    9

    Default Re: Network -> OSS downgrade?

    Yes, I did downgrade from NE to OSS. What I did is upgrade to NE and downgrade to OSS just for testing purpose.
    Do you have any idea to fix this?

    Actually, when I use the instance which have not been downgraded from NE to OSS, I have no problme during upgrade from 3.1.3 instance to 4.0.2 or 4.0.3.

    Thanks,
    samotrak

Similar Threads

  1. Upgrade from 3.1.3_GA_474 on FC4 to 4.5.1_GA_660
    By cjhall in forum Installation
    Replies: 3
    Last Post: 02-12-2007, 06:17 AM
  2. Replies: 7
    Last Post: 01-24-2007, 10:03 PM
  3. Zimbra 4.04 GA FC4 - Upgrade Failure
    By RJerrom in forum Installation
    Replies: 3
    Last Post: 12-08-2006, 11:10 AM
  4. fc4 zcs-3.0.1 -> 3.1 upgrade worked great.. almost
    By keyhman in forum Installation
    Replies: 29
    Last Post: 09-29-2006, 11:06 AM
  5. M1 -> M2 Upgrade Scripts
    By KevinH in forum Announcements
    Replies: 57
    Last Post: 12-15-2005, 09:10 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
  •