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 Search this Thread Display Modes
  #1 (permalink)  
Old 01-23-2008, 05:40 PM
Trained Alumni
 
Posts: 343
Exclamation [SOLVED] Help...My Life is a Country Song and I've Broken My Zimbra :(


It's been that kind of a day...my wife(who is OK) was sideswiped by a kid this morning and my favorite vehicle is probably totaled, this caused one kid to be an hour late to school, the other was home sick, about 5 minutes after the accident I start getting pages from work about a server catastrophe which ended up taking all day to fix when I finally got there, my clothes washer busted in the last 48 hours, there's snow coming through the roof of my fixer-upper I'm working on, AND the Realtor called and we are showing our house on Friday morning so we will have to spend every waking hour until then getting the house ready. I'm surprised my dog didn't die, my house didn't burn down, and my remaining car didn't just give up to spite me. I say all this to tell you....it was not a good day to try upgrading my home ZCS installation.


I'm running ZCS 5.0.0 OSS on my home mail server (CentOS4).

I have a bunch of other CentOS5 servers around in different places that I manage, so tonight when I went to upgrade to ZCS 5.0.1 I just downloaded the RHEL5 version of 5.0.1 instead of the RHEL4 version. Then like a dummy just went through and said (Y) to all the prompts instead of paying attention to what I was doing.

Well it got far enough in the install that all the old RHEL4 packages were uninstalled and new RHEL5 packages were installed....and then it bombed.

"floating point exception" I think was the error.

