Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2010 22:00:01 -0500
From:      Jon Radel <jon@radel.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: can't ping localhost
Message-ID:  <4B985CB1.4060306@radel.com>
In-Reply-To: <20100311024735.GS30257@mech-cluster241.men.bris.ac.uk>
References:  <20100311022344.GP30257@mech-cluster241.men.bris.ac.uk>	<11167f521003101834u15c8468bq3606b05b1788d967@mail.gmail.com> <20100311024735.GS30257@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help


> Well, the ping issue is just an example.
> My real problem is that sendmail can't send
> anything locally:
>
> # tail /var/log/maillog
> Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2B0irgd029426: to=mexas, ctladdr=mexas (1001/1001), delay=01:32:05, xdelay=00:00:00, mailer=relay, pri=480031, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host

Well, have you considered looking to see if it's right?  What do you get 
in response to:

$ netstat -rn | grep 127
127.0.0.1          127.0.0.1          UH          0    64746    lo0
$

Showing what I get on a 7.0 server.

Unless they've moved things around since 7.0, you probably want to make 
sure that you've not messed with the ifconfig_lo0 line in 
/etc/defaults/rc.conf.

My apologies if that config stuff has changed in the latest; I don't 
have access to the latest right now.

-- 

--Jon Radel
jon@radel.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B985CB1.4060306>