Results 1 to 7 of 7

Thread: MIgration to another machine failed, zimbra not working at all

  1. #1
    mtanzer is offline Active Member
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    40
    Rep Power
    8

    Default MIgration to another machine failed, zimbra not working at all

    Hi all, I am dealing with an urgent Problem:

    I had do move zimbra 5.0.23 (Open Source) from Ubuntu 6 to Ubuntu 8. I followed the instructions from » Zimbra :: Blog. After moving the data to /opt an ./install.sh works without errors, zimbra starts:

    Code:
    zimbra@zimbra:~$ zmcontrol status
    Unable to determine enabled services from ldap.
    Enabled services read from cache. Service list may be inaccurate.
    Host zimbra.zummartinsepp.at
    	antispam                Running
    	antivirus               Running
    	ldap                    Running
    	logger                  Running
    	mailbox                 Running
    	mta                     Running
    	snmp                    Running
    	spell                   Running
    	stats                   Running
    /var/log/mail.log is full of errors:
    HTML Code:
    May  3 05:09:28 zimbra zmmailboxdmgr[9474]: status requested
    May  3 05:09:28 zimbra zmmailboxdmgr[9474]: file /opt/zimbra/log/zmmailboxd_manager.pid does not exist
    May  3 05:09:28 zimbra zmmailboxdmgr[9474]: assuming no other instance is running
    May  3 05:09:28 zimbra zmmailboxdmgr[9474]: file /opt/zimbra/log/zmmailboxd.pid does not exist
    May  3 05:09:28 zimbra zmmailboxdmgr[9474]: assuming no other instance is running
    May  3 05:09:28 zimbra zmmailboxdmgr[9474]: no manager process is running
    May  3 05:20:22 zimbra postfix/proxymap[9588]: error: dict_ldap_connect: Unable to set STARTTLS: -11: Connect error
    May  3 05:20:22 zimbra last message repeated 2 times
    May  3 05:20:22 zimbra postfix/trivial-rewrite[9593]: fatal: proxy:ldap:/opt/zimbra/conf/ldap-vad.cf(0,lock|fold_fix): table lookup problem
    May  3 05:20:23 zimbra postfix/smtpd[9587]: warning: problem talking to service rewrite: Connection reset by peer
    May  3 05:20:23 zimbra postfix/master[7798]: warning: process /opt/zimbra/postfix/libexec/trivial-rewrite pid 9593 exit status 1
    May  3 05:20:23 zimbra postfix/smtpd[9590]: warning: problem talking to service rewrite: Connection reset by peer
    Connecting with the browser shows the apache default site "It works!"
    zmcontrol stop or /etc/init.d/zimbra stop does is without any effect:


    HTML Code:
    zimbra@zimbra:~$ zmcontrol stop
    Host zimbra.zummartinsepp.at
    	Stopping stats...Terminated
    zimbra@zimbra:~$ zmcontrol status
    Unable to determine enabled services from ldap.
    Enabled services read from cache. Service list may be inaccurate.
    Host zimbra.zummartinsepp.at
    	antispam                Running
    	antivirus               Running
    	ldap                    Running
    	logger                  Running
    	mailbox                 Running
    	mta                     Running
    	snmp                    Running
    	spell                   Running
    	stats                   Running
    zimbra@zimbra:~$ 
    I tried to upgrade to a higher verision, but this fails.

    The customer is at the moment without mailsystem, please help
    Last edited by mtanzer; 05-02-2011 at 11:23 PM.

  2. #2
    mtanzer is offline Active Member
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    40
    Rep Power
    8

    Default How do I migrate broken zimbra to new installation?

    As postet here that an old zimbra installation broke - unfortonately no one was able to help.

    I set up an new system. How can I convert the old mdir to the new installation? LDAP starts, IMAP ist not working.

    thx

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    Quote Originally Posted by mtanzer View Post
    As postet here that an old zimbra installation broke - unfortonately no one was able to help.
    You'd be far better fixing that install.

    I set up an new system. How can I convert the old mdir to the new installation? LDAP starts, IMAP ist not working.[/QUOTE]Exactly the same as you would in your other thread. You really ought to give exact details of what steps you've taken to move to another server and whether it's 32bit to 64bit etc.

    Did you try some of the solutions in the forums: site:zimbra.com +"postfix/trivial-rewrite" +"fatal: proxy:ldap:/opt/zimbra/conf/ldap-vad." +solved - Yahoo! Search Results

    I'll merge this with your other thread as it's the same topic.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    mtanzer is offline Active Member
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    40
    Rep Power
    8

    Default

    In fact my problem is older. I was stuck to 5.0.23 because an upgrade failed long time ago: Upgrade from 5.0.23 to 5.0.24 fails (Open Source)

    I was not able to solve this problem. Now trying to move to another machine (./install.sh -s, copying the data and ./install of the same version) also failed. I have all the data on the old machine, I am not able to fix the 5.0.23 install.

    Thiis is the only output I get:
    Code:
    Mon May  9 13:00:48 2011 Upgrading from 5.0.23_GA_3242 to 5.0.24_GA_3356
    Mon May  9 13:00:49 2011 Stopping zimbra services
    Mon May  9 13:00:52 2011 Stop failed - exiting
    Mon May  9 13:00:52 2011 UPGRADE FAILED - exiting

    martin

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    Quote Originally Posted by mtanzer View Post
    In fact my problem is older. I was stuck to 5.0.23 because an upgrade failed long time ago: Upgrade from 5.0.23 to 5.0.24 fails (Open Source)
    The only apparent problem with this install was the fact there was a stray .pid file around when it tried to restart that service, after staring zimbra manually you were able to see all the services running.

    Quote Originally Posted by mtanzer View Post
    I was not able to solve this problem. Now trying to move to another machine (./install.sh -s, copying the data and ./install of the same version) also failed. I have all the data on the old machine, I am not able to fix the 5.0.23 install.

    Thiis is the only output I get:
    Code:
    Mon May  9 13:00:48 2011 Upgrading from 5.0.23_GA_3242 to 5.0.24_GA_3356
    Mon May  9 13:00:49 2011 Stopping zimbra services
    Mon May  9 13:00:52 2011 Stop failed - exiting
    Mon May  9 13:00:52 2011 UPGRADE FAILED - exiting
    This would appear to be the same problem, what happens if you try and restart Zimbra? See if there's also a stray .pid by doing the following (before you do the restart):
    Code:
    rm /opt/zimbra/zmstat/pid/zmstat-*.pid
    Do you see any other errors in the install log file? Why are you not moving to a more recent version of Zimbra than the one you're trying to install?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    mtanzer is offline Active Member
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    40
    Rep Power
    8

    Default

    Thank you for your help!

    I would love to upgrade to a recent version, but all my trys to higher versions failed. For some reason the server startet, so I stuck to this version. But now it ist dead :-(

    I recieve no errors:


    Code:
    The system will be modified.  Continue? [N] y
    
    Shutting down zimbra mail
    Terminated

    in /tmp there are 2 files created:

    Code:
    root@zimbra:/usr/src/zcs-5.0.24_GA_3356.UBUNTU6.20100629143641# ls -l /tmp/
    total 8
    drwxr-x--- 2 root   root     6 May  9 15:14 hsperfdata_root
    drwxr-x--- 2 zimbra zimbra   6 May  9 15:14 hsperfdata_zimbra
    -rw------- 1 root   root   418 May  9 15:14 install.log.5519
    -rw-r----- 1 zimbra zimbra 194 May  9 15:14 zmcontrol.out.yFDhL
    And this is the output:

    Code:
    root@zimbra:/usr/src/zcs-5.0.24_GA_3356.UBUNTU6.20100629143641# cat /tmp/install.log.5519
    COMMAND: zmlocalconfig -s | sed -e "s/ = \(.*\)/=\'\1\'/" > /opt/zimbra/.saveconfig/config.save
    COMMAND: zmcontrol shutdown
    Host zimbra.zummartinsepp.at
    	Stopping stats...Done
    	Stopping mta...Done
    	Stopping spell...Done
    	Stopping snmp...Done
    	Stopping archiving...Done
    	Stopping antivirus...Done
    	Stopping antispam...Done
    	Stopping imapproxy...Done
    	Stopping mailbox...
    Session terminated, killing shell... ...killed.
    Code:
    root@zimbra:/usr/src/zcs-5.0.24_GA_3356.UBUNTU6.20100629143641# cat /tmp/zmcontrol.out.yFDhL
    Stopping zmmtaconfig...zmmtaconfig is not running.
    Stopping mailboxd.../opt/zimbra/bin/zmmailboxdctl: line 76:  6425 Quit                    sudo ${zimbra_home}/libexec/zmmailboxdmgr threaddump
    root@zimbra:/usr/src/zcs-5.0.24_GA_3356.UBUNTU6.20100629143641#
    martin

  7. #7
    mtanzer is offline Active Member
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    40
    Rep Power
    8

    Default

    I forgot: The running behaviour is strange.

    Errors starting:

    Code:
    zimbra@zimbra:~$ zmcontrol start
    Host zimbra.zummartinsepp.at
    	Starting ldap...Done.
    	Starting logger...Done.
    	Starting mailbox...FAILED
    Starting zmmtaconfig...failed.
    Starting mysqld...done.
    mailboxd already running.
    
    
    	Starting antispam...Done.
    	Starting antivirus...Done.
    	Starting snmp...Done.
    	Starting spell...Done.
    	Starting mta...FAILED
    Starting zmmtaconfig...failed.
    zmmtaconfigctl failed to start
    Starting saslauthd...done.
    
    
    	Starting stats...Done.

    Zimbra pretends to run without errors:
    Code:
    zimbra@zimbra:~$ zmcontrol status
    Host zimbra.zummartinsepp.at
    	antispam                Running
    	antivirus               Running
    	ldap                    Running
    	logger                  Running
    	mailbox                 Running
    	mta                     Running
    	snmp                    Running
    	spell                   Running
    	stats                   Running

    The netstat output ist strange. No Ports 80, 443, 143, 7071, etc. Java processes are invisible:

    Code:
    root@zimbra:/usr/src/zcs-5.0.24_GA_3356.UBUNTU6.20100629143641# netstat -ltnp
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
    tcp        0      0 0.0.0.0:7780            0.0.0.0:*               LISTEN     9086/httpd          
    tcp        0      0 192.168.0.15:389        0.0.0.0:*               LISTEN     7452/slapd          
    tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN     8937/amavisd (maste 
    tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN     9774/master         
    tcp        0      0 127.0.0.1:7306          0.0.0.0:*               LISTEN     8075/mysqld         
    tcp        0      0 127.0.0.1:7307          0.0.0.0:*               LISTEN     7818/mysqld         
    tcp        0      0 0.0.0.0:3310            0.0.0.0:*               LISTEN     9068/clamd          
    tcp        0      0 0.0.0.0:465             0.0.0.0:*               LISTEN     9774/master         
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     5260/sshd           
    tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN     9774/master         
    root@zimbra:/usr/src/zcs-5.0.24_GA_3356.UBUNTU6.20100629143641#
    It would be enough to get IMAP up to gather the old mai from the fresh installation...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 02-13-2013, 02:36 AM
  2. Did I miss something? (Zimbra GA 6.0.8 on Ubuntu 10.04)
    By vpetersson in forum Installation
    Replies: 2
    Last Post: 10-26-2010, 06:29 AM
  3. /tmp filling
    By Nutz in forum Administrators
    Replies: 8
    Last Post: 02-22-2008, 02:00 AM
  4. Major Issue - 5.0RC2 NE to 5.0GA NE failed
    By DougWare in forum Installation
    Replies: 7
    Last Post: 01-06-2008, 09:56 PM
  5. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 11:34 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
  •