Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2002 18:50:35 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Bob Kersten <bob_list@fellownet.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: errors in daily messages
Message-ID:  <20020826175035.GA5633@happy-idiot-talk.infracaninophi>
In-Reply-To: <002101c24d13$664042c0$2849a8c0@bob>
References:  <002101c24d13$664042c0$2849a8c0@bob>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020826175035.GA5633>