Page 1 of 2
Installation - DNS error
Posted: Fri Nov 14, 2008 4:11 am
by mveerdon
I'm preforming a reinstall of Scallix, but now I get suprised by a DNS/FQDN error.
can somebody help?
My etc/hosts file:
83.96.151.195 vandeveerdonk.net, hostedby.vpshoster.com
127.0.0.1 localhost
installation log :
Performing system check...
* Environment check... WARNING
* Filesystem check... OK
* Network check... ERROR
* Dependency check... OK
* Running services check... OK
* Community license check... OK
System check report:
Environment check warning -- at least 512 MB of memory recommended
Filesystem check passed.
Network check failed -- Hosts file is not configured with fully qualified domain name (FQDN)
Network check failed -- Could not find a host name in DNS that matches an IP address
Network check failed -- IP address '83.96.151.195' associated with host name 'creatable.vpshoster.com' in DNS cannot be confirmed as this host's IP address
Dependency check passed.
Running services check passed.
Community license check passed.
Posted: Fri Nov 14, 2008 4:27 am
by Valerion
Your /etc/hosts must contain the name assigned to your machine. To find this, do a
hostname -s
hostname -f
Both these must be listed next to the IP address in /etc/hosts. It is best if there are no other hostnames attached to the IP. In addition, your DNS server must return the same information for both forward (A record) and reverse (PTR record) lookups.
Posted: Fri Nov 14, 2008 4:31 am
by mveerdon
you main like this?
1.2.3.4 name name.domain.com
Posted: Fri Nov 14, 2008 4:44 am
by Valerion
Normally I do it the other way around
1.2.3.4 name.domain.com name
Posted: Fri Nov 14, 2008 5:05 am
by mveerdon
thanks, scalix is up and running again
Posted: Mon Nov 17, 2008 11:26 am
by Luke512
hello there
i just have problems to get scalix working again
first i had some problems with my fedora 7, i did a mistake while trying some things, after this mistakes i did an upgrade to fedora 9, everything except Scalix is working fine, before upgrading to f9 and the mistakes everything including scalix works fine
so i decided to upgrade scalix from 11.4.1 to 11.4.2 but get the network error as described by mveerdon
the commands as described by Valerion result exactly the names they should result and the hosts file contains both names with the ip-adress
so what am i doing wrong...please help
greets luke
Posted: Mon Nov 17, 2008 4:17 pm
by schmoe90
What exactly is in your hosts file?
Posted: Mon Nov 17, 2008 4:27 pm
by Luke512
Code: Select all
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
#192.168.1.11 hostname.domainname.home hostname
i also tried without # before the ip adress but get the same result...
as i told in my previous message before my mistake everything works fine without the line 192.168.1.11 ......
Posted: Mon Nov 17, 2008 4:53 pm
by schmoe90
And:
Code: Select all
# hostname -a
# hostname -f
# hostname -i
Posted: Mon Nov 17, 2008 5:01 pm
by Luke512
hostname -a = no result/blank
hostname -f = hostname.domainname.home
hostname -i = 192.168.1.11
Posted: Tue Nov 18, 2008 6:20 pm
by schmoe90
The hosts file should be:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.1.11 hostname.domainname.home
I'd expect that to work.
Posted: Wed Nov 19, 2008 2:10 am
by Luke512
hello schmoe90
i tried that way but no success
what me gets wondering that the log-file (in this case messages) is empty...when i restart the network service there should be a message in the file...but nothing
i think i have to make a fresh install of the os on my server, because theres something else wrong...maybe or not.. i don't know
Posted: Fri Nov 21, 2008 11:26 am
by kool4caats
I found that the problem was just that the hostname provided by the command 'hostname' was uppercase, and in my hosts file it was lowercase.
I did:
#hostname <<hostname in lowercase>>
and the system check worked!
Posted: Tue Nov 25, 2008 2:03 am
by Luke512
still no success...
i also tried installing scalix on a fresh centos 5.2 and get the same error
PS: i even tried so set hostname in lower and uppercase but no success... here is what i get at the moment
Code: Select all
hostname hostname
hostname -f hostname.domainname.home
hostname -a hostname localhost.localdomain localhost
Posted: Tue Nov 25, 2008 4:24 pm
by schmoe90
Check with ifconfig that you're using the IP address that's in /etc/hosts?
I can't make this _not_ work
