Date: Thu, 19 Aug 2010 12:19:32 -0400 From: Tim Kellers <timothyk@wallnet.com> To: mikel king <mikel.king@olivent.com> Cc: "questions@freebsd.org" <questions@freebsd.org>, Tim Kellers <kellers@njit.edu> Subject: Re: can't ping localhost Message-ID: <4C6D5994.8030708@wallnet.com> In-Reply-To: <171315B0-DDBC-4E55-9E34-5EFE05081045@olivent.com> References: <4C6D3E04.5060009@wallnet.com> <4C6D479E.9010706@infracaninophile.co.uk> <4C6D49F1.5040909@njit.edu> <171315B0-DDBC-4E55-9E34-5EFE05081045@olivent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C6D5994.8030708>