Page 1 of 1

Installer fails because of "peer ip", but manually it works

Posted: Sat Dec 19, 2009 4:05 pm
by Uluquai
I'm having a problem with installing scalix on a new host that's routing default gw with ptp (peer)

This is on CentOS 5.4 btw...

Network check failed -- IP address '78.46.xx.xxx' associated with host name 'myfqdn' in DNS does not match machine's IP address '78.46.xx.xxx peer 78.46.xx.yyy'

Is there any possibility to skip this check?

Help GREATLY appreciated :)

Thanks!'

Edit: 78.46.xx.xxx of course matches <myfqdn>, but it#s complaining that "78.46.xx.xxx peer 78.46.xx.yyy" doesn't which is ridiculous..

Re: scalix installer trouble peer ip

Posted: Sun Dec 20, 2009 9:49 am
by Valerion
What does your DNS return if you do a lookup on your FQDN for your server, as well as the IP address? Both must match. Also, both these much be in your /etc/hosts file.

Is this all on eth0?

Re: scalix installer trouble peer ip

Posted: Sun Dec 20, 2009 12:30 pm
by Uluquai
Hi Valerion, thanks a lot for your answer,

Yes, everything matches exactly.. nslookup <myip> ptr and dns matches exactly my ip.
This is configured properly inside /etc/hosts
Yes it's eth0.

The problem I think is that the installer reads ifcfg-eth0 where I need SCOPE="peer 78.46.xx.yyy" (=gateway)..

Afterall it tell me dns doesn't match machine's address '78.46.xx.xxx peer 78.46.xx.yyy'
Dns exactly matches 78.46.xx.xxx and that's also what's in my hosts with my fqdn. How could dns return ip peer ip2 anyway? :D

Isn't that a flaw?

Re: scalix installer trouble peer ip

Posted: Sun Dec 20, 2009 1:48 pm
by Uluquai
I now installed manually and everything's working perfectly so far..

but it would be great if the installer worked in the future..

Does anyone have any idea what might be wrong?

Re: Installer fails because of "peer ip", but manually it works

Posted: Thu Dec 31, 2009 10:56 am
by Uluquai
This is very annoying!

I'm now to setup Scalix SBE for a company I work for and I have the same problem!

How can I fix this. Is that a bug?

Re: Installer fails because of "peer ip", but manually it works

Posted: Thu Jan 07, 2010 12:40 pm
by kanderson
Try starting the installer from the command line with the --warnonly flag. That MIGHT get you past it. I haven't used that switch in a LONG time, and it was only for RAM then, not network errors. I suspect it'll work though.

Kev.

Re: Installer fails because of "peer ip", but manually it works

Posted: Mon Jan 11, 2010 9:19 am
by Uluquai
Thanks for your suggestion! I will try that next time ;)

Re: Installer fails because of "peer ip", but manually it works

Posted: Sat Jan 30, 2010 8:12 pm
by Thilo
Uluquai, i had the exact same problem. You use centos or RHEL, I guess?

I use centos and found this (german language) hint:
http://wiki.hetzner.de/index.php/IP-Konfiguration_CentOS

I solved it by
-deleting the "SCOPE"-Entry in /etc/sysconfig/network-scripts/ifcfg-eth0
-using the above deleted SCOPE-IP for setting the "GATEWAY"-Entry in /etc/sysconfig/network (I used GATEWAY, not GATEWAYDEV)
-changing /etc/sysconfig/network-scripts/route-eth0 like this:

Code: Select all

<gateway ip> dev eth0 scope link
default via <gateway ip>

Afterwards no more annoying installer-errors... :)

well, at least for me

greetings
Thilo

Re: Installer fails because of "peer ip", but manually it works

Posted: Sun Jan 31, 2010 4:50 pm
by Spiff
I have a similar problem when installing... -Manual dns seems to resolve both forward and reverse, but the networking test fails.

Looking at your solution (I run Centos 5), I have no SCOPE entry in my ifcfg file (mine is named Outside as it uses the alias name in the file)
The route-eth0 does not exist on my system....

Anyone got an idea on what "Network check failed -- Msg: Could not determine network interface configuration for eth0" means?
-Is it looking for ifcfg-eth0? while mine is called ifcfg-Outside ?

I've played around with my local dns server, but this is the closest I get (other errors are well explained, but not this one)
Short on my system: Centos 5, running on a gateway (3 nics), gets a local IP from my ISP (192.168.10.20) and the ISP NATs this to my external address (thats why I use a local DNS, while the external DNS reports my external address)

Re: Installer fails because of "peer ip", but manually it works

Posted: Sun Jan 31, 2010 6:31 pm
by ls-al
I am looking at this thread for a while and still asking myself why all do techies here dont look at the sources of the installer and provide a fix, patch, suggestion or whatever....
I thought this is what OSS stands for.
The installer sources are available (though not yet updated to 11.4.6, but thats another problem....)
http://www.scalix.com/community/downloads/sourcepackages.php

Re: Installer fails because of "peer ip", but manually it works

Posted: Mon Feb 01, 2010 4:53 am
by Thilo
@ Spiff

maybe try to create the route-eth0
On some systems it doesn't exist