It was then that I realized the error of my ways. I didn't want to back out because I thought I'd lose my data. So I made a backup of /opt/zimbra (which I did not do the first time...so I can't go back now)....and tried to upgrade to the RHEL4 5.0.1 release. It bombed out before it did anything...again with the "floating point exception".

So now what? Upgrade the OS to CentOS5, try upgrading again and hope for the best? That's going to be no fun.
Reply With Quote
  #2 (permalink)  
Old 01-23-2008, 08:16 PM
Former Zimbran
 
Posts: 5,606
Default

CHEWIE!

Sounds like you had a bad day bud! Well, here's some good news. I don't think it's as bad off as you think. BEFORE YOU DO ANYTHING, MAKE A BACKUP of /opt/zimbra

Then, just do the following:

mv /opt/zimbra /opt/zimbra.backup
/path/to/5/installer/install.sh -u

Download your old version of Zimbra (4.5.x)
Run ./install.sh -s for the 4.5 edition
rm -rf /opt/zimbra
mv /opt/zimbra.backup /opt/zimbra
./install.sh -s for the 4.5 edition again (tell it it's an upgrade)

Try to start it. Let's see what happens
Reply With Quote
  #3 (permalink)  
Old 01-23-2008, 08:18 PM
Former Zimbran
 
Posts: 5,606
Default

BTW, this thread title is so clever and funny, I spit soda on my macbook. (out my nose)

Last edited by jholder; 01-23-2008 at 08:33 PM..
Reply With Quote
  #4 (permalink)  
Old 01-23-2008, 08:35 PM
Former Zimbran
 
Posts: 5,606
Default

Quote:
AND the Realtor called and we are showing our house on Friday morning so we will have to spend every waking hour until then getting the house ready.
I shouldn't be laughing.

There is nothing funny about the housing market.

ha
jh
Reply With Quote
  #5 (permalink)  
Old 01-23-2008, 10:24 PM
Moderator
 
Posts: 6,237
Default

Man that's one heck of a day - hope everything turns out ok!
Sing along in the key of G (most common in guitar) well it flows in my voice anyway if you pause at the right parts

Inspiration is the overplayed YouTube - 8th of November - Music Video (skip exactly the first minute of the guy talking)
If you listen to even a few seconds of the song part before reading the below you'll get it better...

The appropriate title: Help...My Life is a Country Song and I've Broken My Zimbra
--------------------------------------------------------------------------------

It's been one of those days

wish I was a million miles away.

I've been running around all day long,

...just stuck in Blandinsville...


My wife almost died, though she is OK

but I'll definitely need ta buy her a new-car someday.
---
One kid is late, & one's sick at home

my cluster hates symlinks & won't install on a few new nodes.
---
& I need to expand it but tomcat is fried

did I mention the housing market's in a downward slide?

Chorus: been one of those days...


Meanwile westernonline just crashed

& my house is falling down-around my a$$
---
Surprised my dog hasn't died

though my washer's also fried.
---
One house is in construction - realtor needs it in 'production'

with all this going-on I can barely function.

All: One of those days....


On top of it all, I got one big fat error

I had upgraded without a backup & didn't have a prayer.
---
And it didn't take me long

to figure out what I'd missed.

The wrong package had sent me into an abyss.

Chorus: Just one of those days....


But in my darkest hour, not a moment to soon

this might save my world from fill-ing with gloom.
--
Hopefully the right debs will get installed A-OK

though I wont be appalled if my other car stalls later today.
---
Now, if only there were a -s command for every catastrophe

then my life wouldn't be like a country song nominee.

(All)Chorus: Oohhhh, life in Blandinsville... just been one of those days...

(Fade out to end...)


Seriously though Matt, both John & I are here to help ya out - Johns a little far a way, but I'm pretty good with construction -jk

Be doubly sure you got a backup before running -u, rsync & tar should be good A_Simple_Shell_Script_Method - Open Source Edition Backup Procedure - Zimbra :: Wiki

Last edited by mmorse; 01-24-2008 at 06:39 AM.. Reason: spelling & spacing
Reply With Quote
  #6 (permalink)  
Old 01-24-2008, 08:02 AM
Trained Alumni
 
Posts: 343
Default

Quote:
Originally Posted by jholder View Post
BTW, this thread title is so clever and funny, I spit soda on my macbook. (out my nose)
Humor was about the only thing I had left yesterday. Sad to say though...right after I posted that message it got even worse. I just wanted to melt into my chair...so I went to bed early and just ended the misery.

Anyway...I'm going to give this a try during my lunch hour. I'll keep you posted.

Thanks John...

Matt
Reply With Quote
  #7 (permalink)  
Old 01-24-2008, 08:04 AM
Trained Alumni
 
Posts: 343
Default

Quote:
Originally Posted by mmorse View Post
Man that's one heck of a day - hope everything turns out ok!
Sing along in the key of G (most common in guitar) well it flows in my voice anyway if you pause at the right parts


(Fade out to end...)


Seriously though Matt, both John & I are here to help ya out - Johns a little far a way, but I'm pretty good with construction -jk

Be doubly sure you got a backup before running -u, rsync & tar should be good A_Simple_Shell_Script_Method - Open Source Edition Backup Procedure - Zimbra :: Wiki
I think you have too much time on your hands Mike. I'll let you guys know how it goes.

Matt
Reply With Quote
  #8 (permalink)  
Old 01-24-2008, 10:49 AM
Trained Alumni
 
Posts: 343
Default

Quote:
Originally Posted by jholder View Post
CHEWIE!

Sounds like you had a bad day bud! Well, here's some good news. I don't think it's as bad off as you think. BEFORE YOU DO ANYTHING, MAKE A BACKUP of /opt/zimbra

Then, just do the following:

mv /opt/zimbra /opt/zimbra.backup
/path/to/5/installer/install.sh -u

Download your old version of Zimbra (4.5.x)
Run ./install.sh -s for the 4.5 edition
rm -rf /opt/zimbra
mv /opt/zimbra.backup /opt/zimbra
./install.sh -s for the 4.5 edition again (tell it it's an upgrade)

Try to start it. Let's see what happens
Drat...well I almost thought that would work. I got all the way down to your last step and it failed again...

Code:
You appear to be installing packages on a platform different
than the platform for which they were built

This platform is CentOS4
Packages found: zimbra-core-5.0.0_GA_1869.RHEL4-20071218182359.i386.rpm
This may or may not work


Install anyway? [N] y

The system will be modified.  Continue? [N] y

Shutting down zimbra mail

Backing up the ldap database..../util/utilfunc.sh: line 1042:  2678 Floating point exception/opt/zimbra/openldap/sbin/slapcat -f /opt/zimbra/conf/slapd.conf -b '' -l /opt/zimbra/openldap-data/ldap.bak >$tmpfile 2>&1
failed.
Reply With Quote
  #9 (permalink)  
Old 01-24-2008, 11:23 AM
Moderator
 
Posts: 6,237
Default

Let's have a look at that ldap I guess...though double check to make sure you're not sharing any private data before posting (feel free to PM/Email it to John instead).
su - zimbra
cd /opt/zimbra/openldap/sbin/
slapcat -f /opt/zimbra/conf/slapd.conf -l /tmp/ldap.ldif
(or /opt/zimbra/libexec/zmslapcat to /tmp should generate an ldif file as well I believe)
Reply With Quote
  #10 (permalink)  
Old 01-24-2008, 12:03 PM
Trained Alumni
 
Posts: 343
Default

$ ./slapcat -f /opt/zimbra/conf/slapd.conf -l /tmp/ldap.ldif
Floating point exception

That's what I get...

Matt
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.