I was installing zimbra for the first time, and noticed that the domain on the hostname was wrong. Aborted instalation, changed hostname in /etc/sysconfig/network (i'm in CentOS) and didn't had nothing in /etc/hosts.
When i try to install, i get this error:
That's ok, but if i do this, the instalation will configure all servers with this domain, (localhost.localdomain) and the servers wont start.
Press Return to continue
ERROR: Installation can not proceeed. Please fix your /etc/hosts file
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:
if i leave it empty, i've got an java error:
Tryed to install dozens of times, erased all files from zimbra install...
Setting defaults...hostname: Unknown host
java.net.UnknownHostException: punk.netgraf.pt: punk.netgraf.pt
Is there an uninstall?
Is there a way to solve this?
Thanks in advance.