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

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

Uluquai
Posts: 66
Joined: Mon Mar 05, 2007 6:16 pm

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

Postby Uluquai » Sat Dec 19, 2009 4:05 pm

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..
Last edited by Uluquai on Sun Dec 20, 2009 2:10 pm, edited 1 time in total.

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

Re: scalix installer trouble peer ip

Postby Valerion » Sun Dec 20, 2009 9:49 am

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?

Uluquai
Posts: 66
Joined: Mon Mar 05, 2007 6:16 pm

Re: scalix installer trouble peer ip

Postby Uluquai » Sun Dec 20, 2009 12:30 pm

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?

Uluquai
Posts: 66
Joined: Mon Mar 05, 2007 6:16 pm

Re: scalix installer trouble peer ip

Postby Uluquai » Sun Dec 20, 2009 1:48 pm

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?

Uluquai
Posts: 66
Joined: Mon Mar 05, 2007 6:16 pm

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

Postby Uluquai » Thu Dec 31, 2009 10:56 am

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?

kanderson

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

Postby kanderson » Thu Jan 07, 2010 12:40 pm

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.

Uluquai
Posts: 66
Joined: Mon Mar 05, 2007 6:16 pm

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

Postby Uluquai » Mon Jan 11, 2010 9:19 am

Thanks for your suggestion! I will try that next time ;)

Thilo
Posts: 17
Joined: Tue Oct 21, 2008 5:47 pm

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

Postby Thilo » Sat Jan 30, 2010 8:12 pm

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

Spiff
Posts: 31
Joined: Fri Jun 30, 2006 6:39 pm

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

Postby Spiff » Sun Jan 31, 2010 4:50 pm

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)

ls-al
Scalix Star
Scalix Star
Posts: 510
Joined: Tue Jun 29, 2004 8:28 am
Location: Leipzig, Germany
Contact:

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

Postby ls-al » Sun Jan 31, 2010 6:31 pm

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

Thilo
Posts: 17
Joined: Tue Oct 21, 2008 5:47 pm

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

Postby Thilo » Mon Feb 01, 2010 4:53 am

@ Spiff

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


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 3 guests

cron