Network Issues (DNS?)... Problem installing on Fedora Core 4
Posted: Fri Aug 12, 2005 8:32 pm
by BMillikan
I'm trying to setup the Scalix "Community Edition" using the scalix installation "wizard".
I'm getting "network" errors:
1) Network check failed - Hosts file is not configured with fully qualified domain name (FQDN)
2) Network check failed - Could not find a host name in DNS that matches IP address
3) Network check failed - IP address '192.168.0.2' associated with host name 'Peter.themillikanssite.com' in DNS cannot be confirmed as this host's IP address.
Can you point me in the right direction for what I need to do to set this up.
I have one "internet" IP address and my machine is on a LAN that will be hosting the Scalix server. The router is routing the "internet" ip address (based on port #) packets to the local ip address '192.168.0.2'. So, anything info you can give me would be much appreciated!
Thanks,
Brian :?:
Posted: Fri Aug 12, 2005 10:41 pm
by thepenguin59
Brian,
I encountered the same problem. I am assuming you are logging into FC4 as a regular user then su to root? I tried that and could not install scalix. So I logged in as root and made sure my hosts file contained the ip address of the machine and the fqdn of my domain ie, 192.168.1.5
www.mydomain.com mydomain.com. Also I had to name the machine with a fqdn as well while I did the initial install. After several tries and different linux versions I figured out the name of the machine had to be a fqdn or scalix would keep giving me an error.
I hope that helps.
Ray
FQDN
Posted: Sat Aug 13, 2005 9:31 pm
by BMillikan
So, you basically had to set everything to the FQDN? Does Scalix work after that? Even the hostname? I have three registered domain names, I guess it doesn't matter which one I use and the ip address in the static ip address on the domain, right (not the address seen on the outside of the firewall/router)? Wow, that seems kinda messy to me. I'll start to try this and see where it gets me.
Thanks.
Posted: Sun Aug 14, 2005 12:05 pm
by florian
can you run the installer with the --debug option and post the output here?
We might be able to help you better, then.
Cheers,
Florian.
Here is the output of from the --debug flag
Posted: Sun Aug 14, 2005 3:31 pm
by BMillikan
Here is the output: Hopefully it will shed some light on the situation so I can install the software. Thanks in advance.
Brian
Scalix Installer - extracting archive, please wait...
Scalix Installer - starting version 9.4.0.53...
INFO:merlin:Starting Scalix Installer (Community Edition)
DEBUG:root:Startup property dictionary {'adv': True, 'test_mode': False, 'no_syschecks': False, 'exec': 'scalix-installer-community', 'no_root': False, 'rpm_dir': '/usr/src/redhat/RPMS/scalix-9.4.0-community-intel-rh/software/scalix_server', 'log_dir': '/var/log', 'start_screen_id': -1, 'debug': True, 'error_on_syscheck_fail': True, 'cwd': '/usr/src/redhat/RPMS/scalix-9.4.0-community-intel-rh'}
Scalix Installer (Community Edition) - audit log file is /var/log/scalix-installer-20050814.log
INFO:merlin:Current locale is en_US and default is en_US
DEBUG:root:Loading screens
DEBUG:root:==> Entering screen WizardWelcome ============
DEBUG:root:WizardWelcome:debug mode True
DEBUG:root:==> Leaving screen WizardWelcome
DEBUG:root:==> Entering screen WizardLicenseAgreement ============
DEBUG:root:WizardLicenseAgreement:debug mode True
INFO:merlin:Packages installed: {}
INFO:merlin:Obsolete packages installed: {}
INFO:merlin:Unwanted packages installed: {}
DEBUG:root:==> Leaving screen WizardLicenseAgreement
DEBUG:root:==> Entering screen WizardInstallationType ============
DEBUG:root:WizardInstallationType:debug mode True
INFO:merlin:Saving installation type: installall mode: typical
INFO:merlin:Operation passed: OS release check Fedora Core release 4 (Stentz)
INFO:merlin:Operation passed: Memory check 1035480
INFO:merlin:Operation passed: Disk space check 61035376
DEBUG:root:FunctionThread calling determine_packages with args (<sxdata.Data instance at 0xb7aba18c>,)
INFO:merlin:Searching /usr/src/redhat/RPMS/scalix-9.4.0-community-intel-rh/software/scalix_server for relevant Scalix packages
INFO:merlin:File scalix-swa-9.4.0.52-1.noarch.rpm is a Scalix file, for this platform and valid version
WARNING:merlin:File scalix-websplats-configurator-py23-9.4.0.52-1.noarch.rpm is not a Scalix package
DEBUG:root:Looking for minimum version for component scalix-websplats-configurator-py23 and couldn't find it
WARNING:merlin:File scalix-server-community-9.4.0.8-0.1.rhel4.i386.rpm is not for this platform
WARNING:merlin:File scalix-server-community-9.4.0.8-0.1.rhel4.i386.rpm is not for this platform
INFO:merlin:File scalix-sac-9.4.0.52-1.noarch.rpm is a Scalix file, for this platform and valid version
WARNING:merlin:File scalix-websplats-configurator-py22-9.4.0.52-1.noarch.rpm is not a Scalix package
DEBUG:root:Looking for minimum version for component scalix-websplats-configurator-py22 and couldn't find it
WARNING:merlin:File scalix-websplats-configurator-py24-9.4.0.52-1.noarch.rpm is not a Scalix package
DEBUG:root:Looking for minimum version for component scalix-websplats-configurator-py24 and couldn't find it
INFO:merlin:File scalix-server-community-9.4.0.8-0.1.fc4.i386.rpm is a Scalix file, for this platform and valid version
WARNING:merlin:File scalix-server-community-9.4.0.8-0.1.rhel3.i386.rpm is not for this platform
WARNING:merlin:File scalix-server-community-9.4.0.8-0.1.rhel3.i386.rpm is not for this platform
DEBUG:root:Packages in dir (sorted): [['scalix-server-community', ['9.4.0.8', '72446737', 'i386', 'linux', '0.1.fc4', 'FC4', 'scalix-server-community-9.4.0.8-0.1.fc4.i386.rpm']], ['scalix-swa', ['9.4.0.52', '4524069', 'noarch', 'linux', '1', '(none)', 'scalix-swa-9.4.0.52-1.noarch.rpm']], ['scalix-sac', ['9.4.0.52', '11029949', 'noarch', 'linux', '1', '(none)', 'scalix-sac-9.4.0.52-1.noarch.rpm']]]
DEBUG:root:Latest packages in dir: {'scalix-sac': ['9.4.0.52', '11029949', 'noarch', 'linux', '1', '(none)', 'scalix-sac-9.4.0.52-1.noarch.rpm'], 'scalix-swa': ['9.4.0.52', '4524069', 'noarch', 'linux', '1', '(none)', 'scalix-swa-9.4.0.52-1.noarch.rpm'], 'scalix-server-community': ['9.4.0.8', '72446737', 'i386', 'linux', '0.1.fc4', 'FC4', 'scalix-server-community-9.4.0.8-0.1.fc4.i386.rpm']}
DEBUG:root:Not upgradeable: {}
INFO:merlin:Tomcat was running when we started: False
DEBUG:root:==> Leaving screen WizardInstallationType
DEBUG:root:==> Entering screen WizardAllComponents ============
DEBUG:root:WizardAllComponents:debug mode True
DEBUG:root:WizardAllComponents:Installable: {'scalix-sac': ['9.4.0.52', '11029949', 'noarch', 'linux', '1', '(none)', 'scalix-sac-9.4.0.52-1.noarch.rpm'], 'scalix-swa': ['9.4.0.52', '4524069', 'noarch', 'linux', '1', '(none)', 'scalix-swa-9.4.0.52-1.noarch.rpm'], 'scalix-server-community': ['9.4.0.8', '72446737', 'i386', 'linux', '0.1.fc4', 'FC4', 'scalix-server-community-9.4.0.8-0.1.fc4.i386.rpm']}
WARNING:merlin:Required components not found: []
INFO:merlin:Components selected to install: {'scalix-sac': ['9.4.0.52', '11029949', 'noarch', 'linux', '1', '(none)', 'scalix-sac-9.4.0.52-1.noarch.rpm'], 'scalix-swa': ['9.4.0.52', '4524069', 'noarch', 'linux', '1', '(none)', 'scalix-swa-9.4.0.52-1.noarch.rpm'], 'scalix-server-community': ['9.4.0.8', '72446737', 'i386', 'linux', '0.1.fc4', 'FC4', 'scalix-server-community-9.4.0.8-0.1.fc4.i386.rpm']}
INFO:merlin:Components to upgrade: {}
DEBUG:root:==> Leaving screen WizardAllComponents
DEBUG:root:==> Entering screen WizardSystemCheck ============
DEBUG:root:WizardSystemCheck:debug mode True
DEBUG:root:WizardSystemCheck:We've checked already False and changed component selection False
INFO:merlin:System check start
ERROR:merlin:Operation failed: Network check failed -- Hosts file is not configured with fully qualified domain name (FQDN)
DEBUG:root:This host has the following IP addresses: ['192.168.0.2']
ERROR:merlin:Operation failed: Network check failed -- Could not find a host name in DNS that matches an IP address
DEBUG:root:IP addresses found ['192.168.0.2']
ERROR:merlin:Operation failed: Network check failed -- IP address '192.168.0.2' associated with host name 'Peter.themillikanssite.com' in DNS cannot be confirmed as this host's IP address
INFO:merlin:Network interface is actually eth0
DEBUG:root:Checking DHCP for interface eth0
DEBUG:root:Checking sysconfig file /etc/sysconfig/network-scripts/ifcfg-eth0 for DHCP settings
DEBUG:root:Server is not installed so using default scalix path
DEBUG:root:Message store checking: /var/opt/scalix/sys/version exists: False
INFO:merlin:Operation passed: Filesystem check passed.
INFO:merlin:Java and Tomcat check info -- JAVA_HOME environment variable is /usr/share/jdk1.5.0_04
INFO:merlin:Java and Tomcat check info -- Java version 1.5.0_04
INFO:merlin:Java and Tomcat check info -- Default Tomcat directory is None
WARNING:merlin:Operation warning: Java and Tomcat check warning -- No valid Tomcat directory found. You may install Tomcat now or use the Installer in the Configuration steps.
DEBUG:root:Component list for mode install {'scalix-sac': ['9.4.0.52', '11029949', 'noarch', 'linux', '1', '(none)', 'scalix-sac-9.4.0.52-1.noarch.rpm'], 'scalix-swa': ['9.4.0.52', '4524069', 'noarch', 'linux', '1', '(none)', 'scalix-swa-9.4.0.52-1.noarch.rpm'], 'scalix-server-community': ['9.4.0.8', '72446737', 'i386', 'linux', '0.1.fc4', 'FC4', 'scalix-server-community-9.4.0.8-0.1.fc4.i386.rpm']}
INFO:merlin:Apache appears to be installed.
INFO:merlin:Operation passed: Dependency check passed.
INFO:merlin:Operation passed: Running services check passed.
INFO:merlin:System check end
INFO:merlin:System check result: fail
INFO:merlin:Ending Scalix Installer (Community Edition) - canceled by user on screen WizardSystemCheck(50)
Scalix Installer - cleaning up...
Scalix Installer - stopped.
Posted: Sun Aug 14, 2005 5:01 pm
by florian
ERROR:merlin:Operation failed: Network check failed -- Hosts file is not configured with fully qualified domain name (FQDN)
DEBUG:root:This host has the following IP addresses: ['192.168.0.2']
ERROR:merlin:Operation failed: Network check failed -- Could not find a host name in DNS that matches an IP address
DEBUG:root:IP addresses found ['192.168.0.2']
ERROR:merlin:Operation failed: Network check failed -- IP address '192.168.0.2' associated with host name 'Peter.themillikanssite.com' in DNS cannot be confirmed as this host's IP address
Looking at those lines and the fact that this is Fedora, please check your /etc/hosts first. Fedora easily puts your Fully qualified hostname as an alias on the loopback IP address 127.0.0.1; this is not correct.
Check that your ip address 192.168.0.2 has a line that looks like this in /etc/hosts
192.168.0.2 Peter.themillikanssite.com Peter
and that the 127.0.0.1 line ONLY contains localhost and loopback as names.
You might also want to check if DNS has the same information and then look in /etc/host.conf if "files" (i.e. /etc/hosts) is queried before DNS.
All in all, it looks like an inconsistent network configuration and should be relatively easy to fix.
You might also want to check out other posts in this forum w/rgds to the use of IPv6 which sometimes happens to be configured on FC4; this has nothing to do with your particular problem though.
Tell us if you get down to the cause of the problem, thanks,
Florian.
That worked! Now what?
Posted: Sun Aug 21, 2005 11:06 pm
by BMillikan
Well, that worked. Now, how do I set it up after installation? Perhaps this is a subject for another forum. Also, can I somehow get my mail "cached" into Scalix from other POP3 servers?