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 07-05-2008, 10:01 AM
Intermediate Member
 
Posts: 21
Default [SOLVED] /etc/hosts CentOS 5.2 install

Hello--

I seem to be having some problems installing Zimbra on CentOS 5.2. When I run the install.sh I get the following error message:
ERROR: Installation can not proceeed. Please fix your /etc/hosts file
to contain:

127.0.0.1 localhost.localdomain localhost

Zimbra install grants mysql permissions only to localhost and
localhost.localdomain users. But Fedora/RH installs leave lines such
as these in /etc/hosts:

127.0.0.1 myhost.mydomain.com myhost localhost.localdomain localhost

This causes MySQL to reject users coming from 127.0.0.1 as users from
myhost.mydomain.com. You can read more details at:

MySQL Bugs: #11822: Reverse lookup for 127.0.0.1 not accounted for in mysql_install_db

I know the message seems to indicate a problem with my /etc/hosts file but it is correct and has the local host line in the format specified in the error:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 xxx.XXXXXXXXXX.com xxxx
127.0.0.1 localhost.localdomain localhost

I did a google search on the error and found a couple of threads from 2006 that refereed to commenting out the "hostname -fqdn" line but I'd like to actually figure out what is causing this error.

Thanks for any help.

Nate
Reply With Quote
  #2 (permalink)  
Old 07-05-2008, 10:27 AM
Intermediate Member
 
Posts: 21
Default

I actually figured this out already!

It appears that in the instal CentOS didn't set the line for my server's FQDN correctly. It set it to the loopback IP instead of the actual IP address of my server. I changed it to the actual server IP and everything is working correctly now.

Sorry for the false alarm
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.