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
  #11 (permalink)  
Old 11-15-2009, 07:55 AM
Elite Member
 
Posts: 380
Default

Contents of /opt/zimbra/data/ldap:

Code:
drwxr-xr-x 3 zimbra zimbra   4096 Nov 14 21:02 config
drwxr-xr-x 4 zimbra zimbra   4096 Nov 14 21:01 hdb
-rw-r----- 1 zimbra zimbra      0 Nov 14 22:14 ldap.bak
-rw-r----- 1 zimbra zimbra 240369 Nov 14 21:01 ldap.bak.20091114210106
-rw-r----- 1 zimbra zimbra      0 Nov 14 21:50 ldap.bak.20091114215047
-rw-r----- 1 zimbra zimbra      0 Nov 14 22:14 ldap.bak.20091114221408
I suspect that the failure there is a code bug in the update script if you have to run it more than once; I copied the file with size to the basename and got past the problem.

I'm all the way though zmsetup to starting servers; no further errors...
__________________
Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - IAAMA
Try to Ask Questions The Smart Way -- you'll get better answers.

Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
If you [SOLVE] something, please tell everyone how for the archives
And, please... read what people write, and answer the questions they asked, not the ones they didn't.

Last edited by Baylink; 11-15-2009 at 08:01 AM..
Reply With Quote
  #12 (permalink)  
Old 11-16-2009, 10:38 AM
Elite Member
 
Posts: 380
Default

And, although my convertd isn't starting, everything else passed my tests and I released it to production around 1500 EST Sunday.

Hot spots:

0) If you need --platform-override, don't forget that you do.

1) For some reason, the libphp5.so that comes in the packaged apache won't run properly on CentOS; replacing it with the stock lib from the distribution (which is 3MB instead of the 15MB of the one that comes with Zimbra, interestingly), fixes the problem, but the problem *happens* after the upgrade install.sh has called zmsetup.pl, so you have to rerun *only* zmsetup manually after fixing it. (This is an SELinux interaction on distros that install it; see the next comment on this thread.)

2) If your upgrade breaks, you may have trouble with it finding a valid LDAP configuration -- which it will *call* a "Valid backup". Don't be fooled. ;-)

3) The release notes will remind you that it's a good idea to do a dist-upgrade before you start the Zimbra upgrade. In fact, you can do it after; I did, and it proved to solve at least one problem which I can only describe as "everything's whacky". :-)

4) I did find that I had to run postfix's "postmap transport" by hand; the symptom is that when you try to hand-telnet to 25 and send a test message, MAIL FROM: will elicit no status reply at all.

5) Backups are good. I had a pair of 500GB RAID1 partitions on this mail server, on a mirrored pair of Seagate 1TB SATA drives. One had my (265GB!) Z5 install on it, and the other one was empty.

I used rsync -avzH -e ssh --progress /appl/store1/zimbra518/ /appl/store2/zimbra603 to live-copy one to the other (which took over 90 minutes *just to set up* -- 7 million files or so -- and another 8 to 10 hours to run on the first pass; the second pass, after final shutdown on 5.0.18 took the same 90 to setup, but then about 90 more minutes to finish the cleanup copies).

My "/opt/zimbra" was a symlink to "/appl/store1/zimbra5018"; once my copy was done and I was ready to upgrade, I renamed that to /opt/zimbra5, and made a new /opt/zimbra symlink that pointed to /appl/store2/zimbra602.

At that point, *any time in the upgrade cycle*, my backout procedure consisted of...

1) Change the symlink back
2) Start Zimbra

That's my idea of a clean, fast backout, and easily justifies the time spent setting up for it -- especially since rsync allows you to do the *big* copy while still online; thanks to whomever noted that on the wiki whence I stole it. [ Late update: that's an AJCody trick; he has *lots* of good inside tricks on the wiki; go look. ]

When I had to dist-upgrade, I made an image to our fileserver using clonezilla (which, if you don't know about it, go find out. Now. I'll wait), and if for some reason, I had to back out after that and *5.0* wouldn't run post-OS-upgrade, I could then back out the OS upgrade as well. That was made easier because on this server, everything was on the root filesystem; multiple filesystems make it a touch more complicated... but having your entire Zimbra install over on it's own filesystem makes everything So Much Easier.

The only backout that I can *not* easily manage is "after it's been running for a few days", and as has been discussed before, that's very difficult to accomplish in any case: you could tee-off incoming mail to a spool for replay, but getting into the right place in the pipeline for intra-domain messages is much more difficult -- and they wouldn't appear in people's sent folders anyway. [ Late addition: for more, see (and vote for :-) Bug 43741 – RFE: Add 'replay' teeing facility to extend back-out support ]

But, as is our slogan here at work, "it is what it is". I'm not big enough to have a test machine, and it's very difficult to acceptance test anything as complicated as Zimbra anyway.

So far, so good; no one's complained, and it seems a bit faster running ZWC, too.
__________________
Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - IAAMA
Try to Ask Questions The Smart Way -- you'll get better answers.

Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
If you [SOLVE] something, please tell everyone how for the archives
And, please... read what people write, and answer the questions they asked, not the ones they didn't.

Last edited by Baylink; 07-29-2011 at 10:24 AM.. Reason: Credit AJC
Reply With Quote
  #13 (permalink)  
Old 11-17-2009, 08:56 AM
Elite Member
 
Posts: 380
Default

As it turns out, convertd was failing to start because SELinux was in 'enforcing' mode. Running

# /usr/sbin/setenforce 0

fixes that right up. This is probably a Zimbra bug. Off to look for it.

[ late addition: Yep, an *old* one: Bug 16407 – Support SE Linux (selinux) ]
__________________
Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - IAAMA
Try to Ask Questions The Smart Way -- you'll get better answers.

Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
If you [SOLVE] something, please tell everyone how for the archives
And, please... read what people write, and answer the questions they asked, not the ones they didn't.

Last edited by Baylink; 04-19-2010 at 08:33 AM..
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.