Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: upgrade woes -made into new thread

  1. #1
    JustinHarlow is offline Active Member
    Join Date
    Jun 2007
    Location
    Holmes Beach FL
    Posts
    44
    Rep Power
    8

    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)

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    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

  3. #3
    JustinHarlow is offline Active Member
    Join Date
    Jun 2007
    Location
    Holmes Beach FL
    Posts
    44
    Rep Power
    8

    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

  4. #4
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    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

  5. #5
    JustinHarlow is offline Active Member
    Join Date
    Jun 2007
    Location
    Holmes Beach FL
    Posts
    44
    Rep Power
    8

    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

  6. #6
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    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

  7. #7
    JustinHarlow is offline Active Member
    Join Date
    Jun 2007
    Location
    Holmes Beach FL
    Posts
    44
    Rep Power
    8

    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

  8. #8
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

  9. #9
    JustinHarlow is offline Active Member
    Join Date
    Jun 2007
    Location
    Holmes Beach FL
    Posts
    44
    Rep Power
    8

    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

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

    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


    Acompli: A new adventure for Co-Founder KevinH.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Upgrade 4.5.4 to 4.5.5 questions
    By dlochart in forum Zimbra Connector for Outlook
    Replies: 11
    Last Post: 05-14-2007, 02:44 AM
  2. Backup directory deleted during upgrade!
    By dlochart in forum Installation
    Replies: 2
    Last Post: 02-25-2007, 07:38 AM
  3. 4.01 to 4.02 upgrade problem (with solution)
    By criley in forum Migration
    Replies: 2
    Last Post: 09-28-2006, 11:36 PM
  4. 3.1.3OS Upgrade Problem
    By mcevoys in forum Installation
    Replies: 7
    Last Post: 06-16-2006, 09:47 AM
  5. M1 -> M2 Upgrade Scripts
    By KevinH in forum Announcements
    Replies: 57
    Last Post: 12-15-2005, 10:10 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
  •