From owner-freebsd-questions Mon Aug 26 10:50:55 2002 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 B8BFF37B400 for ; Mon, 26 Aug 2002 10:50:51 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4361E43E72 for ; Mon, 26 Aug 2002 10:50:50 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk ([IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g7QHoe2b005806; Mon, 26 Aug 2002 18:50:40 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g7QHoZWE005805; Mon, 26 Aug 2002 18:50:35 +0100 (BST) Date: Mon, 26 Aug 2002 18:50:35 +0100 From: Matthew Seaman To: Bob Kersten Cc: freebsd-questions@FreeBSD.ORG Subject: Re: errors in daily messages Message-ID: <20020826175035.GA5633@happy-idiot-talk.infracaninophi> References: <002101c24d13$664042c0$2849a8c0@bob> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002101c24d13$664042c0$2849a8c0@bob> User-Agent: Mutt/1.5.1i 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 Mon, Aug 26, 2002 at 05:15:12PM +0200, Bob Kersten wrote: > I'm getting these errors in the message's that I get daily. What > do they mean and how can I solve the error? > > Aug 25 03:31:19 buffy sm-msp-queue[20338]: g7P1VJl2020338: > SYSERR(root): fill_fd: disconnect: fd 1 not open: Bad file descriptor > > Aug 25 03:31:19 buffy sm-msp-queue[20338]: g7P1VJl2020338: > SYSERR(root): fill_fd: disconnect: cannot open /dev/null: Permission > denied It seems that something is wrong with /dev/null on your machine. If that's the case, then you're lucky that only sendmail has shown any ill effects so far. Permissions, ownership, major and minor node number of /dev/null should be: happy-idiot-talk:~:% ls -l /dev/null crw-rw-rw- 1 root wheel 2, 2 Aug 26 15:45 /dev/null If that isn't the case, then you should recreate it: cd /dev ./MAKEDEV std Otherwise, check the permissions on the mail spools: happy-idiot-talk:~:% ls -ld /var/spool/mqueue /var/spool/clientmqueue drwxrwx--- 2 smmsp smmsp 512 Aug 26 12:08 /var/spool/clientmqueue/ drwxr-xr-x 2 root daemon 512 Aug 26 18:44 /var/spool/mqueue/ and verify that you can list out the contents of the mail queue from both of those directories: happy-idiot-talk:~:# mailq -v /var/spool/mqueue is empty Total requests: 0 happy-idiot-talk:~:# mailq -Ac -v /var/spool/clientmqueue is empty Total requests: 0 Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way 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