From owner-freebsd-questions Sun Mar 9 14:11: 8 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB5A937B401 for ; Sun, 9 Mar 2003 14:11:06 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id A172A43FA3 for ; Sun, 9 Mar 2003 14:11:05 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) by smtp.infracaninophile.co.uk (8.12.8/8.12.8) with ESMTP id h29MB0J6084976; Sun, 9 Mar 2003 22:11:00 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.8/8.12.8/Submit) id h29MAx3o084975; Sun, 9 Mar 2003 22:10:59 GMT Date: Sun, 9 Mar 2003 22:10:59 +0000 From: Matthew Seaman To: "Michael A. Alestock" Cc: questions@FreeBSD.ORG Subject: Re: Sendmail Error Message-ID: <20030309221059.GB84425@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , "Michael A. Alestock" , questions@FreeBSD.ORG References: <200303091340.48977.ma.alestock@verizon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200303091340.48977.ma.alestock@verizon.net> User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-32.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 09, 2003 at 01:40:48PM -0800, Michael A. Alestock wrote: > To Whom It May Concern: > > Can you please tell me what this error means: > > mail: /usr/sbin/sendmail: Exec format error > > I get this error when trying to send mail (internally to other users on my > host). I think the error might have to do with the recent patch I tried > appying to my FreeBSD v4.7 system. Although I didn't install the patch > correctly (because of a "file not found" error), I think it has something to > do with it. Sendmail was working fine before I tried applying the patch. > > I looked on the Sendmail.org website for a FAQ on this error but was > unsuccessful. Do you known where I could find info/resolution to this > problem (error)? Much help would be greatly appreciated....THANKS! It seems that you've managed to corrupt /usr/sbin/sendmail. Or quite likely /usr/sbin/mailwrapper, to which /usr/sbin/sendmail is a symbolic link by default. What's the output of: % file /usr/sbin/sendmail % file /usr/sbin/mailwrapper 'Exec format error' isn't specifically a sendmail error. That's the OS telling you that you've tried to run a file which isn't a binary executable. Easiest way to recover your system is to go through a buildworld/installworld cycle: if you upgrade to the latest 4-STABLE or 4.7-RELEASE-pX system you'll get a fixed version of sendmail automatically. See these sections of the handbook for instructions: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html Cheers Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message