Results 1 to 5 of 5

Thread: [SOLVED] Migrating Zimbra 32 bit (Ubuntu 8.04.4 -32 bit) to 64 bit (Ubuntu 8.04.4 64

  1. #1
    johan.radyn is offline Junior Member
    Join Date
    Feb 2009
    Location
    Stellenbosch, South Africa
    Posts
    7
    Rep Power
    6

    Default [SOLVED] Migrating Zimbra 32 bit (Ubuntu 8.04.4 -32 bit) to 64 bit (Ubuntu 8.04.4 64

    I'm trying to migrate from Ubuntu Hardy 32 bit to Ubuntu Hardy 64 bit and after I follow the wiki docs the Zimbra server runs, but I get errors... Here it is steps I take to setup my new server.

    For setup of my new server I follow this:
    Ubuntu 8.04 LTS Server (Hardy Heron) Install Guide - Zimbra :: Wiki

    I can resolve my dns correctly and I do change my spam,ham and global documents usernames to be exactly the same as on the old server and I also change all the ldap passwords to be the same as on the old server.

    For the migaration to the 64 bit server I follow this:
    Network Edition: Moving from 32-bit to 64-bit Server - Zimbra :: Wiki

    As both my server uses the Open Edition and this does not a ldap master with replicas I skip the following steps:
    1. "b. If this is an ldap master with replicas: rm -rf /opt/zimbra/data/ldap/accesslog/*"
    2. "d. If this is an ldap master with replicas: mkdir -p /opt/zimbra/data/ldap/accesslog/db /opt/zimbra/data/accesslog/logs"
    3. I changed all the passwords in /opt/zimbra/conf/localconfig.xml to match the old server except for:
    3.1 c. zimbra_logger_mysql_password (not there)
    3.2 d. mailboxd_keystore_password (using selfsigned certificates)
    3.3 f. mailboxd_keystore_base_password (not there)

    Then I follow the following steps in the wiki page:
    Type rm -rf /opt/zimbra/db/data/*
    Copy the /opt/zimbra/db/data/* from the 32-bit server to the 64-bit server.
    Copy the /opt/zimbra/store/* from the 32-bit server to the 64-bit server.
    Copy the /opt/zimbra/index/* from the 32-bit server to the 64-bit server.
    Type rm -rf /opt/zimbra/redolog/*
    As root /opt/zimbra/libexec/zmfixperms
    zmcontrol start

    I seem not to be able to send mail on the new server.. From the web client I receive the following error:

    method: SendMsgRequest
    msg: system failure: Unable to send message
    code: service.FAILURE
    detail: soap:Receiver
    trace: com.zimbra.common.service.ServiceException: system failure: Unable to send message ExceptionId:btpool0-3://mail.xxx.xx.xx/service/soap/SendMsgRequest:1280405878925:8a20ce7e41ac6c9b Code:service.FAILURE at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:248) at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:467) at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:309) at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:266) at com.zimbra.cs.service.mail.SendMsg.doSendMessage(S endMsg.java:189) at com.zimbra.cs.service.mail.SendMsg.handle(SendMsg. java:150) at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:420) at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:274) at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:158) at com.zimbra.soap.SoapServlet.doWork(SoapServlet.jav a:291) at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:212) at javax.servlet.http.HttpServlet.service(HttpServlet .java:727) at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:181) at javax.servlet.http.HttpServlet.service(HttpServlet .java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1166) at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(Set HeaderFilter.java:79) at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1157) at org.mortbay.servlet.UserAgentFilter.doFilter(UserA gentFilter.java:81) at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter .java:132) at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:418) at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152) at org.mortbay.jetty.handler.rewrite.RewriteHandler.h andle(RewriteHandler.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152) at org.mortbay.jetty.handler.DebugHandler.handle(Debu gHandler.java:77) at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:543) at org.mortbay.jetty.HttpConnection$RequestHandler.co ntent(HttpConnection.java:939) at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:755) at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:405) at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:409) at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:451) Caused by: java.io.FileNotFoundException: /opt/zimbra/store/incoming/1280403789552-5.msg (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:17 9) at java.io.FileOutputStream.(FileOutputStream.java:13 1) at com.zimbra.cs.store.BlobBuilder.init(BlobBuilder.j ava:87) at com.zimbra.cs.store.file.FileBlobStore.storeIncomi ng(FileBlobStore.java:84) at com.zimbra.cs.store.StoreManager.storeIncoming(Sto reManager.java:86) at com.zimbra.cs.mailbox.Mailbox.addMessage(Mailbox.j ava:4358) at com.zimbra.cs.mailbox.Mailbox.addMessage(Mailbox.j ava:4303) at com.zimbra.cs.mailbox.Mailbox.addMessage(Mailbox.j ava:4240) at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:384) ... 39 more
    request:

    Body: {
    SendMsgRequest: {
    _jsns: "urn:zimbraMail",
    m: {
    e: [
    0: {
    a: "johan.radyn@xxx.xx.xx",
    p: "Johan Radyn",
    t: "t"
    },
    1: {
    a: "johan.radyn@xxx.xx.xx",
    p: "Johan Radyn",
    t: "f"
    }
    ],
    idnt: "0ffe449a-aada-4c7b-8057-36253fc52cd9",
    mp: [
    0: {
    content: {
    _content: "test mail"
    },
    ct: "text/plain"
    }
    ],
    su: {
    _content: "test mail"
    }
    },
    suid: 1280405878943
    }
    },
    Header: {
    context: {
    _jsns: "urn:zimbra",
    account: {
    _content: "johan.radyn@xxx.xx.xx",
    by: "name"
    },
    authToken: "(removed)",
    session: {
    _content: 116,
    id: 116
    },
    userAgent: {
    name: "ZimbraWebClient - FF3.0 (Win)",
    version: "6.0.7_GA_2473.UBUNTU8_64"
    }
    }
    }



    Any help or suggestions welcome please..

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    Are you absolutely certain your DNS A & MX records plus your hosts file are correct? Let's make sure, go to the 'Verify....' section of the Split DNS article and post the information asked for in that section of the article.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    johan.radyn is offline Junior Member
    Join Date
    Feb 2009
    Location
    Stellenbosch, South Africa
    Posts
    7
    Rep Power
    6

    Default

    I believe this is all the information the 'Verify ..' section asks for me to post...

    johanradyn@mail:~$ dig mydomain.co.za mx

    ; <<>> DiG 9.4.2-P2.1 <<>> mydomain.co.za mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37504
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;mydomain.co.za. IN MX

    ;; ANSWER SECTION:
    mydomain.co.za. 604800 IN MX 10 mail.mydomain.co.za.

    ;; AUTHORITY SECTION:
    mydomain.co.za. 604800 IN NS mail.mydomain.co.za.

    ;; ADDITIONAL SECTION:
    mail.mydomain.co.za. 604800 IN A 192.168.100.7

    ;; Query time: 15 msec
    ;; SERVER: 192.168.100.7#53(192.168.100.7)
    ;; WHEN: Thu Jul 29 14:54:51 2010
    ;; MSG SIZE rcvd: 78

    __________________________________________________ _______________

    johanradyn@mail:~$ dig mydomain.co.za any

    ; <<>> DiG 9.4.2-P2.1 <<>> mydomain.co.za any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37607
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;mydomain.co.za. IN ANY

    ;; ANSWER SECTION:
    mydomain.co.za. 604800 IN SOA mail.mydomain.co.za. johanradyn.mydomain.co.za. 2010012801 604800 86400 2419200 604800
    mydomain.co.za. 604800 IN NS mail.mydomain.co.za.
    mydomain.co.za. 604800 IN MX 10 mail.mydomain.co.za.
    mydomain.co.za. 604800 IN A 192.168.100.7

    ;; ADDITIONAL SECTION:
    mail.mydomain.co.za. 604800 IN A 192.168.100.7

    ;; Query time: 0 msec
    ;; SERVER: 192.168.100.7#53(192.168.100.7)
    ;; WHEN: Thu Jul 29 14:56:27 2010
    ;; MSG SIZE rcvd: 141

    __________________________________________________ _______________
    johanradyn@mail:~$ host `hostname`
    mail.mydomain.co.za has address 192.168.100.7

    johanradyn@mail:~$ cat /etc/resolv.conf
    nameserver 192.168.100.7
    search mydomain.co.za

    johanradyn@mail:~$ cat /etc/hosts
    127.0.0.1 localhost
    192.168.100.7 mail.mydomain.co.za mail

    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    Your hosts file is incorrect, the following line:

    Code:
    127.0.0.1 localhost
    should look like this:

    Code:
    127.0.0.1 localhost.localdomain localhost
    Make that change, reboot the server (although that shouldn't, strictly speaking, be necessary) and see if that fixes the problem.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    johan.radyn is offline Junior Member
    Join Date
    Feb 2009
    Location
    Stellenbosch, South Africa
    Posts
    7
    Rep Power
    6

    Default

    I found my problem.. /opt/zimbra/store also needs to be owned by zimbra.zimbra (/opt/zimbra/libexec/zmfixperms is not sufficient). After changing the ownership of my whole /opt/zimbra directory to zimbra.zimbra and restarting all my zimbra services, my 64 bit server now runs successfully.

    Thank you very much for the help.

    Regards

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Recover the mail after the crash HDD
    By MrSnaKe in forum Administrators
    Replies: 3
    Last Post: 12-02-2009, 04:38 AM
  2. Zimbra spam system
    By rajahd in forum Administrators
    Replies: 9
    Last Post: 04-16-2008, 07:25 PM
  3. Cleanup after many upgrades
    By tobru in forum Installation
    Replies: 1
    Last Post: 12-23-2007, 09:21 AM
  4. dspam logrotate errors
    By michaeln in forum Users
    Replies: 7
    Last Post: 02-19-2007, 12:45 PM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 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
  •