Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
  #1 (permalink)  
Old 06-03-2007, 06:19 PM
JustinHarlow JustinHarlow is offline
Senior Member
 
Join Date: Jun 2007
Location: Holmes Beach FL
ZCS Version: Release 4.5.6_GA_1023.MACOSX, Zimbra, Inc.
Posts: 32
JustinHarlow is on a distinguished road
Question 4.5 upgrade woes on a mac server

----start of edit---
*Note was originally in Upgrading Zimbra
So it is assumed you have not changed os's on the zimbra box.
But this is a different person's upgrade; they had unbuntu, whereas you are on a mac server, so moved to this new thread.
---end of edit---

I am on a Mac (10.4.9) and had 4.0.something running fine. Finally decided to take the plunge and upgrade to 4.5. Everything seemed normal, but after the upgrade, when I go to the admin page or a user signin page, I get the splash screen, but no login/password boxes.

Not being one to fool around, I figured I would uninstall and just do a clean install of 4.5. Unfortunately, when I do that, the install script gives me this:

G4-Server:/opt root# /opt/zimbra/libexec/zmsetup.pl
Operations logged to /tmp/zmsetup.log.5104
Checking java version...1.5 found
Starting ldap...Done
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
Setting defaults...Done
Setting defaults from existing config...Warning: null valued key 'mysql_logger_root_password'
Upgrading from to 4.5.5_GA_838
Stopping zimbra services
Stop failed - exiting
UPGRADE FAILED - exiting
G4-Server:/opt root#

No clue what to do from here. Anyone know the magic?

Thanks...

JEH

Last edited by mmorse : 06-05-2007 at 10:51 AM. Reason: -made into new thread (mac server and not unbuntu and not really even same situation)
Reply With Quote
  #2 (permalink)  
Old 06-03-2007, 06:23 PM
jholder's Avatar
jholder jholder is offline
Zimbra Employee
 
Join Date: Oct 2005
Location: San Mateo, CA
ZCS Version: 5.0.5 RHEL4 64-bit GA
Posts: 5,409
jholder is on a distinguished road
Send a message via Yahoo to jholder
Default

Hi Justin,
Welcome to the forums!

Do a
cat /etc/hosts

Is there an entry for your host (besides localhost)? If not, please add it, and try again.

john
__________________
Reply With Quote
  #3 (permalink)  
Old 06-03-2007, 06:49 PM
JustinHarlow JustinHarlow is offline
Senior Member
 
Join Date: Jun 2007
Location: Holmes Beach FL
ZCS Version: Release 4.5.6_GA_1023.MACOSX, Zimbra, Inc.
Posts: 32
JustinHarlow is on a distinguished road
Default

Quote:
Originally Posted by jholder View Post
Hi Justin,
Welcome to the forums!

Do a
cat /etc/hosts

Is there an entry for your host (besides localhost)? If not, please add it, and try again.

john
Not quite sure what to do here. I am on a dynamic DNS setup, so anything I put in /etc/hosts with an explicit IP address is probably going to be bogus in a few days or weeks. The old version worked fine; is there something new going on here that I need to know about?

It looks to me as if the uninstall didn't erase all vestiges of the old version, since the mpkg installer tells me that it is doing an upgrade, not a clean install. I didn't have any important data in the old installation; it was just a trial to see how things worked, so I can blow everything away with no backups or whatever. How do I totally clean house and start over with the new version?

Thanks for your quick reply!

JEH
Reply With Quote
  #4 (permalink)  
Old 06-03-2007, 06:54 PM
jholder's Avatar
jholder jholder is offline
Zimbra Employee
 
Join Date: Oct 2005
Location: San Mateo, CA
ZCS Version: 5.0.5 RHEL4 64-bit GA
Posts: 5,409
jholder is on a distinguished road
Send a message via Yahoo to jholder
Default

4.5 is a lot more hosts file relient than previous versions.

It doesn't matter if you have Natting going on or anything. You can always modify it at a later date if you need to.

The hosts file need to be able to point your machine's hostname to a local/reachable ip address.

john
__________________
Reply With Quote
  #5 (permalink)  
Old 06-03-2007, 07:01 PM
JustinHarlow JustinHarlow is offline
Senior Member
 
Join Date: Jun 2007
Location: Holmes Beach FL
ZCS Version: Release 4.5.6_GA_1023.MACOSX, Zimbra, Inc.
Posts: 32
JustinHarlow is on a distinguished road
Default

Quote:
Originally Posted by jholder View Post
4.5 is a lot more hosts file relient than previous versions.

It doesn't matter if you have Natting going on or anything. You can always modify it at a later date if you need to.

The hosts file need to be able to point your machine's hostname to a local/reachable ip address.

john
OK, so I got my current IP address and put it in /etc/hosts as follows:

65.35.107.38 harlow.homeip.net

Is that the right way to do it?

Thanks
JEH
Reply With Quote
  #6 (permalink)  
Old 06-03-2007, 07:03 PM
jholder's Avatar
jholder jholder is offline
Zimbra Employee
 
Join Date: Oct 2005
Location: San Mateo, CA
ZCS Version: 5.0.5 RHEL4 64-bit GA
Posts: 5,409
jholder is on a distinguished road
Send a message via Yahoo to jholder
Default

Quote:
Originally Posted by JustinHarlow View Post
OK, so I got my current IP address and put it in /etc/hosts as follows:

65.35.107.38 harlow.homeip.net

Is that the right way to do it?

Thanks
JEH
As long ad 65.35.107.38 is resolvable by the machine to point to itself (if that makes sense

Your hosts file should say
127.0.0.1 localhost.localdomain localhost
65.35.107.38 harlow.homeip.net harlow
__________________
Reply With Quote
  #7 (permalink)  
Old 06-03-2007, 07:17 PM
JustinHarlow JustinHarlow is offline
Senior Member
 
Join Date: Jun 2007
Location: Holmes Beach FL
ZCS Version: Release 4.5.6_GA_1023.MACOSX, Zimbra, Inc.
Posts: 32
JustinHarlow is on a distinguished road
Default

Quote:
Originally Posted by jholder View Post
As long ad 65.35.107.38 is resolvable by the machine to point to itself (if that makes sense

Your hosts file should say
127.0.0.1 localhost.localdomain localhost
65.35.107.38 harlow.homeip.net harlow
Yup, that's what it says. I just tried it again and got this:

G4-Server:/opt/zimbra/libexec/installer root# /opt/zimbra/libexec/zmsetup.pl
Operations logged to /tmp/zmsetup.log.9119
Checking java version...1.5 found
Starting ldap...Done
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
Setting defaults...Done
Setting defaults from existing config...Warning: null valued key 'mysql_logger_root_password'
Upgrading from to 4.5.5_GA_838
Stopping zimbra services
Stop failed - exiting
UPGRADE FAILED - exiting
G4-Server:/opt/zimbra/libexec/installer root#

It stil seems to think it is upgrading, not doing a clean install. How do I wipe the machine clean and start over? I used Spotlight to search fo r"zimbra" and found a fe package receipts, but no config information. Nothing in Library/Application Support either on the system or my userid. But somewhere, it seems to know that there was a previous version installed. Where is that previous config that it seems to see?

JEH
Reply With Quote
  #8 (permalink)  
Old 06-03-2007, 07:21 PM
jholder's Avatar
jholder jholder is offline
Zimbra Employee
 
Join Date: Oct 2005
Location: San Mateo, CA
ZCS Version: 5.0.5 RHEL4 64-bit GA
Posts: 5,409
jholder is on a distinguished road
Send a message via Yahoo to jholder
Default

Take a look here:
Uninstalling Zimbra on Mac OS X (Tiger) - ZimbraWiki
__________________
Reply With Quote
  #9 (permalink)  
Old 06-05-2007, 08:11 AM
JustinHarlow JustinHarlow is offline
Senior Member
 
Join Date: Jun 2007
Location: Holmes Beach FL
ZCS Version: Release 4.5.6_GA_1023.MACOSX, Zimbra, Inc.
Posts: 32
JustinHarlow is on a distinguished road
Default Continuing reinstallation frustrations

Quote:
Originally Posted by jholder View Post
As long ad 65.35.107.38 is resolvable by the machine to point to itself (if that makes sense

Your hosts file should say
127.0.0.1 localhost.localdomain localhost
65.35.107.38 harlow.homeip.net harlow
Sorry I dropped off the radar screen. My day job always interferes...

Since I am behind a local router, it occurred to me that I might ought to be using my local IP address, which happens to be 192.168.1.151, rather than the address assigned externally by my ISP. I modified /etc/hosts accordingly, but it made no difference. I still get the same messages; right after it starts LDAP services, it bails.

Anyway, I tried the whole deal again. I ran install-mac.sh -u, then did a new installation from the .dmg file. It always ends by noting that the upgrade failed, even though I have uninstalled the previous version completely (since it was only a test installation, I even blew away /opt/zimbra (deleted) and /var/mail/zimbra, to try to erase its memory of previous lives). Somewhere in this system, it still has some record of a previous installation, and I suspect that this is the root of my troubles.

I am stumped, but I'd like to get this thing up and running again. Suggestions?

Thanks

Justin Harlow
Reply With Quote
  #10 (permalink)  
Old 06-05-2007, 08:38 AM
phoenix phoenix is offline
Zimbra Employee
 
Join Date: Sep 2005
Location: Vannes, France
Posts: 7,406
phoenix is on a distinguished road
Default

Quote:
Originally Posted by JustinHarlow View Post
I am stumped, but I'd like to get this thing up and running again. Suggestions?
You need a local DNS server with A & MX records to be able to resolve the address of your server. Search the wiki for split DNS.
__________________
Regards


Bill
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade 4.5.4 to 4.5.5 questions dlochart Zimbra Connector for Outlook 11 05-14-2007 02:44 AM
Backup directory deleted during upgrade! dlochart Installation 2 02-25-2007 06:38 AM
4.01 to 4.02 upgrade problem (with solution) criley Migration 2 09-28-2006 11:36 PM
3.1.3OS Upgrade Problem mcevoys Installation 7 06-16-2006 09:47 AM
M1 -> M2 Upgrade Scripts KevinH Announcements 57 12-15-2005 09:10 AM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.0.0