Subject: sendmail rebellion
To: None <current-users@netbsd.org>
From: Antti Kantee <pooka@iki.fi>
List: current-users
Date: 04/18/1999 11:25:25
I started getting this:
Apr 18 09:17:58 babylon5 sendmail[192]: NOQUEUE: SYSERR: putoutmsg (NO-HOST): error on output channel sending "451 fill_fd: before readcf: fd 1 not open: Bad file descriptor": Input/output error
Apr 18 09:17:58 babylon5 sendmail[192]: NOQUEUE: SYSERR(root): fill_fd: before readcf: fd 1 not open: Bad file descriptor
Apr 18 09:17:58 babylon5 sendmail[192]: NOQUEUE: 0: fl=0x0, mode=100644: dev=255/0, ino=5, nlink=0, u/gid=0/0, size=912
Apr 18 09:17:58 babylon5 sendmail[192]: NOQUEUE: 3: fl=0x2, mode=140000: SOCK localhost->[[UNIX: /var/run/log]]
Apr 18 09:17:58 babylon5 sendmail[192]: NOQUEUE: SYSERR(root): fill_fd: before readcf: fd 2 not open: Bad file descriptor
Apr 18 09:17:58 babylon5 sendmail[192]: NOQUEUE: 0: fl=0x0, mode=100644: dev=2 55/0, ino=5, nlink=0, u/gid=0/0, size=912
Apr 18 09:17:58 babylon5 sendmail[192]: NOQUEUE: 1: fl=0x1, mode=20666: CHR: d ev=0/0, ino=5957, nlink=1, u/gid=0/0, size=0
Apr 18 09:17:58 babylon5 sendmail[192]: NOQUEUE: 3: fl=0x2, mode=140000: SOCK localhost->[[UNIX: /var/run/log]]
from this (which I snarfed from someones post, and which is run from
/etc/rc.local):
if [ -f /var/log/dmesglog ]; then
echo -n 'checking system bootlog:'
mv -f /var/log/dmesglog.3 /var/log/dmesglog.4
mv -f /var/log/dmesglog.2 /var/log/dmesglog.3
mv -f /var/log/dmesglog.1 /var/log/dmesglog.2
mv -f /var/log/dmesglog.0 /var/log/dmesglog.1
mv -f /var/log/dmesglog /var/log/dmesglog.0
dmesg | tail -r | sed /^NetBSD/q | tail -r > /var/log/dmesglog
rm -f /tmp/diff.$$
diff -bc /var/log/dmesglog.0 /var/log/dmesglog > /tmp/diff.$$
if [ -s /tmp/diff.$$ ]; then
cat /tmp/diff.$$ | mail -s "system bootlog changed" root
echo ' changed.'
else
echo ' no change.'
fi
rm -f /tmp/diff.$$
fi
I remember seeing some words of a change with fd's on source-changes
right before this started happening. sendmail works normally after the
system is fully up, though.
The box is a NetBSD/i386 1.4_ALPHA, ideas?
--
"Never underestimate the power of the Lite side of the \Source/"
Antti Kantee / NetBSD \ Citius, Altius, \ / o
<pooka@iki.fi> / http://www.netbsd.org \ Levytys \ / |
______________/ Free Multiplatform UN*X \___________________\/__ |