My installation terminates with the followig message :
Quote:
Operations logged to /tmp/zmsetup.03122009-115300.log
Setting defaults...can't resolve "localhost" to address at /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/Net/DNS/Resolver/Base.pm line 748.
|
When I do a 'nslookup localhost' it gives me
Quote:
|
** server can't find localhost: NXDOMAIN
|
My 'localhost -f' returns the FQDN mail.domain.com
I am trying to configure Zimbra behind a firewall. My internal IP is 10.10.10.4. The /etc/hosts, named.conf and zone files are as follows :
/etc/hosts
Quote:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.10.10.4 mail.domain.com mail
|
/var/named/chroot/etc/named.conf
Quote:
//
// Sample named.conf BIND DNS server 'named' configuration file
// for the Red Hat BIND distribution.
//
// See the BIND Administrator's Reference Manual (ARM) for details, in:
// file:///usr/share/doc/bind-*/arm/Bv9ARM.html
// Also see the BIND Configuration GUI : /usr/bin/system-config-bind and
// its manual.
//
options
{
/* make named use port 53 for the source of all queries, to allow
* firewalls to block all ports except 53:
*/
query-source port 53;
query-source-v6 port 53;
// Put files that named is allowed to write in the data/ directory:
directory "/var/named"; // the default
dump-file "data/cache_dump.db";
statistics-file "data/named_stats.txt";
memstatistics-file "data/named_mem_stats.txt";
};
zone "mail.domain.com" IN {
type master;
file "mail.domain.com";
allow-update{none;};
};
zone "locahost." IN {
type master;
file "localhost.zone";
allow-update{none;};
};
include "/etc/rndc.key";
|
my zone file for mail.domain.com
Quote:
$TTL 86400
@ IN SOA @ mail.domain.com. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
@ IN NS mail.domain.com.
IN MX 10 mail.domain.com.
IN A 10.0.10.4
|
zone file for localhost.zone
Quote:
$TTL 86400
@ IN SOA @ root (
2009031201 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS @
IN A 127.0.0.1
IN AAAA ::1
~
|
The installation stops with the error given in the begining. My local host is not resolving to 127.0.0.1. I hope this is the problem. Can you please help.
Regards-
Srvlsn