Installation - DNS error

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

mveerdon
Posts: 83
Joined: Sat Oct 04, 2008 4:29 am

Installation - DNS error

Postby mveerdon » Fri Nov 14, 2008 4:11 am

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.

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Fri Nov 14, 2008 4:27 am

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.

mveerdon
Posts: 83
Joined: Sat Oct 04, 2008 4:29 am

Postby mveerdon » Fri Nov 14, 2008 4:31 am

you main like this?

1.2.3.4 name name.domain.com

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Fri Nov 14, 2008 4:44 am

Normally I do it the other way around

1.2.3.4 name.domain.com name

mveerdon
Posts: 83
Joined: Sat Oct 04, 2008 4:29 am

Postby mveerdon » Fri Nov 14, 2008 5:05 am

thanks, scalix is up and running again

Luke512
Posts: 62
Joined: Tue Nov 14, 2006 12:37 am
Location: Germany near Stuttgart

Postby Luke512 » Mon Nov 17, 2008 11:26 am

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
Long live the Penguin

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Mon Nov 17, 2008 4:17 pm

What exactly is in your hosts file?

Luke512
Posts: 62
Joined: Tue Nov 14, 2006 12:37 am
Location: Germany near Stuttgart

Postby Luke512 » Mon Nov 17, 2008 4:27 pm

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 ......
Long live the Penguin

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Mon Nov 17, 2008 4:53 pm

And:

Code: Select all

# hostname -a
# hostname -f
# hostname -i

Luke512
Posts: 62
Joined: Tue Nov 14, 2006 12:37 am
Location: Germany near Stuttgart

Postby Luke512 » Mon Nov 17, 2008 5:01 pm

hostname -a = no result/blank
hostname -f = hostname.domainname.home
hostname -i = 192.168.1.11
Long live the Penguin

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Tue Nov 18, 2008 6:20 pm

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.

Luke512
Posts: 62
Joined: Tue Nov 14, 2006 12:37 am
Location: Germany near Stuttgart

Postby Luke512 » Wed Nov 19, 2008 2:10 am

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
Long live the Penguin

kool4caats

Postby kool4caats » Fri Nov 21, 2008 11:26 am

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!

Luke512
Posts: 62
Joined: Tue Nov 14, 2006 12:37 am
Location: Germany near Stuttgart

Postby Luke512 » Tue Nov 25, 2008 2:03 am

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
Long live the Penguin

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Tue Nov 25, 2008 4:24 pm

Check with ifconfig that you're using the IP address that's in /etc/hosts?

I can't make this _not_ work :)


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 4 guests

cron