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 08-26-2008, 04:13 AM
Loyal Member
 
Posts: 76
Default [SOLVED] workaround "fix /etc/hosts" during upgrade

Hello,

Just a quick note to those who get this error during upgrade:
ERROR: Installation can not proceeed. Please fix your /etc/hosts file
to contain:...
(as also mentioned here)

your /etc/hosts should not contain other host-ip addresses than your zimbra server (and localhost)
If other addresses are present, upgrade quits with error above.

As I don't know how to modify the relevant line in util/utilfunc.sh ( a perl expression), I simply commented out the other servers in the hosts file before running the upgrade.
Which ran fine. Afterwards I removed the comments.
Reply With Quote
  #2 (permalink)  
Old 08-26-2008, 04:26 AM
Special Member
 
Posts: 133
Default

That is not actually the problem. The problem is if you have entries in your hosts file that are not in the format
"IP FQDN short name"
I can install with loads of entries in the hostfile other than that of the zimbra server.

Last edited by bonoboslr; 08-26-2008 at 04:31 AM..
Reply With Quote
  #3 (permalink)  
Old 08-26-2008, 07:18 AM
Loyal Member
 
Posts: 76
Default

Ok, good to know.
Most other entries in my hosts are indeed simple short names.
Reply With Quote
  #4 (permalink)  
Old 08-26-2008, 06:02 PM
Moderator
 
Posts: 1,027
Default

This is a known issue (nobody really seems to think of it as a bug, but it's certainly a "gotcha"). bonoboslr was correct in the statement that the issue is non-FQDN hosts entries, and your solution of commenting out the offending lines till after the install completes is the correct workaround.

I'm not quite sure why the install script cares what your other hosts entries are, to be honest, but it does!

Unless you want to pursue opening a bug on this, may I mark the thread solved?
__________________
Cheers,

Dan
Reply With Quote
  #5 (permalink)  
Old 08-27-2008, 07:50 AM
Loyal Member
 
Posts: 76
Default

Hi Dan,
T'is too small to make a bug out of it.
consider solved.
regards
glenn
Reply With Quote
  #6 (permalink)  
Old 08-27-2008, 07:55 AM
Elite Member
 
Posts: 380
Default

No it's not.

If the installer is only concerned with whether the format of the '127.0.0.1' entry in /etc/hosts, that's all it should check.

It's a Copious Free Time thing, but if no one else wants to hang the bug, I will.
Reply With Quote
  #7 (permalink)  
Old 08-27-2008, 08:58 AM
Moderator
 
Posts: 1,027
Default

"Copious Free Time" ???? I like the concept but have never encountered it outside the theoretical world! ;{)

Go for it on the bug tho!
__________________
Cheers,

Dan
Reply With Quote
  #8 (permalink)  
Old 08-27-2008, 09:41 AM
Elite Member
 
Posts: 380
Default

"Copious Free Time" is an expression for which no one seems to have been able to find an earlier usage than by Tom Lehrer in his 195...9 song "It Makes A Fellow Proud To Be A Soldier".

The ironic implication, of course, is that the speaker doesn't have *any*...
Reply With Quote
  #9 (permalink)  
Old 08-27-2008, 01:28 PM
Special Member
 
Posts: 133
Default

I think that it is a bug and should be logged as such. Its annoying. Now that I know what the work around is, it doesn't bother me that much - but it I remember ripping my hair out over it.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.