Results 1 to 9 of 9

Thread: [SOLVED] workaround "fix /etc/hosts" during upgrade

  1. #1
    glenndm is offline Loyal Member
    Join Date
    May 2007
    Posts
    98
    Rep Power
    7

    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.

  2. #2
    bonoboslr's Avatar
    bonoboslr is offline Special Member
    Join Date
    Jan 2008
    Location
    Pretoria
    Posts
    133
    Rep Power
    7

    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 03:31 AM.

  3. #3
    glenndm is offline Loyal Member
    Join Date
    May 2007
    Posts
    98
    Rep Power
    7

    Default

    Ok, good to know.
    Most other entries in my hosts are indeed simple short names.

  4. #4
    dwmtractor's Avatar
    dwmtractor is offline Moderator
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    9

    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

  5. #5
    glenndm is offline Loyal Member
    Join Date
    May 2007
    Posts
    98
    Rep Power
    7

    Default

    Hi Dan,
    T'is too small to make a bug out of it.
    consider solved.
    regards
    glenn

  6. #6
    Baylink is offline Elite Member
    Join Date
    Aug 2008
    Location
    St Pete FL USA
    Posts
    392
    Rep Power
    6

    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.

  7. #7
    dwmtractor's Avatar
    dwmtractor is offline Moderator
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    9

    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

  8. #8
    Baylink is offline Elite Member
    Join Date
    Aug 2008
    Location
    St Pete FL USA
    Posts
    392
    Rep Power
    6

    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*...

  9. #9
    bonoboslr's Avatar
    bonoboslr is offline Special Member
    Join Date
    Jan 2008
    Location
    Pretoria
    Posts
    133
    Rep Power
    7

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Please fix your /etc/hosts file...
    By ipguru99 in forum Administrators
    Replies: 24
    Last Post: 07-02-2012, 08:34 PM
  2. [SOLVED] Which do we Upgrade First, Zimbra, or the Connector?
    By darkdune in forum Zimbra Connector for Outlook
    Replies: 6
    Last Post: 03-20-2008, 05:11 PM
  3. [SOLVED] Database Integrity check report
    By cedbl in forum Administrators
    Replies: 9
    Last Post: 02-06-2008, 02:11 PM
  4. Replies: 2
    Last Post: 10-04-2007, 03:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •