can't ping localhost

Jon Radel jon at radel.com
Thu Mar 11 03:00:21 UTC 2010


> 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 at radel.com



More information about the freebsd-questions mailing list