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

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 05-02-2011, 10:37 PM
Active Member
 
Posts: 35
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..
Reply With Quote
  #2 (permalink)  
Old 05-09-2011, 01:38 AM
Active Member
 
Posts: 35
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
Reply With Quote
  #3 (permalink)  
Old 05-09-2011, 03:42 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
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
Reply With Quote
  #4 (permalink)  
Old 05-09-2011, 04:04 AM
Active Member
 
Posts: 35
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
Reply With Quote
  #5 (permalink)  
Old 05-09-2011, 05:19 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
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
Reply With Quote
  #6 (permalink)  
Old 05-09-2011, 06:21 AM
Active Member
 
Posts: 35
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
Reply With Quote
  #7 (permalink)  
Old 05-09-2011, 06:31 AM
Active Member
 
Posts: 35
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...
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.