From owner-freebsd-questions@FreeBSD.ORG Thu Mar 11 03:04:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E8AE106566C for ; Thu, 11 Mar 2010 03:04:02 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 3BC738FC0A for ; Thu, 11 Mar 2010 03:04:02 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NpYgr-0004lV-EL; Thu, 11 Mar 2010 03:04:01 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1NpYgr-00024c-02; Thu, 11 Mar 2010 03:04:01 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id o2B33uSQ068381; Thu, 11 Mar 2010 03:03:56 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.3/Submit) id o2B33uPj068380; Thu, 11 Mar 2010 03:03:56 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Thu, 11 Mar 2010 03:03:56 +0000 From: Anton Shterenlikht To: Jon Radel Message-ID: <20100311030356.GT30257@mech-cluster241.men.bris.ac.uk> References: <20100311022344.GP30257@mech-cluster241.men.bris.ac.uk> <11167f521003101834u15c8468bq3606b05b1788d967@mail.gmail.com> <20100311024735.GS30257@mech-cluster241.men.bris.ac.uk> <4B985CB1.4060306@radel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B985CB1.4060306@radel.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: can't ping localhost X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2010 03:04:02 -0000 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