FC4 Install for local access only FQDN issues....

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

jch
Scalix
Scalix
Posts: 202
Joined: Thu Mar 25, 2004 10:25 am

Postby jch » Fri Oct 14, 2005 10:44 am

No, but you can use a more recent version of 1.4.2. It looks as though 1.4.2_09 is the most recent version.

jch

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Oct 14, 2005 10:45 am

Please look at the details in the thread http://www.scalix.com/community/viewtopic.php?t=475

This is a known issue between tomcat and ipv6 on FC4.

Cheers

Dave

kevjs

Postby kevjs » Fri Oct 14, 2005 11:30 am

Thanks, the suggested fix worked.

Now I just have to work out why it doesn't work in Firefox Beta 1, i just get a white screen, i'll try upgrading to Beta 2 first though.

kevjs

Postby kevjs » Fri Oct 14, 2005 11:39 am

Yay, it works in Beta 2. I'd been meaing to update on this machine for a while due to a few other bugs anyway :)

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sun Oct 16, 2005 3:26 am

Hi Kev,

sorry, Java 1.5 is not yet supported; it will be in the next release. If there is any thought about incompatiblities, what we are generally using is FC4 with the i386 32-bit kernel (64 Bit not yet supported), Sun JDK 1.4.2_09, Tomcat 5.0.28 (as it comes in the tarball!) and that should work from a compatibility perspective.

The error you see in your Java error says something about assignment of addresses; I remember we had a few issues when IPv6 was enabled on the box; I'll need to re-check, but you might see if something like this happened.

Cheers,
Florian.
Florian von Kurnatowski, Die Harder!

mrhumphreys
Posts: 50
Joined: Fri Oct 07, 2005 7:38 am

Postby mrhumphreys » Sat Oct 29, 2005 11:11 am

Hi Guys,

been a bit tied up on other things.

kevjs....

As well as the hosts fiel, did you have to make any changes to BIND for it to work - my hosts file is very similar to use, but I get different results from the hostname command.

Would love to get this working.....

If you would like to discuss this off list its mrh @ one-web .com.

Many thanks for peoples help.


Matthew

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sat Oct 29, 2005 11:16 am

you don't specifically need DNS, though we highly recommend it. if you don't use DNS, your outgoing internet mail will create problems because sendmial uses dns to verify domains, etc, also as means of spam protection.

if you really need it, make sure that...

1. your initial line in /etc/hosts describing your hostname reads something like
1.2.3.4 my.fqdn.hostname shortname

2. the ip address (1.2.3.4 in the example) matches at least the IP address of one of your interfaces in ifconfig

3. your hostname and hostname --fqdn commands somehow match the names, otherwise set in /etc/sysconfig/network

4. when using FC4, make sure that your IPv6 address is not preferred in Java, see the respective postings somewhere else on this Forum, just search for FC4.

Hope this helps,
Florian.
Florian von Kurnatowski, Die Harder!

mrhumphreys
Posts: 50
Joined: Fri Oct 07, 2005 7:38 am

Postby mrhumphreys » Sat Oct 29, 2005 11:40 am

[quote="florian"]you don't specifically need DNS, though we highly recommend it. if you don't use DNS, your outgoing internet mail will create problems because sendmial uses dns to verify domains, etc, also as means of spam protection.

if you really need it, make sure that...

1. your initial line in /etc/hosts describing your hostname reads something like
1.2.3.4 my.fqdn.hostname shortname


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


2. the ip address (1.2.3.4 in the example) matches at least the IP address of one of your interfaces in ifconfig

eth0 Link encap:Ethernet HWaddr
inet addr:192.168.0.180 Bcast:192.168.0.255


3. your hostname and hostname --fqdn commands somehow match the names, otherwise set in /etc/sysconfig/network


NETWORKING=yes
HOSTNAME=scalix.localdomain
GATEWAY=192.168.0.100


4. when using FC4, make sure that your IPv6 address is not preferred in Java, see the respective postings somewhere else on this Forum, just search for FC4.


The install hasn't got that far yet...


Do the files I've posted look ok?


Many thanks for the quick reply!

Matt

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sat Oct 29, 2005 11:43 am

