[10063] in Athena Bugs
Problem syslogging on decstations?
daemon@ATHENA.MIT.EDU (dethomas@Athena.MIT.EDU)
Fri Nov 6 10:44:32 1992
From: dethomas@Athena.MIT.EDU
To: bugs@Athena.MIT.EDU
Date: Fri, 06 Nov 92 10:44:22 EST
Grep'ing thru the syslog on momoney,
Oct 30 03:11:16 momoney elcsd:stream socket connect error (null);
Oct 30 03:11:17 momoney elcsd:can't log remotely! (null);
Oct 31 03:11:16 momoney elcsd:stream socket connect error (null);
Oct 31 03:11:16 momoney elcsd:can't log remotely! (null);
Nov 3 03:11:16 momoney elcsd:stream socket connect error (null);
Nov 3 03:11:16 momoney elcsd:can't log remotely! (null);
Nov 5 03:11:17 momoney elcsd:stream socket connect error (null);
Nov 5 03:11:17 momoney elcsd:can't log remotely! (null);
Nov 6 03:11:16 momoney elcsd:stream socket connect error (null);
Nov 6 03:11:16 momoney elcsd:can't log remotely! (null);
Same error most everyday at the same time. Other users have reported
this error on thier console (at 3:11 am).
***/etc/crontab***
10 3 * * * /etc/athena/newsyserr
*** /etc/athena/newsyserr ***
#!/bin/sh -
PATH=/bin:/etc
export PATH
cd /usr/adm/syserr
n=syserr.`/bin/hostname`
if [ ! -s ${n} ]; then
exit 0
fi
rm -f ${n}.7
mv -f ${n}.6 ${n}.7
mv -f ${n}.5 ${n}.6
mv -f ${n}.4 ${n}.5
mv -f ${n}.3 ${n}.4
mv -f ${n}.2 ${n}.3
mv -f ${n}.1 ${n}.2
mv -f ${n}.0 ${n}.1
mv -f ${n} ${n}.0
eli -r
Seems to work (I tried it).. Hmmm....
Drea Thomas
Athena Consultant