can't ping localhost
Tim Kellers
timothyk at wallnet.com
Thu Aug 19 16:19:40 UTC 2010
On 08/19/10 11:51, mikel king wrote:
> Your lo0 only has inet6 addresses, perhaps try binding a v4 address?
>
> Cheers,
> m!
>
> On Aug 19, 2010, at 11:12, Tim Kellers<kellers at njit.edu> wrote:
>
>
>> 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
>>>
>>> or:
>>>
>>> * Some process other than a live sendmail instance has bound to port
>>> 25 on the loopback.
>>>
>>> or:
>>>
>>> * sendmail has somehow lost its setgid-ness
>>>
>>> Cheers,
>>>
>>> Matthew
>>>
>>>
>>>
>> # 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/
>> total 676
>> 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)
>>
>> Thanks
>>
>> Tim Kellers
>>
>>
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>>
>
>
>
Thanks,
Once I saw that lo0 was not configured for ipv4, I did a:
#ifconfig lo0 inet 127.0.0.1 netmask 255.0.0.0
and local mail resolved and was delivered and I can now ping localhost.
I just have to wonder how in heck it got that way.
Thanks all
Tim Kellers
More information about the freebsd-questions
mailing list