Results 1 to 3 of 3

Thread: Error Host file

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Rep Power

    Default Error Host file

    Hi Folks,

    here comes another dumb newbie question which is fine given I am new to linux.

    OK I'm trying to install Zimbra but I keep getting the following error

    ERROR: Installation can not proceed. Please fix your /etc/hosts file to contain: localhost.localdomain localhost

    Well I added the line to host file as is and then rebooted with no sucess So I then replaced localhost.localdomain with localhost which is name of my server, still no luck.

    here is my current host file contents localhost mailserver

    any thoughts this has got me really stumped.

    Currently I am trying to install zimbra on CentOS 5 running within VMware.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Vannes, France
    Rep Power


    Your hosts file must contain the line in the format given in the error message:
    Code: localhost.localdomain localhost
    not the one you have.

    You can check the setting by making the change, rebooting and then doing:

    host `hostname`   <-- backticks not single quotes
    dig mx
    dig any
    to check the hosts file and your DNS A & MX records. I assume you also have plenty of RAM allocated to the VMware instance and your CentOS is up to date?


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Jul 2007
    Rep Power


    thanks for that.

    fixed now, turns out it was my laziness to blame. I had not added "mailserver" to my DNS.

Similar Threads

  1. centos 5 zimbra 4.5.6 no statistics
    By rutman286 in forum Installation
    Replies: 9
    Last Post: 08-14-2007, 09:30 AM
  2. Opensource backup Question.
    By nfear24 in forum Administrators
    Replies: 3
    Last Post: 03-31-2007, 11:47 PM
  3. Replies: 5
    Last Post: 03-01-2007, 02:20 AM
  4. Traslation SVN tree status
    By meikka in forum I18N/L10N - Translations
    Replies: 7
    Last Post: 02-13-2007, 10:13 AM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 12:01 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