Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED ping localhost -> sendmsg: Bad address ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Fog_Watch
Apprentice
Apprentice


Joined: 24 Jul 2006
Posts: 241
Location: Utility Muffin Research Kitchen

PostPosted: Sun May 15, 2011 12:44 pm    Post subject: SOLVED ping localhost -> sendmsg: Bad address ? Reply with quote

Hello

At "localhost" I can ssh out and in. I can ping to, but not from:
Quote:
hostname ~ # ping -c 3 localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
ping: sendmsg: Bad address
ping: sendmsg: Bad address
ping: sendmsg: Bad address

Ping anything and I get Bad address.

Quote:
hostname ~ # tracepath localhost
1: send failed
Resume: pmtu 65535
hostname ~ #

Can't even find a path to its own navel!

Quote:
hostname ~ # route | grep lo
loopback * 255.0.0.0 U 0 0 0 lo


No, name resolution does not work.

When localhost is booted with a different kernel and / routing glistens with perfection, so its not a hardware problem.

So, I ping localhost and I get Bad address. Any ideas?

Regards

Fog_Watch.


Last edited by Fog_Watch on Fri May 20, 2011 10:16 am; edited 1 time in total
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7454

PostPosted: Sun May 15, 2011 1:17 pm    Post subject: Reply with quote

127.0.0.1 localhost

make sure localhost point to 127.0.0.1 in /etc/host
Back to top
View user's profile Send private message
Fog_Watch
Apprentice
Apprentice


Joined: 24 Jul 2006
Posts: 241
Location: Utility Muffin Research Kitchen

PostPosted: Fri May 20, 2011 10:15 am    Post subject: Reply with quote

It's not really solved, just sort of, and appears to be related to Vserver.

The problem happens with this kernel, not the unpatched, or an earier version. Testing done with grsecurity and pax off.

Oops, this should probably go in unsupported.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum