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

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 Display Modes
  #1 (permalink)  
Old 06-03-2007, 07:19 PM
Active Member
 
Posts: 37
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 11: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, 07:23 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
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, 07:49 PM
Active Member
 
Posts: 37
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, 07:54 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
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, 08:01 PM
Active Member
 
Posts: 37
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, 08:03 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
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, 08:17 PM
Active Member
 
Posts: 37
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, 08:21 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

Take a look here:
Uninstalling Zimbra on Mac OS X (Tiger) - ZimbraWiki
Reply With Quote
  #9 (permalink)  
Old 06-05-2007, 09:11 AM
Active Member
 
Posts: 37
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, 09:38 AM
Zimbra Consultant & Moderator
 
Posts: 11,320
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


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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0