can't ping localhost
kellers at njit.edu
Thu Aug 19 15:48:47 UTC 2010
On 08/19/10 11:02, Matthew Seaman wrote:
> On 19/08/2010 15:21, Tim Kellers wrote:
>> I'm eagerly open to suggestions.
> What does 'ifconfig lo0' say?
> What does 'sockstat | grep :25' say?
> What does 'ls -la /usr/libexec/sendmail/' say?
> What does 'mount | grep /usr' say?
> It sounds as if either:
> * Your loopback interface has lost address 127.0.0.1
> * Some process other than a live sendmail instance has bound to port
> 25 on the loopback.
> * sendmail has somehow lost its setgid-ness
# ifconfig lo0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
(lo0 looks unconfigured to me)
# sockstat | grep :25
root sendmail 7371 3 tcp4 *:25 *:*
root sendmail 7371 5 tcp6 *:25 *:*
(that looks fine to me)
# ls -la /usr/libexec/sendmail/
drwxr-xr-x 2 root wheel 512 Mar 30 21:03 .
drwxr-xr-x 5 root wheel 1536 Mar 30 21:03 ..
-r-xr-sr-x 1 root smmsp 669788 Mar 30 21:03 sendmail
(looks OK to me, too)
# mount | grep /usr
/dev/aacd0s1f on /usr (ufs, local, soft-updates)
(Looks normal to me, too)
More information about the freebsd-questions