on first sight, this looks allright. not sure if i would use ".localdomain" as a suffix on all my names going forward (i usually use "real" dns names with my domain), but anyway, it seems ok. how far is your install?

if you have any trouble, try running the installer with the "--debug" option, this will provide for more information.

-- Florian.
Florian von Kurnatowski, Die Harder!

mrhumphreys
Posts: 50
Joined: Fri Oct 07, 2005 7:38 am

Postby mrhumphreys » Sat Oct 29, 2005 11:53 am

It fails at the FQDN check.

If I do hostname I get..

192.168.0.180

Shouldn't I be getting a name like scalix.localdomain etc?

host 192.168.0.180 gives

Host 180.0.168.192.in-addr.arpa not found: 3(NXDOMAIN)

Host sclaix.localdomain gives

Host scalix.localdomain not found: 3(NXDOMAIN)

Does this give any more clues?



Matt

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sat Oct 29, 2005 12:03 pm

do you have your system setup to use DNS?

What is the contents of your /etc/host.conf file?

What is the contents of your /etc/resolv.conf file?

Also, what does the
hostname
command return and also try the
hostname --fqdn
command.

Thx,
Florian.
Florian von Kurnatowski, Die Harder!

mrhumphreys
Posts: 50
Joined: Fri Oct 07, 2005 7:38 am

Postby mrhumphreys » Sat Oct 29, 2005 12:56 pm

Whats the easiest way to check if the dns setup is ok?

My host.conf contains:-

order hosts,bind


My resolv.conf contains:-

nameserver 192.168.0.100
search localdomain

[root@scalix etc]# hostname
192.168.0.180
[root@scalix etc]# hostname --fqdn
192.168.0.180
[root@scalix etc]#


I appreciate your time and help


Matt

mrhumphreys
Posts: 50
Joined: Fri Oct 07, 2005 7:38 am

Postby mrhumphreys » Sat Oct 29, 2005 12:58 pm

I guess this shows that the dns is ok?

[root@scalix etc]# ping bbc.co.uk
PING bbc.co.uk (212.58.224.131) 56(84) bytes of data.
64 bytes from rdirwww-vip.thdo.bbc.co.uk (212.58.224.131): icmp_seq=0 ttl=120 time=28.6 ms
64 bytes from rdirwww-vip.thdo.bbc.co.uk (212.58.224.131): icmp_seq=1 ttl=120 time=27.1 ms
64 bytes from rdirwww-vip.thdo.bbc.co.uk (212.58.224.131): icmp_seq=2 ttl=120 time=27.3 ms

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sat Oct 29, 2005 4:22 pm

Well, what's really super-strange in your environment is that the hostname command returns the IP address while it should return your short hostname, and the hostname --fqdn command is supposed to return your long hostname.

Just for the sake of this argument, could you actually replace your .localdomain hostname with something else? the .localdomain seems a bit alien to me. Change would be required in /etc/sysconfig/network and /etc/hosts.

I would suggest using something like

scalix.mycompany.int

where mycompany is your normal internet domain name. i prefer .int as a suffix over .local as local is technically used by a newer auto-config infrastructure called Rendezvous or mDNS and it causes confusion with some operating systems.

you would put this in the HOSTNAME field of your network config file and also a line like this in your /etc/hosts

192.168.0.180 scalix.mycompany.int scalix

let me know if that serves you any good,
Florian.
Florian von Kurnatowski, Die Harder!

mrhumphreys
Posts: 50
Joined: Fri Oct 07, 2005 7:38 am

Postby mrhumphreys » Sat Oct 29, 2005 4:59 pm

After the changes a rebooting...


[root@scalix ~]# hostname
scalix.ems.int
[root@scalix ~]#


[root@scalix ~]# hostname --fqdn
scalix.ems.int
[root@scalix ~]#


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

[root@scalix ~]# host scalix.ems.int
Host scalix.ems.int not found: 3(NXDOMAIN)
[root@scalix ~]#

I guess this is looking more hopefull?

Is one of my last 2 commands messing things up?

I now get....


[root@scalix ~]# hostname
192.168.0.180


If I reboot it is back to

[root@scalix ~]# hostname
scalix.ems.int
[root@scalix ~]#



Thanks


Matthew


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 3 guests