The logrotate cron job performs actions contained in /etc/logrotate.conf, which in
turn performs the actions of all files contained in the /etc/logrotate.d directory,
including the file /etc/logrotate.d/samba. I think the error is telling you there is
something wrong on line 3 of /etc/logrotate.d/samba.
Here's what my file looks like:
/var/log/samba/log.nmb {
postrotate
/usr/bin/killall -HUP nmbd
endrotate
}
/var/log/samba/log.smb {
postrotate
/usr/bin/killall -HUP smbd
endrotate
}
Hope this helps.
-- Joe
-----Original Message-----
From: Alexander van Luijpen [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, May 12, 1999 12:07 PM
To: [EMAIL PROTECTED]
Subject: error: samba:3 unknown option 'missingok' -- ignoring line
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]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]