Hi people,

for a while now, my root mailbox has been flooded with the following
message. Well.... not actually flooded, but the message is generated every
day.

I have examined /etc/cron.daily/ and I have four files: logrotate,
tetex.cron, tmpwatch (not executable) and updatedb.cron (See below).
/etc/crontab is also listed below.

I am currently running RHL5.1, with a 2.2.5 kernel and samba 2.0.3

I have been unable to find anything which might cause this message to be
send every night at 4:02. Of course, nothing noticably happens except for
the message which is getting a tad irritating.
/usr/bin/testparm does not yield any obvious problems either.

If anyone has any suggestions to what may be wrong, please respond. If you
want more information (e.g. /etc/smb.conf or something, please ask).

Regards,

Alex van Luijpen
[EMAIL PROTECTED]


---------- Forwarded message ----------
Date: Sun, 9 May 1999 04:02:00 +0200
From: Cron Daemon <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Cron <root@Ganymedes> run-parts /etc/cron.daily

error: samba:3 unknown option 'missingok' -- ignoring line



---------- Cron Jobs ----------
[logrotate]
#!/bin/sh

/usr/sbin/logrotate /etc/logrotate.conf


[tetex.cron]
#!/bin/bash
# Remove and TeX fonts not used in 10 days
/usr/sbin/tmpwatch 240 /var/lib/texmf/fonts /var/lib/texmf/texfonts
exit 0


[tmpwatch]
/usr/sbin/tmpwatch 240 /tmp /var/tmp /var/catman/cat?

[updatedb.cron]
#!/bin/bash

umask=022

die ()
{
  echo "$*" 1>&2
  exit 1
}

cd /

TMPFILE=`/bin/mktemp /tmp/locatedb.XXXXXX` || {
  echo "could not create tempfile" >&2 ; exit 1
}
chown nobody.nobody $TMPFILE
su nobody -c
"/usr/bin/updatedb --output=$TMPFILE --localpaths='/' --prunepaths='/tmp
/var/tmp /usr/tmp /afs /net' --netpaths='' 2>/dev/null"
if [ -f $TMPFILE.n ] ; then
 SFILE=$TMPFILE.n
else
 SFILE=$TMPFILE
fi
mv $SFILE /var/lib/locatedb || \
  die "$0: could not create /var/lib/locatedb"
chown root.root /var/lib/locatedb || \
  die "$0: could not change ownership of /var/lib/locatedb"
rm -rf $TMPFILE $TMPFILE.n

exit 0

[/etc/crontab]
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly



-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to