can't ping localhost

Anton Shterenlikht mexas at bristol.ac.uk
Thu Mar 11 03:04:02 UTC 2010


On Wed, Mar 10, 2010 at 10:00:01PM -0500, Jon Radel wrote:
> 
> > 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.

# netstat -rn|grep 127
127.0.0.1          link#2             UH          0        0    lo0


thank you
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423


More information about the freebsd-questions mailing list