Page 1 of 1

hosts setup and installation

Posted: Wed Mar 05, 2008 1:56 pm
by crp
on page 39 of the Scalix Installation Guide it says concerning the /etc/hosts file:
ensure the localhost and server entries are listed, for example:
127.0.0.1 localhost.localdomain localhost
172.16.1.133 redhatbox.yourcompany.com redhatbox


Our /etc/host is:

Code: Select all

127.0.0.1           localhost.localdomain   localhost
192.168.1.115   ls3.xyz.com    ls3
::1     localhost6.localdomain6 localhost6


A DIG on this machine provides:
[root@localhost log]# dig ls3.xyz.com

; <<>> DiG 9.4.2 <<>> ls3.xyz.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36852
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;ls3.xyz.com. IN A

;; ANSWER SECTION:
ls3.xyz.com. 604800 IN A 192.168.1.115

;; AUTHORITY SECTION:
xyz.com. 604800 IN NS ns1.xyz.com.
xyz.com. 604800 IN NS net.xyz.com.

;; ADDITIONAL SECTION:
net.xyz.com. 604800 IN A 192.168.1.75

;; Query time: 1 msec
;; SERVER: 192.168.1.5#53(192.168.1.5)
;; WHEN: Wed Mar 5 09:53:10 2008
;; MSG SIZE rcvd: 98


So , why won't Scalix 11 install :( It complains about the hosts file.
here is the log entry: :?:
2008-03-04 14:31:23,647 ERROR Operation failed: Network check failed -- Could not find a host name in DNS that matches an IP address
2008-03-04 14:31:23,648 ERROR Operation failed: Network check failed -- IP address associated with host name 'localhost.localdomain' is '127.0.0.1'
2008-03-04 14:31:23,661 INFO Network interface is lo
2008-03-04 14:31:23,662 ERROR Operation failed: Network check failed -- 127.0.0.1 line contains fully-qualified server hostname (localhost.localdomain) in /etc/hosts, please remove it
2008-03-04 14:31:23,647 ERROR Operation failed: Network check failed -- Could not find a host name in DNS that matches an IP address
2008-03-04 14:31:23,648 ERROR Operation failed: Network check failed -- IP address associated with host name 'localhost.localdomain' is '127.0.0.1'
2008-03-04 14:31:23,661 INFO Network interface is lo
2008-03-04 14:31:23,662 ERROR Operation failed: Network check failed -- 127.0.0.1 line contains fully-qualified server hostname (localhost.localdomain) in /etc/hosts, please remove it
:?:

Posted: Wed Mar 05, 2008 3:21 pm
by mikevl
Hi

Your host files is
127.0.0.1 localhost.localdomain localhost
192.168.1.115 ls3.xyz.com ls3
::1 localhost6.localdomain6 localhost6


you have to move the 192.168..... to the bottom line of the file as per the example


Mike

Posted: Wed Mar 05, 2008 4:26 pm
by crp
wow, ok, that worked.

I think they should amend the instructions then that the last line needs to hold the
ip fqdn being used by Scalix.