[SOLVED] Zimbra 6 -> 7 - Zimbra does not know its own virtual hosts

Ask questions about your setup or get help installing ZCS server (ZD section below).
pnunn
Posts: 10
Joined: Sat Sep 13, 2014 1:23 am

[SOLVED] Zimbra 6 -> 7 - Zimbra does not know its own virtual hosts

Post by pnunn »

Thankyou... fixed my install too... the power of backups :)
holunde
Posts: 19
Joined: Fri Sep 12, 2014 10:37 pm

[SOLVED] Zimbra 6 -> 7 - Zimbra does not know its own virtual hosts

Post by holunde »

Well, I can confirm most of the above.

I'm running Zimbra in a production-environment with small ressources and only about 200 users. Without a test-system I'm forced to do the upgrades at night and hope for the best.

Upgrading from 6.0.10 to 7 broke the server as described above, but I couldn't nail down the error, so I had to move back to 6.0.10 using rsync.

Tonight I tried again with help of all your feedback, and indeed the problem is the postfix main.cf file being empty after upgrading. Using the old main.cf

with 644 zimbra:zimbra permissions solved the problem.

Otherwise the 6->7 upgrade was extremely smooth, and I applause the Zimbra guys for that.
But still, this seems to be a major bug that could harm an otherwise correctly configured system. How did this not get caught in the test-phase?
cwall64
Posts: 22
Joined: Sat Sep 13, 2014 12:34 am

[SOLVED] Zimbra 6 -> 7 - Zimbra does not know its own virtual hosts

Post by cwall64 »

Interestingly enough, I had two servers on 6.0.10 (and Ubuntu 8.04). I performed the Ubuntu upgrade first, as suggested in these forums, then the Zimbra upgrade, and one server (most used/taxed one) had a blank main.cf, the other was fine... Running the failed postconf command from the logs solved my issue.
liveaverage
Posts: 32
Joined: Fri Sep 12, 2014 11:27 pm

[SOLVED] Zimbra 6 -> 7 - Zimbra does not know its own virtual hosts

Post by liveaverage »

Just wanted to note that I did not experience this issue upgrading from 6.0.8 to 7.0 on Ubuntu 8.04 LTS 64-bit. I did make a quick copy of my main.cf just-in-case, but the permissions and contents of the file were well-maintained through the upgrade process. I had this thread bookmarked in the event of a problem :)
ekkas
Advanced member
Advanced member
Posts: 112
Joined: Sat Sep 13, 2014 1:03 am

[SOLVED] Zimbra 6 -> 7 - Zimbra does not know its own virtual hosts

Post by ekkas »

So which is the best workaround?
A)"If you hit the issue with postfix, do *not* delete main.cf. Instead, I suggest examining the zmconfigd.log file and running the postconf command it logs from the command line as a workaround."
or
B) Copy main.cf from backup
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

[SOLVED] Zimbra 6 -> 7 - Zimbra does not know its own virtual hosts

Post by phoenix »

[quote user="ekkas"]So which is the best workaround?[/QUOTE]Either one is OK.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
fyd
Outstanding Member
Outstanding Member
Posts: 356
Joined: Sat Sep 13, 2014 1:36 am

[SOLVED] Zimbra 6 -> 7 - Zimbra does not know its own virtual hosts

Post by fyd »

[quote user="liveaverage"] I had this thread bookmarked in the event of a problem :)[/QUOTE]
Yeah me too. ;) nice work.
I am guessing if this is hit only with upgrades from 6.0.10 to 7.0. Because I read some others had safe upgrade from 6.0.9, and most of them who reported were using 6.0.10.
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

[SOLVED] Zimbra 6 -> 7 - Zimbra does not know its own virtual hosts

Post by phoenix »

[quote user="fyd"]I am guessing if this is hit only with upgrades from 6.0.10 to 7.0.[/QUOTE]It only affects upgrades to ZCS 7 and it doesn't affect everyone.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
fyd
Outstanding Member
Outstanding Member
Posts: 356
Joined: Sat Sep 13, 2014 1:36 am

[SOLVED] Zimbra 6 -> 7 - Zimbra does not know its own virtual hosts

Post by fyd »

[quote user="10330phoenix"]It only affects upgrades to ZCS 7 and it doesn't affect everyone.[/QUOTE]
Yeah, I meant 'only with 6.0.10 to 7.0' and not with 6.0.8/6.0.9 to 7.0. Not sure though, just a guess after reading some.
MNPF
Posts: 12
Joined: Sat Sep 13, 2014 12:41 am

[SOLVED] Zimbra 6 -> 7 - Zimbra does not know its own virtual hosts

Post by MNPF »

Had the same problem on CentOS release 5.5 (Final) 32bit upgrading from 6.0.10_GA_2692.RHEL5_20110127201734 CentOS5 FOSS edition 32bit to 7.0.0_GA_3077.RHEL5_20110127201734 CentOS5 FOSS edition 32 bit.
Did the workarround of main.cf and its working fine now.
Post Reply