Page 1 of 1

Network Configuration During Install

Posted: Tue Jun 26, 2007 12:01 pm
by myself_in_michigan
I'm new and apparently confused.

My situation is this; I'm planning on using Scalix to replace an internal Exchange server that's seen better days, however during installation I'm getting the following: Network Check [Failed]

/var/log/scalix-installer-20070626.log :
------------------------------

2007-06-26 15:41:26,079 ERROR Operation failed: Network check failed -- Hosts file is not configured with fully qualified domain name (FQDN)
2007-06-26 15:41:26,113 ERROR Operation failed: Network check failed -- Could not find a host name in DNS that matches an IP
address
2007-06-26 15:41:26,152 ERROR Operation failed: Network check failed -- IP address '192.168.1.43' associated with host name 'scalix.indigofgi.com' in DNS cannot be confirmed as this host's IP address
--------------------------------------------

My Hosts File:
--------------------------------------------------

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
-------------------------------

[root@scalix /]# hostname
scalix
------------

hostname -f scalix.indigofgi.com
scalix.indigofgi.com
--------------------------
hostname -f 192.168.1.43
scalix.indigofgi.com
-----------

So what's the deal? do I have to add some other line to the hosts file or what?

Any help would be appreciated.

Posted: Tue Jun 26, 2007 2:18 pm
by KevinAnderson
Add this to your hosts file...

192.168.1.43 scalix.indigofgi.com scalix

Hosts file

Posted: Tue Jun 26, 2007 2:36 pm
by myself_in_michigan
Ok, Added that line (I think I tried this before as well), refreshed network services: hosts file is as follows:

------------------
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.1.43 scalix.indigofgi.com scalix

-------------

[root@scalix ~]# nslookup 192.168.1.43
Server: 216.162.181.6
Address: 216.162.181.6#53

** server can't find 43.1.168.192.in-addr.arpa: NXDOMAIN

[root@scalix ~]# host 192.168.1.43
Host 43.1.168.192.in-addr.arpa not found: 3(NXDOMAIN)

[root@scalix ~]# hostname -f 192.168.1.43
scalix.indigofgi.com

[root@scalix ~]# hostname -s 192.168.1.43
scalix

---------------
The install's still giving me the same failure on the network check:
-----------------
2007-06-26 18:15:15,388 INFO System check start
2007-06-26 18:15:15,527 INFO SELinux is enabled in enforcing mode: Permissive
2007-06-26 18:15:15,527 INFO Operation passed: Environment check passed.
2007-06-26 18:15:15,590 INFO Operation passed: Filesystem check passed.
2007-06-26 18:15:15,972 ERROR Operation failed: Network check failed -- Hosts file is not configured with fully qualified domain name (FQDN)
2007-06-26 18:15:16,003 ERROR Operation failed: Network check failed -- Could not find a host name in DNS that
matches an IP address
2007-06-26 18:15:16,022 ERROR Operation failed: Network check failed -- IP address '192.168.1.43' associated with host name 'scalix.indigofgi.com' in DNS cannot be confirmed as this host's IP address
2007-06-26 18:15:16,042 INFO Network interface is lo
---------------

I saw this in the wiki and the installation guide earlier and added a record to my domain's dns, but to no avail, a PTR record or reverse lookup on a unroutable internal IP (192.x.x.x) seems mute anyway, I believe they get rejected by default.
-----------------------------------------------------------
(from: http://www.scalix.com/wiki/index.php?ti ... s/ChangeIP)
Update the DNS Zones

Edit your DNS forward zone so that "host mail.example.com" (from a system other then the server) responds back with 192.168.1.50 instead of 192.168.1.100. Also edit your DNS PTR record or reverse zone to match, so that "host 192.168.1.50" responds back with mail.example.com

--------------------

Any other ideas?

Strange.

Posted: Tue Jun 26, 2007 2:41 pm
by myself_in_michigan
Well, looks like I found an odd solution (temporary at least) I pointed my primary DNS at the loopback (127.0.0.1) , removed all other DNS servers, and ran the network check again and this worked... go figure (?)

Maybe a slight change to your installation guide is needed?

Posted: Tue Jun 26, 2007 2:48 pm
by myself_in_michigan
On http://www.scalix.com/documents/Scalix_ ... 11.0.1.pdf (Network Configuration Section, Page 34)

Preparing the Network Setup
Proper network setup makes installation much easier. Some things to do in advance:
• Give all servers static IP addresses, then connect and configure them into a proper DNS infrastructure. This ensures consistent client connectivity.
...(ed)...
• Configure reverse DNS in which an IP address resolves to a hostname as well as vice versa. This is essential for integration of anti-spam and anti-virus software.
• Check all servers’ etc/hosts files to make sure the localhost line does not include anything more than: 127.0.0.1 localhost.localdoamin(sp) localhost
If the line does list additional servers, add a line below with:
aaa.xx.yy.zz server.domain.com server
Where aaa.xx.yy.zz is the actual server’s IP address.
• Before beginning installation, make sure all hostnames on all servers are set. Once
you’ve installed Scalix, you should not change them.

I think this section probably needs to be worded differently (and spell checked) as it seems that adding the FQDN for the host is required in order to install. Wouldn't only having the loopback in the hosts file always cause the network check to fail?

Posted: Tue Jun 26, 2007 2:57 pm
by KevinAnderson
What happens on some OSes is that you'd see

127.0.0.1 localhost.localdomain localhost scalix.domain.com scalix

And that's wrong.

Kev.