From: Martin Honermeyer (maze_at_strahlungsfrei.de)
Date: Mon 20 Dec 2004 - 15:34:23 GMT
Thanks, that's it! The loopback device was not running, strange enough.
"ifconfig lo up" on the host did the trick!
I will change the localhost in entry in /etc/hosts as well, in order to be
future-proof..
Have a nice Christmas!
Martin
Herbert Poetzl wrote:
> On Mon, Dec 20, 2004 at 01:08:42PM +0100, Martin Honermeyer wrote:
>> Hello,
>>
>> I've got a SMP VServer machine running on Gentoo. We have the strange
>> problem that it is not possible to connect to the host's addresses from
>> withhin the host's addresses itself. Which means:
>
> sounds a little strange ...
>
>> * Host can't ping or ssh into any VServer.
>
> definitely some issue with your setup because the
> fact 'Host can't ping any VServer' is equal with
> 'host can't ping it's own ip addresses'
>
>> * No VServer can ping or ssh the host or any VServer,
>> including itself (localhost)!
>
> while the first statement leaves a lot of options
> (iptables, network config, etc ...) this reduces
> the range to a few, with one very likely candidate
>
> most likely your lo device is misconfigured
> make sure that:
>
> - lo is up (UP LOOPBACK RUNNING)
> - lo is configured with 127.0.0.1/8
>
>> This means e.g. Mailman doesn't work on my VServer because
>> it uses a TCP socket to connect to Postfix running on the
>> same VServer, which doesn't work! Only UNIX sockets are working.
>
> in any case, make sure that you define the IP
> of the vserver as 'localhost' in etc hosts, this
> will make sure that the packets are redirected
> properly ...
>
>> Can anyone help? As this is really awkward..
>
> HTH,
> Herbert
>
>> Greetz,
>> Martin
>>
>>
>> $ uname -a
>> Linux vservers 2.6.9-vs1.9.3vs-1.9.3 #1 SMP Wed Nov 24 15:11:19 CET 2004
>> i686 Intel(R) Pentium(R) III CPU family 1266MHz GenuineIntel
>> GNU/Linux
>>
>>
>> _______________________________________________
>> Vserver mailing list
>> Vserver_at_list.linux-vserver.org
>> http://list.linux-vserver.org/mailman/listinfo/vserver
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver